Saturday, February 6, 2010

I want to use the cascading drop down list ajax control for asp.net to create a cascading drop down selector?

but in order to do this I need to populate the drop downs with output from a year/month/day algorithm instead of using an xml file as the datasource like in the example on www.asp.net under the learn videos. Does anyone have a link to an example of this?I want to use the cascading drop down list ajax control for asp.net to create a cascading drop down selector?
I don't know of a link example, but loading a drop down list is pretty straight-forward.





Whatever the algorithm produces for 'year'..loop through it and use ddlYear.addItem(item to be added)


Same for whatever it produces for month and day.


ddlMonth.addItem(item to be added)


ddlDay.addItem(item to be added)





hope that helps

No comments:

Post a Comment