RadControl for Header / Title

4 posts, 0 answers
  1. Lasly
    Lasly avatar
    115 posts
    Member since:
    Nov 2009

    Posted 23 May 2012 Link to this post

    Hi,
    some pages have a title. The title is shown in a div.
    The problem is the div is not a Telerik control, so you have to manually manage the change of skin.
    My question is:
    What can I use Telerik controls to make these headers? (so the style would normally managed by skinmanager)
    (I tried radtoolbar radmenu but you see that are clickable)


    Thanks in advance
  2. Jayesh Goyani
    Jayesh Goyani avatar
    2732 posts
    Member since:
    May 2010

    Posted 23 May 2012 Link to this post

    Hello Lasly,

    Please try with below code snippet.
    <telerik:RadPanelBar ID="RadPanelBar1" runat="server">
                <Items>
                    <telerik:RadPanelItem Expanded="true">
                        <HeaderTemplate>
                            header comes here
                        </HeaderTemplate>
                        <ItemTemplate>
                            your grid control comes here
                        </ItemTemplate>
                    </telerik:RadPanelItem>
                </Items>
            </telerik:RadPanelBar>


    Thanks,
    Jayesh Goyani
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Lasly
    Lasly avatar
    115 posts
    Member since:
    Nov 2009

    Posted 23 May 2012 Link to this post

    Hello Jayesh,
    thanks for the answer.
     I can not use the ItemTemplate because I not see more from server controls.
     Then I tried using the ContentTemplate.
     From server see the controls, but not from the client... for example by a CompareValidator.
     (In addition to the RadGrid I also put the text box)
     Finally, the ContentTemplate show the button to the collapse of the item .

     Otherwise, I will write only the title into the RadPanelItem and
     I will deliver the RadControls Outside RadPanelItem.

    thank you very much!!
     
  5. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 28 May 2012 Link to this post

    Hello Lasly,

    Please take a look at the RadDoc and RadSplitter controls as I believe they will be very suitable for your scenario.

    Regards,
    Kate
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top