Change hidden field value on client side, then retrieve on serverside
Have anybody eventualy did that? This is a nice feature when the web form highlights it's input fields and/or lables for that fields if they are not validated (client-side). Unfortunatly, there is no such build-in functionality in ASP.NET 2.0 validation controls. But i'm quite sure that's it's possible to make on your own, what do you think?Perhaps an additional js script shoud be added on the buttom of the page which will redefine one or more functions of original js code.Any comments, thoughts, suggestions?My LinkedIn Profile - ASP.NET C# Ninja | My News Feeds
Turned out that it's quite ...Passing client side to server side using hidden field
e.x. string labelText = label1.Text;
When using input controls (textbox, select etc) then it's definitely possible. But when using labels (which will be rendered as <span> tags) then I'm not sure they ...Sending array data with hidden input field from client side to server side
Client codevar values = '&approved=1&funded=0&winprob=2';
document.form1.ipHidden.value = values.toString();
Server codeDim strValues As String = ipHidden.Value.ToString()
Dim strApproved = strValues.Substring(strValues.IndexOf("approved=") + 9, 1)Dim st...How to show "Save changes?" warning after client-side changes in a web-application?
We have a complex web application with a main-menu and sub-menu of tab folders; each tab-folder shows a different screen.
Suppose the user selected tab folder A, got the A screen and changed a number in a textbox.
Now the user clicks the tab folder B and instead of geting the B screen, the user should get a warning "Save your changes?"On "yes" - save the changes in the A screen and show B, on "no" - discard the A changes and show B.
How to do this?
Persist the values in the TAB A in a variable(say X), depending on yo...How to Access/Pass Server Side Array Variable at Another Web Form's Client Side
Dont do a redirect but use server.transfer. That way the previous page will still hold its value, ...Submitting Web forms fields to sql database by clicking on SUBMIT FORM and sending the form fields to email box
I have a created or designed a form to be stored in a SQL database table and at the same time when a user clicks on SUBMIT button the form fields will automatically goto the visitor email address immediately.
Also i have created a database with tables for each of this forms
Pls help i have over 10 forms designed but the problem of submitting them to the table database and the user email address is the challenge now....
You ned to familiarise yourself with the basics of database access in ASP.NET. There are free tutuorials here: http://quickstarts.asp.net/QuickStartv20/aspnet/doc/da...How to persist client-side changes to a listbox?
I have a listbox to which items are added from the client side. How would I persist these changes so that they are available on server side code?sun21170...Changing client side cookies in .NET
I have tried every permutation of Cookies.Add, Cookies.Set, Cookies.Remove using both the response and request objects.
I can debug the code and see ...detecting changes in the fields of a web form
Is there any easy way to detect if there have been changes to a web form's fields. I want to provide the user with an option to save if the fields have changed and don't want to write the checks myself since there are so many of them.
thanks in advance,
Maybe there is something in IE 6 that I don't know about, but when I did this, I had to write several functions to support an isPageDirty routine. Each page element had to be hooked up to a function that fired on the appropriate event.Richard
ok, I solved this problem in a way which is not very intrusive. I'm posting my solut...Implementing .Net Form into an APS.net web form, can this be done
I am new here, but have been searching for a while, and may not have the correct lingo to find what I am looking for.
I am tasked with implementing a .exe application that was writen vb6 then converted to .net into a new website my team is developing. The idea is to put each of the 3 different forms in this .exe application of 3 different .aspx pages. I have attempted multiple things to get this into the page and even started to just rewrite it as an ASP.net web form, but even then I can't reuse any of the code since the System.Web.UI.Page doesn't inherit the sa...Open web page in IE and populate fields on the form from my web form
To the dot net Knights. Many humble thanks in advance from a dot net surf. We have an vb application that opens multiple instances of IE object, each to different web pages. It then takes information from the current record in the app, populates fields on each of the web pages, and them submits the forms. We are then able to look at the resulting web pages and quickly get the info we're looking for.This prevents us from having to manually navigate to each web site, enter the same information and then wait for the page to open. If there is ...Persist Client Side Control Property Change