update header on expand/collapse

2 posts, 0 answers
  1. Flop
    Flop avatar
    1 posts
    Member since:
    Jun 2013

    Posted 18 Jun 2013 Link to this post

    Hello everyone,

    I need to use a RadPanelBar in telerik in a way that when it is collapsed it must show a 2-3 details of a person. And when expanded, it shows complete details in its panelbaritem. I am using ItemClick event to read the expand/collapse state and update the header text. But after i implement this event, on every click (to expand/collapse), the whole page flickers. I tried couple of options, but could not avoid it.

    Can someone please help? or suggest another control option option?

    thanks

  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 19 Jun 2013 Link to this post

    Hi,

    One suggestion is you can try to use RadAjaxManager.
    ASPX:
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
       <AjaxSettings>
           <telerik:AjaxSetting AjaxControlID="RadPanelBar1">
              <UpdatedControls>
                 <telerik:AjaxUpdatedControl ControlID="RadPanelBar1" />
              </UpdatedControls>
           </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadPanelBar ID="RadPanelBar1" runat="server" >
       <Items>
            ... ... ...
       </Items>
    </telerik:RadPanelBar>

    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top