Click here to Skip to main content
15,910,981 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends...

In my application there is one link .
when i click it opens popup(a div)
means the display property is changed to block ..ok div appears fine but my problem is

div contains dropdowns and textboxes on firing the selectedindexchanged event agian the div is invisible now

plz help me
Posted

Hi,

One more thing you can try is add all the content of the popup div inside an update panel. Like below-

XML
<div id="yourPopupDivId">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:DropDownList ID="DropDownList1" runat="server">
            </asp:DropDownList>
        </ContentTemplate>
    </asp:UpdatePanel>
</div>
 
Share this answer
 
Comments
RaviRanjanKr 16-Sep-11 5:03am    
My 5+
in the selected index changed change the div display to block
 
Share this answer
 
Comments
hitech_s 16-Sep-11 4:48am    
i did it but the problem is div looks like shaking..
U can use modal popup of ajax control tool kit
 
Share this answer
 
Comments
hitech_s 17-Sep-11 9:39am    
yes we can but it opens another window on clicking button in that modal popup .

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900