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

Is there a control to be used as a link?

1 Answer 49 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Carlos
Top achievements
Rank 1
Carlos asked on 24 Sep 2013, 03:00 PM
I'm wondering if there is a control like a link (that looks underlined and changes its color). I know the RadButton can be used as ButtonType="LinkButton" but in that case the control doesn't looks like I need.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 1
answered on 25 Sep 2013, 05:28 AM
Hi Carlos,

Please have a look into the sample code I tried which works fine at my end.

ASPX:
<telerik:RadButton ID="RadButton1" runat="server" Text="Button" ButtonType="LinkButton"
    NavigateUrl="http://www.telerik.com">
</telerik:RadButton>

CSS :
<style type="text/css">
    .RadButton_Default.RadButton.rbLinkButton
    {
        background-color: transparent !important;
        border: none !important;
        color: Navy !important;
    }
    #RadButton1 .rbText
    {
        text-decoration: underline;
        font-size: 16px;
        font-family: Times New Roman;
    }
</style>

Thanks,
Shinu.
Tags
General Discussions
Asked by
Carlos
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 1
Share this question
or