I understand your problem, to overcome this I wrote a javascript
querystring* handler.
I lets you add/read/remove item from a url like this.
www.example.com/#item1=value&item2=value

var qs = new YourNameSpace.Querystring();

qs.GetQueryString("item1");
qs.SetQueryString("item3", "value");

etc...

When a value is changed in your selectbox you have to change the
querystring with the above function.  Before you submit your form you
have to copy the querystring (GetCompleteQueryString) and paste it
after the action of the form.

<form id="form1" action="default.aspx">
Window.document.getElementById("form").action += "#" +
qs.GetCompleteQueryString()

When your page loads, you have to check your querystring. If it's
filled, fill your selectbox with it.

*you can download it here:
http://www.ydis.nl/ydis/Files/rogier/querystring.txt


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---

Reply via email to