Hi All,
I was trying to implement the callback functionality to dynamically populate
a second dropdown based on the value of the first 1 .....a very simple task
but all my tries failed.
I have the first dropdown populated from a table for countries and second
dropdown again populated by a table for states in that country. I have them
both populated during the page load based on the default values.
Now i want the state dropdown to reload with new values from the table based
on the country when the country is changed through a callback rather than a
postback. I tried to manipulate the msdn code but wasn;t successfull.
Note:
->i am trying to implement it on page based on a master page.
->am using vb.net in vs2005
Also before trying this i used the sample code provided by microsoft (
http://msdn2.microsoft.com/en-us/lib...09(VS.80).aspx ) and tested
it on a new page and it worked fine as described however when i copied the
same code over to a page which was based on a master page it was giving me a
javascript error saying "ReceiveServerData is undefined"(javascript function
to receive the result back from server).
Can some one please provide me with proper guidance/code to get this
accomplished(even on a page based on a master page)? Am trying to implement
callback for the first time.
Thanks