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


1 Answer 41 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
hamid asked on 03 Nov 2014, 12:40 PM
Hello Guys...
I have Question About Radwindow.
I created a Radwindow and I create few Control like textbox and button box .
I want,when i clicked The button COntent of textbox or what ever there Send to the server 
For Example :
On Radwindow:
       <asp:TextBox ID="txt1" runat="server" />  
                        <asp:TextBox ID="txt2" runat="server" />  
                        <asp:TextBox runat="server" ID="txtresult" />
                        <asp:Button Text="click" ID="BtnClick" runat="server" />

     <telerik:RadCodeBlock runat="server" ID="rdbScripts">
         <script type="text/javascript">

                  function togglePopupModality() {
                  var wnd = $find("<%=modalPopup.ClientID %>");
                  if (!wnd.get_modal()) document.documentElement.focus();
              function showDialogInitially() {
                  var wnd = $find("<%=modalPopup.ClientID %>");

on Server Side(code behind)
    protected void BtnClick_Click(object sender, EventArgs e)
        LblResult.Text = txt1.Text + txt2.Text;

When I clicked the Button There is nothing To show.

How can i Do that >?
please help

1 Answer, 1 is accepted

Sort by
Marin Bratanov
Telerik team
answered on 03 Nov 2014, 02:57 PM


In order for the server-side event to fire, you must instruct ASP that it has to fire it:

<asp:Button Text="click" ID="BtnClick" runat="server" OnClick="BtnClick_Click" />

I also advise that you examine this article on using RadWindow with AJAX:


Marin Bratanov

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

General Discussions
Asked by
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question