- Joined
- Oct 11, 2006
- Messages
- 2
- Reaction score
- 0
Hi,
I have a payment and shipping information entry page in my application that
has two sets of address fields. I have a radio button the users can set if
the addresses are the same. That radio button does an auto postback which
triggers an event to disable the second set of fields and fill in values.
The client likes the way the page works, but not the performance.
Now, i do not want to use AutoPostBack as the page refreshes everytime and is annoying. How can i implement this with javascript and using REgisterClientScriptBlock. WHere do i call REgisterClientSCriptBlock and what do i need to pass in it? How do i access the text boxes from the javascript.
Sample code is appreciated.
Thanks,
I have a payment and shipping information entry page in my application that
has two sets of address fields. I have a radio button the users can set if
the addresses are the same. That radio button does an auto postback which
triggers an event to disable the second set of fields and fill in values.
The client likes the way the page works, but not the performance.
Now, i do not want to use AutoPostBack as the page refreshes everytime and is annoying. How can i implement this with javascript and using REgisterClientScriptBlock. WHere do i call REgisterClientSCriptBlock and what do i need to pass in it? How do i access the text boxes from the javascript.
Sample code is appreciated.
Thanks,