Add a checkbox.
Set the autopostback = true
create the checkedchange event handeler.
Here is some info from MS help:
Create an event handler for the control's CheckedChanged event.
By default, the CheckedChanged event does not immediately cause the page to be posted to the server. Instead, the event is raised in server code the next time the form is posted. To have the CheckedChanged event cause an immediate posting, set the CheckBox control's AutoPostBack property to true.
I assume the text box your referencing is an ASP.NET control? (as opposed to a normal HTML tag) When you use a master page the ID of all controls in the child page will be changed. This happens with any control that implements INamingContainer (DataGrids etc.). So your reference to window.form.txtSomeTextBox won't return anything becuase no form input with that ID/name exists (it will be something like ct100_ContentPlaceholder1_txtSomeTextBox).
When I want to view the webpage that I have developed from the other system; I used the url specifying the system name to point out the project while using ASP.Net 1.1; whereas when I used in ASP.Net 2.0 specifying the same as ASP.Net 1.1, it gives a Runtime Error . Can anyone help to solve this problem
What is the URL you are requesting, what server is it running on (IIS or the VS built in server), what is the runtime error message? It doesn't matter how bold you make the error type it won't explain any more.....
I have a problem that I have no idea how to solve. I have a website where customers can log into. If they are logged in they can download setup.exe and install a program. The problem is that they can then copy the setup.exe and install the program on another computer.
The program that setup installs is small so what I want to do is to have the user install the program directly from the server instead of downloading the setup. The user logs in, clicks on "Install" and then a dialog appears where the user can choose to approve or decline the installation. If she approves, the program is installed in Program files on her computer. Now how on earth do I accomplish this?
Please give me all kinds of information on how to accomplish this, tutorial links would be neat as well.
The ASP.NET validators will only fire when the user submits the form, not when a field is focused/unfocused. I assume thats what you mean? If you mean the validation is not firing at all client side, only on a postback, you may have the validators client side check property set to false (can't remember the name, it should be pretty obvious). Remember users can ALWAYS disable client side script, theres no way for you to 100% guarantee its enabled so always use the server-side validators as well.
I've got about 200 web pages that I'm sorting out. I'd love to find a thumbnailer kind of how in windows you can "View as thumbnail" I'm wondering if there is any Windows add-on/extension that will render a thumbnail image of an aspx page for you... except do it for about 200 of them.
I know I'm probably looking for something on the same level as the fountain of youth or a .net version of code project but maybe not so it's worth asking.
My name is Maximus Decimus Meridius, Commander of the Armies of the North, General of the Felix Legions, loyal servant to the true emperor, Marcus Aurelius. Father to a murdered process, husband to a murdered thread. And I will have my affinity, in this life or the next. - Gladiator. (Okay, not quite Gladiator but close.)
I work to live. I do not live to work. My clients do not seem capable of grasping this fact.
-- moved at 2:47 Wednesday 28th March, 2007
Last Visit: 31-Dec-99 19:00 Last Update: 4-Feb-23 21:02