Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Window > content not showing in radwindow

Answered content not showing in radwindow

Feed from this thread
  • Toad avatar

    Posted on Feb 9, 2012 (permalink)

    i am using radwindow in user control which should open on click of button, if i use opernerElementID it does not open, if i use javascript
    it does not show the controls which are to be inside rad window here is code

    <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="GridColumnSelector.ascx.cs" Inherits="GCSTestApplication.Controls.GridColumnSelector" %>
    <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
    <script type="text/javascript">
        function showWin() {
     
            var rwManager = $find("<%= rWindow.ClientID %>");
            rwManager.show();
            return false;
        }
    </script>
    <telerik:RadButton ID="btnShowMenu" OnClientClicked="showWin" AutoPostBack="false" runat="server" Text="Show ">
    </telerik:RadButton>
     
    <telerik:RadWindowManager Behaviors="Close"  ID="rwm" runat="server">
    <Windows>
    <telerik:RadWindow ID="rWindow" ClientIDMode="Static" Title="Save layout" runat="server" Modal="true" Height="200" Width="400">
        <ContentTemplate>
            <asp:Label ID="Label1" runat="server" Text="Show some text" />
        </ContentTemplate>
    </telerik:RadWindow>
    </Windows>
    </telerik:RadWindowManager>
    please help me

    Reply

  • Answer Princy MVP avatar

    Posted on Feb 9, 2012 (permalink)

    Hello,

    This is the expected behavior when you are setting ClientIDMode as Static. Check the following forum thread which discussed similar scenario.
    Changing window clientidmode to static causes JavaScript error

    Thanks,
    Princy.

    Reply

  • Toad avatar

    Posted on Feb 9, 2012 (permalink)

    Thank you. u did solve my problem

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > Window > content not showing in radwindow
Related resources for "content not showing in radwindow"

ASP.NET Window Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  |  Step-by-step Tutorial  ]