This is a migrated thread and some comments may be shown as answers.

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

1 Answer 301 Views
Window
This is a migrated thread and some comments may be shown as answers.
Akki
Top achievements
Rank 1
Akki asked on 26 Apr 2012, 07:24 AM
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.

1 Answer, 1 is accepted

Sort by
0
rdmptn
Top achievements
Rank 1
answered on 26 Apr 2012, 09:09 AM
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.
Tags
Window
Asked by
Akki
Top achievements
Rank 1
Answers by
rdmptn
Top achievements
Rank 1
Share this question
or