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
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