RadComboBox not rendered when within ASP panel with initial visisble=false

2 posts, 0 answers
  1. Chetan
    Chetan avatar
    2 posts
    Member since:
    Jan 2014

    Posted 04 Feb Link to this post

    RadComboBox not rendered (Rendered as "") when within asp panel with initial visible= false.

    The asp panel is set to visible= true when postback is triggered via client using ajaxManager.ajaxRequest('InitialPageLoad'

    protected void Page_Load(object sender, EventArgs e)
                // register ajax
                Telerik.Web.UI.RadAjaxManager ajaxMgr_CCF =   Telerik.Web.UI.RadAjaxManager.GetCurrent(Page);
                ajaxMgr_CCF.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(AjaxRequestsForCCF);



    protected void AjaxRequestsForCCF(object sender, AjaxRequestEventArgs e)
               if (e.Argument == "InitialPageLoad")
                  pnlWithComboBox.Visible = true;


     RadCombobox is always set to visible = true.

    The panel has other server side control but they render fine. 

    If I set radComboBox1.visible = true then it works fine. But should it automatically render and no need for setting specificly

    <asp:Panel ID="pnlWithComboBox" runat="server" visible="false">
            <telerik:RadComboBox ID="radcombobox1" runat="server"                                   Width="123px" RenderMode="Lightweight"                                    OnSelectedIndexChanged="btnSavePlaybackForward_Click" AutoPostBack="true" OnClientSelectedIndexChanged="comboBoxContext">
                                            <telerik:RadComboBoxItem Text="1" Value="1" runat="server" />
                                            <telerik:RadComboBoxItem Text="2" Value="2" runat="server" />
                                            <telerik:RadComboBoxItem Text="3" Value="3" runat="server" />

    function initializePage(sender, eventArgs) {                 var ajaxManager = $find('<%= RadAjaxManager.GetCurrent(this.Page).ClientID %>');                 ajaxManager.ajaxRequest('InitialPageLoad');   

    <telerik:AjaxSetting AjaxControlID="radAjaxManager1">  
            <telerik:AjaxUpdatedControl ControlID="pnlWithComboBox"  />   

  2. Maria Ilieva
    Maria Ilieva avatar
    4017 posts

    Posted 08 Feb Link to this post


    Please review the answer provided in the ticket you have opened for the same issue.

    Maria Ilieva
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft R3 2016 release webinar banner
Back to Top