0 Replies - 593 Views - Last Post: 11 October 2016 - 12:09 AM

#1 hrcko  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 11-October 16

Popup windows

Posted 11 October 2016 - 12:09 AM

I'm using this code to call popup window. The problem is that popup shows only once.
Where is the problem:

<asp:Panel ID="usersRole" runat="server" CssClass="modalPopup" style = "display:none" Width ="700px" Height ="600px">
                        <asp:UpdatePanel ID="upRole" runat ="server">
                               <ContentTemplate>       
                               <asp:DropDownList ID="ddlUsers" runat="server"></asp:DropDownList>             

                                  <br /><br />
                                              
                 <asp:Button ID="btnSpremi" runat="server" CssClass ="button" Text="SPREMI" onclick = "Spremi"/>
                 <asp:Button ID="Button3" runat="server" CssClass ="button" Text="ODUSTANI" OnClientClick = "return Hidepopup()"/>                      
            
          </ContentTemplate>
          <Triggers>
                  <asp:AsyncPostBackTrigger ControlID = "btnSpremi" />
          </Triggers>                                            
       </asp:UpdatePanel>  
  </asp:Panel>                  
                 
          <asp:LinkButton id="lnkFake" runat="server" />
          <ajax:ModalPopupExtender ID="popupUsersRole" runat="server" DropShadow="false" PopupControlID="usersRole" 
                   TargetControlID ="lnkFake" BackgroundCssClass="modalBackground">
          </ajax:ModalPopupExtender> 

This post has been edited by Atli: 11 October 2016 - 03:23 AM
Reason for edit:: Fixed the [code]...[/code] tags.


Is This A Good Question/Topic? 0
  • +

Page 1 of 1