on click of button at server side i need to show rad window pop up

2 posts, 0 answers
  1. Akki
    Akki avatar
    79 posts
    Member since:
    Nov 2011

    Posted 26 Apr 2012 Link to this post

    Hi,

       I am using user control contains rad grid and which is placed in rad window <ContentTemplate> and i have asp button on click of button at server side i need to show rad window pop up and which should contain the user control inside it..and after selecting the row from user control i need to close the pop up...how can i do it...

    the code is follows.
    <asp:Button ID="btnRole" LabelNumber="BTSA10001" runat="server" OnClick="btnRole_Click" />

     <telerik:radwindow id="rwCodeLabelWindow" runat="server" skin="Office2007" behaviors="Close"
            modal="true" height="550px" width="800px" title="Code and Label">
             <ContentTemplate>
            <uc:CodeLabelPopUp ID="ucCodeLabelPopUp" runat="server" />
            </ContentTemplate>
        </telerik:radwindow>


    Please let me know.
  2. rdmptn
    rdmptn avatar
    72 posts
    Member since:
    Aug 2011

    Posted 26 Apr 2012 Link to this post

    Have you taken a look at this sticky thread: http://www.telerik.com/community/forums/aspnet-ajax/window/opening-radwindow-from-the-server.aspx? The logic is the same for both opening and closing - call a JavaScript function from the server that will do the job.
Back to Top