G
Guest
Hi,
I have been toying around with this for a day now. Has anyone else tried it?
Two questions:
1: How do you pass a paramater to the server side event, e.g. if you wanted
to pass a selected value from a dropdownlist to the server side event? I cant
see a way of doing it. I have ended up just returning a big dataset to the
client javascript and filtering it there. I'd rather pass in a variable to
the server side code and only return the records I need.
2: I have used AJAX.Net to dynamically populate a dropdownlist without
postback based on what the user selects from another dropdownlist, works very
well, but when I do a postback afterwards the values added to the
dropdownlist are not "visible" to the server side code. This makes sense as
the changes were made on the client. How can I work around this? And does the
Client CallBack feature in ASP.Net 2.0 make this easier?
Thanks
N
I have been toying around with this for a day now. Has anyone else tried it?
Two questions:
1: How do you pass a paramater to the server side event, e.g. if you wanted
to pass a selected value from a dropdownlist to the server side event? I cant
see a way of doing it. I have ended up just returning a big dataset to the
client javascript and filtering it there. I'd rather pass in a variable to
the server side code and only return the records I need.
2: I have used AJAX.Net to dynamically populate a dropdownlist without
postback based on what the user selects from another dropdownlist, works very
well, but when I do a postback afterwards the values added to the
dropdownlist are not "visible" to the server side code. This makes sense as
the changes were made on the client. How can I work around this? And does the
Client CallBack feature in ASP.Net 2.0 make this easier?
Thanks
N