E
Evan M.
I'm working on an ASP.NET 2.0 web page right now (using C#), and am
trying to figure out how I can conditionally disable a drop down linst
on the page if the datasource that it is bound to has no items.
I tried in the Page_Load event checking how many items are in the list
(ddl.Items.Count), but that always returned 0, meaning that it was
firing the event before the SqlDataSource that is on the page is
returning its list.
Any suggestions?
Thanks
trying to figure out how I can conditionally disable a drop down linst
on the page if the datasource that it is bound to has no items.
I tried in the Page_Load event checking how many items are in the list
(ddl.Items.Count), but that always returned 0, meaning that it was
firing the event before the SqlDataSource that is on the page is
returning its list.
Any suggestions?
Thanks