Popup problem
Hi!
I am using Visual Studio.NET 2003 (C#) .
I have a page (say parent page) which has a button(Button1). When the user clicks on
'Button1', a popup screen(child page1) pops up. This child page has a lot of controls. When
the user clicks on one of the buttons on this child page , the childpage1 closes and the
values entered in child page are displayed on the parentpage controls. I have implemented
this using showModalDialog() , __doPostBack() (for the button Button1) and
Page.GetPostBackEventReference(Button1 ,string.Empty).
The part mentioned above is working absolutely fine.
Now, on the same parent page, I have one more button (Button2), which when clicked also
opens another pop up page(child page2). In this child page2, I have drop downlist & listbox.
The dropdownlist has autopostback (= true) which fills up the listbox.
My problem is that, it doesn't fill up the listbox. I have run the debugger within the
code-behind , and found that , the items get filled in the listbox but it never shows on
the screen.
I have implemented this page also with the above mentioned method. I don't understand what
the reason is.
Can anybody please suggest.
Thanks and regards,
ap.
|