RadAjaxManager & Invisible Controls

3 posts, 0 answers
  1. Eng.Bassel Samman
    Eng.Bassel Samman avatar
    25 posts
    Member since:
    Oct 2008

    Posted 16 Jan 2011 Link to this post

    Dears,
    I have two comboboxes in page with RadAjaxManager, in the page Load event I hide one of them. I add the following:

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
           <AjaxSettings>
               <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">
                   <UpdatedControls>
                       <telerik:AjaxUpdatedControl ControlID="cmbHR_DOCS_ID_START" UpdatePanelRenderMode="Inline" />
                       <telerik:AjaxUpdatedControl ControlID="cmbHR_DOCS_ID" UpdatePanelRenderMode="Inline" />
                   </UpdatedControls>
               </telerik:AjaxSetting>
           </AjaxSettings>
       </telerik:RadAjaxManager>

    When user add a new value two one of the comboes (in a RadWindow) I refresh the data in them by calling:
    $find("<%= RadAjaxManager1.ClientID %>").ajaxRequest(x);

    Because one of the combos is invisible I got an ajax error (I think you know).
    I know that I can't add two RadAjaxManager in one page so I tried to add AjaxUpdatedControl to the RadAjaxManager at runtime in the Page Load event but it didn't work.

    Could you please help in?
    Best Regards
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 17 Jan 2011 Link to this post

    Hi,

    Note that adding an invisible control into the RadAjaxManager settings is not supported scenario and may lead to a lot of different issues. You should add all invisible controls into always visible containers (asp Panel for example) and add those containers into the RadAjaxManager settings.

    Best wishes,
    Maria Ilieva
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 17 Jan 2011 Link to this post

    Hi,

    Note that adding an invisible control into the RadAjaxManager settings is not supported scenario and may lead to a lot of different issues. You should add all invisible controls into always visible containers (asp Panel for example) and add those containers into the RadAjaxManager settings.

    Best wishes,
    Maria Ilieva
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top