2 posts, 0 answers
  1. hamid
    hamid avatar
    2 posts
    Member since:
    Nov 2014

    Posted 03 Nov 2014 Link to this post

    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 asp.net 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
  2. Marin Bratanov
    Marin Bratanov avatar
    3907 posts

    Posted 03 Nov 2014 Link to this post


    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: http://www.telerik.com/help/aspnet-ajax/window-ajaxifying.html.


    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.

Back to Top