This is a migrated thread and some comments may be shown as answers.

RadPanelItem - Link (<a>) in Text - Problem

3 Answers 18 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
Roberto
Top achievements
Rank 1
Roberto asked on 19 Aug 2014, 05:52 PM
Hello! 

I'm trying to put a link (<a>) in the text property of RadPanelItem. 

By doing this, I have problems with the layout, as below

Is it possible to fix?

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 22 Aug 2014, 06:10 AM
Hi Roberto,

Please try the below CSS which works fine at my end.

CSS:
.RadPanelBar .rpLink, .RadPanelBar .rpOut, .RadPanelBar .rpText
{
    display: inline-block !important;
    background-color: White !important;
}
.RadPanelBar .rpRootGroup, .RadPanelBar .rpGroup, .RadPanelBar .rpItem
{
    background-color: White !important;
}

Thanks,
Princy.
0
Roberto
Top achievements
Rank 1
answered on 22 Aug 2014, 12:45 PM
Thanks Princy, but the problem still persists.
0
Princy
Top achievements
Rank 1
answered on 25 Aug 2014, 03:44 AM
Hi Roberto,

Unfortunately I couldn't replicate the issue at my end. Please have a look into the sample code snippet which works fine at my end.

ASPX:
<telerik:RadPanelBar ID="RadPanelBar1" runat="server">
    <Items>
        <telerik:RadPanelItem Text="demo<a href=#>Text</a>This is an example">
        </telerik:RadPanelItem>
        <telerik:RadPanelItem Text="Second Line">
        </telerik:RadPanelItem>
        <telerik:RadPanelItem Text="Third Line">
        </telerik:RadPanelItem>
    </Items>
</telerik:RadPanelBar>

CSS:
<style type="text/css">
    .RadPanelBar .rpLink, .RadPanelBar .rpOut, .RadPanelBar .rpText
    {
        display: inline-block !important;
        background-color: White !important;
    }
    .RadPanelBar .rpRootGroup, .RadPanelBar .rpGroup, .RadPanelBar .rpItem
    {
        background-color: White !important;
    }
</style>

Thanks,
Princy.
Tags
PanelBar
Asked by
Roberto
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Roberto
Top achievements
Rank 1
Share this question
or