Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Populate ListBox within Panel

Status
Not open for further replies.

e11esar

Programmer
Aug 1, 2003
4
GB
Hi there.

Within my ASP.Net (C#) page I have a Panel which contains besides other controls, a ListBox.

This Panel is invoked by a ModalPopupExtender and when it is invoked, I'd like to populate the ListBox from an external web method. At the moment I have the Panel OnLoad calling a method which returns a DataSet that populates the ListBox, but at the moment this event runs during the Web Page Load and I was hoping this would only load when the Panel was loaded - if that makes sense..?

Hence what I am after is how to populate the ListBox within the ModalPopup's Panel control? Any help please as this one has me going in bit of a circle.

Thank you.

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top