Maintain HighLighted Item on Same Page

3 posts, 0 answers
  1. Karthik
    Karthik avatar
    4 posts
    Member since:
    Feb 2012

    Posted 09 Feb 2012 Link to this post

    Hi

    Below is my Code:
    <FONT color="#0000ff" size="2" face="Consolas"><FONT color="#0000ff" size="2"
    face="Consolas"><FONT color="#0000ff" size="2"
    face="Consolas"><telerik:RadPanelItem Text="Content Details" Expanded="True"
    PostBack="false"
    Selected="true"><BR>
    <Items><BR>
    <telerik:RadPanelItem Text="Description" Value="DESCRIPTION"
    ></telerik:RadPanelItem><BR>
    <telerik:RadPanelItem Text="Objectives/Requirements"
    Value="Requirements"></telerik:RadPanelItem><BR>
    <telerik:RadPanelItem Text="Scenario Details"
    Value="ScenarioDetails"></telerik:RadPanelItem>
    <BR>
    <telerik:RadPanelItem Text="Categorization"
    Value="TrainingDiscipline"></telerik:RadPanelItem><BR>
    <telerik:RadPanelItem Text="Simulator Details"
    Value="SimulatorDetails"></telerik:RadPanelItem>
    <BR>
    <BR>
    </Items><BR>
    </telerik:RadPanelItem><BR></FONT></FONT></FONT>

    Now I want to maintain the Selected Item even if click the Root Item(Here : "DESCRIPTION").

    if click any item under "DESCRIPTION" then the selected item is highlighted
    and Now if click the root item i.e."DESCRIPTION" then the "DESCRIPTION" is Highlighted, but i want to hhighlight the child Item i.e "Categorization", because i'm still on the same page.

    I attached the screen shots also. I want to maintain the Highlighted selected Item based on the current page.
    Thanks in Advance
    karthik

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

    Posted 09 Feb 2012 Link to this post

    Hello Karthik,

    Take a look at the following demo.
    PanelBar / Client-side API

    -Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Karthik
    Karthik avatar
    4 posts
    Member since:
    Feb 2012

    Posted 09 Feb 2012 Link to this post

    Hello Shinu

    Thanks for your reply

    My Control Looks like:

    ParentItem1
       ChildItem1a
       ChildItem1b
    ParentItem2
       ChildItem2a
       ChildItem2b


    Now if i click the "childItem1a" then it will be highlighted , now click the "ParentItem1" then controls collapsed (i'm on the Same Page).
    again if expand the control by clicking "ParentItem1" then it will be highlighted but i want to high light the Item "ChildItem1a
    "

    Is there any way to achieve this task??

    Thanks in Advance
    karthik.D
Back to Top