form

ASP.net form Double Entry

I have a form that I need the user to be able to type something in a textbox, after they tab out have them enter in the same value in another textbox in proximity to it to assure they entered it in correctly. After that the second textbox is to disappear and they will continue to the next field without ever having a postback. Anyone hav...

Creating form dynamically in flex from xml file

I am having an XML something like this http://image.jpg 102.49999999999999% 97.5% 0% 0% 0s 15 http:audio.mp3 0s ...

Rendering form on the fly from XML in flex

Hi, I have an xml code something like this <root> <render> <head> <transition id="fadeIn" type="fade" subtype="" dur="3s"/> <transition id="fadeOut" type="fade" subtype="" dur="3s"/> <layout> <root-layout width="480px" height="360px" backgroundColor="0"/> <region id="rootRegion" dur="15s"> <region id="background" soundLevel="10...

http client authentication c#

Hi, I am a systems guy and currently doing a part time web development project so am pretty new to it. I am trying to write a http client for www.portapower.com . Basically what it will do is check for certain items which are posted on the website and if they match a particular requirement it will print a message. While trying to access...

Problem with Javascript and form duplication

Hello. I have a HTML code that goes something like this: < tr id="500" > < form id="500" onsubmit="DoThis()"> < td>Info< /td> etc... etc... < td>Info< /td> < /form> < /tr> What i am trying to do in Javascript is to make a copy of the element and add it to parent table: var TrElement = document.getElementById("500") v...

How do I redirect to a html page and pass variables to that page in Java?

Hello all, I have a form on my index.html page which makes a POST request to a Java Servlet. This servlet does some processing and I would like to redirect back to index.html with some variables that the servlet has produced. In PHP, it would be as simple as: header("Location: index.html?var1=a&var2=b"); How can I acheive the same w...

How to submit form data use jquery form in asp.net ?

i want to get the response value,but there is not response when i click the button; why don't submit the form in asp.net????? my code: <script type="text/javascript"> $(document).ready(function() { var options = { target: '#htmlTarget', dataType : 'json', url : 'Response.aspx', ...

How to determine if a textbox in a windows form has focus

Hello, Let's say I have internet explorer embedded in a windows form and I then navigate to a random page on the web. How can I determine when a textbox (or any other control that can accept text input for that matter) becomes the item in focus? Basically, every time the mouse is clicked I can check to see if the item in focus is a te...

Subclass of subclass of Form shows up empty

I am writing an application where I have indeterminate amount of Forms that require a certain popup-functionality (similar to MSN, a little window at the bottom right of the screen). I wrote the first form, then thought that I could copy the file to make a new one. So far so good. A bit later I realized that I could have subclassed Form,...

Form designs for displaying content in labels

I see a ton of designs for forms that include form fields, but I can't find good examples of displaying labels in a form. Does anyone have good layouts for forms that show information instead of gathering it? I've got a form that shows a user profile with several fields and I'd like to spread it across the horizontal area. ...

Displaying information with fields and values: ListView, GridView, FormView???

I just want to show some data for a user (name, email, address, identifier, entry date) on an asp.net page. Which ASP.NET control would be the most suited for this? ...

Prevent Back button from showing POST confirmation alert

I have an application that supplies long list of parameters to a web page, so I have to use POST instead of GET. The problem is that when page gets displayed and user clicks the Back button, Firefox shows up a warning: To display this page, Firefox must send information that will repeat any action (such as a search or order confirma...

Make an options form in Delphi

I want my Form1 to have a Options button that opens up Form2. In Form2, there will be 3 Radio buttons. When a radio button is pushed, I need one of my procedures to check using: if (RadioButton1.Pushed) then begin for it to continue with one portion of the code, or if Radiobutton2 is pushed, a different portion, and so on. The thing i...

How can I build a list of days, months, years from a calendar object in Java?

I want to build a date widget for a form, which has a select list of months, days, years. since the list is different based on the month and year, i cant hard code it to 31 days. (e.g february has 28 days not 30 or 31 and some years even 29 days) How can I use the calendar or joda object to build me these lists. ...

Compact-Framework: Minimise and restore isn't working

I've written an application with the following in the Program.cs: rsCursor.Wait(); // Load the settings rsAppConfig.LoadConfig("iVirtualDocket.exe.config"); fSplash splash = new fSplash(IvdConfig.VERSION); splash.Initialise(); DialogResult result = splash.ShowDialog(); rsCursor....

MVC - Passing Data with RedirectToAction()

What I'm attempting to do is take the data entered into an MVC user form and submit it back to the user in a different view. I have a private variabled declared in the class: IList<string> _pagecontent = new List<string>(); Here is my action that accepts the FormCollection object, validates it, and tries to pass it on to the "Previ...

How to validate data input on a sharepoint form?

How does one verify a text field with another list's column? I am currently populating a Drop down list with a datasource and then comparing the text field with items in the dropdown using javascript. Is there a better way? The second problem I am having is how to trigger the Validate Function. I am aware of two custom forms for addin...

name of form input causes errors.

I have never seen this, have no idea what is going on: <form action="/cgi-bin/Lib.exe" method=POST name="slider" ID="Form2"> <input type="text" name="user" value="" ID="Text1"> <input type="text" name="end" value="" ID="Text2"> </form> function setval() { alert(s.getValue()); alert(s2.getValue()); document.slider.user.va...

Opening a form in C# without focus

I am creating some always-on-top toasts as forms and when I open them I'd like them not to take away focus from other forms as they open. How can I do this? Thanks ...

Efficient way to determine whether query will return "too many records" in SQL Server

I've got a search form that could potentially return thousands of records; I'd like to show a message if the query returns more than 500 or so and make the user refine the search to get fewer results. Am I stuck with doing a Select Count before running the actual query? What's the best practice here? ...