Jorge Paulino
asked on
Refresh without using autopostback
Hi everybody,
I want to do something's in my web page (ASP/VB2005) without autopostback and without using AJAX.
1 When selecting the checkbox collect a value from an array and show it.
2 After leaving the textbox show the value in an specify format in a label (like the validation controls do!)
I know how to do everything expect firing the events. I can do it setting the autopostback to true but that reloads the page.
Thanks
jpaulino
I want to do something's in my web page (ASP/VB2005) without autopostback and without using AJAX.
1 When selecting the checkbox collect a value from an array and show it.
2 After leaving the textbox show the value in an specify format in a label (like the validation controls do!)
I know how to do everything expect firing the events. I can do it setting the autopostback to true but that reloads the page.
Thanks
jpaulino
^That's for Page-Exit. You can use it for Page-Enter, Site-Enter, etc..
<meta http-equiv="Page-Enter"
content="progid:DXImageTra nsform.Mic rosoft.Fad e(duration =.5)" />
<meta http-equiv="Page-Enter"
content="progid:DXImageTra
ASKER
I will look that, but how can I do that, call a function (that will loop throu the control and get a number) and then show it on a label.
Like validation controls !
Like validation controls !
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You will need to write some javascript, something along the lines of
document.getElementById("t extboxID") = formatted string
attached to the onchange event of the select control
document.getElementById("t
attached to the onchange event of the select control
ASKER
Sorry for the delay of my answer.
What I want (and maybe I was not clear enough) is to perform actions without open the page again, like validation controls. The validation controls shows the result after you leave the textbox.
I have 12 checkboxes for the 12 months of the year and each month has one value (ex. 15). What I want is to show to the user the total value (sum) of the checked checkboxes before he save it.
Hope its clear know!
Thanks for the help so far &
What I want (and maybe I was not clear enough) is to perform actions without open the page again, like validation controls. The validation controls shows the result after you leave the textbox.
I have 12 checkboxes for the 12 months of the year and each month has one value (ex. 15). What I want is to show to the user the total value (sum) of the checked checkboxes before he save it.
Hope its clear know!
Thanks for the help so far &
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
<meta http-equiv="Page-Exit"
content="progid:DXImageTra
http://www.nikhilk.net/PageTransitions.aspx