Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
76 views

Hi, I am using a grid filter - Show/hide button in the <CommandItemTemplate> of RadGrid. I am using this for the filter to show on or off. But this radbutton has a different color than the Grid Header. I want to change its background to whatever color that the Grid has ( I may use different skin). Below is the code. Any way we can set the BackColor property of the button at Clientside itself? 

<MasterTableView CommandItemDisplay="Top" CommandItemStyle-HorizontalAlign="Right" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">
                                                <CommandItemTemplate>
                                                    <telerik:RadButton ID="btnFilter" runat="server" ButtonType="SkinnedButton" Font-Size="X-Small" OnClick="btnFilter_Click" Width="30px" Height="20px" Text="filter"></telerik:RadButton>
                                                </CommandItemTemplate>
                                                <Columns>
Doncho
Telerik team
 answered on 22 Feb 2022
1 answer
98 views

Hi there, 

I would like to know which is the easiest way to add a link button to a group Panel in a PvGrid.

It would be like in the image below.

Thanks,

Alvaro

Attila Antal
Telerik team
 answered on 25 May 2021
3 answers
468 views

 

I have the following button:

                  <telerik:RadLinkButton ID="lbtn" runat="server" Text="Delete"
                                       Height="34px" 
                                       style="margin-top:2px;"
                                       OnClientClicking="return false;">
                    <Icon CssClass="rbRemove"></Icon>
                </telerik:RadLinkButton>

 

It does that i need it to do however causes "Uncaught SyntaxError: Unexpected token return" javascript error.

What is wrong?

Thank you

Rumen
Telerik team
 answered on 23 Jul 2019
1 answer
1.0K+ views

If I change the Height (i.e. 10px) of a RadLinkButton, no matter what I do, I can't get the Text to vertical align.  Is this a bug or can someone provide me an example on how to get the Text to correctly align vertically?

<tr>
    <td style="width:8px"></td>
    <td style="text-align:center; vertical-align:middle">
        <telerik:RadLinkButton ID="rlbn_ResetPassword" runat="server" Text="Reset Password" RenderMode="Lightweight" Height="10px" Font-Size="Small" Style="vertical-align:middle"></telerik:RadLinkButton>
    </td>
    <td style="width:8px"></td>
</tr>

 

Cheers, Rob.

Rumen
Telerik team
 answered on 20 Sep 2018
1 answer
56 views

Hi, 

Is it possible to have RadLinkButton in Datalist? Because the OnItemCommand() event in DataList is not firing. 

Can anyone show me an example?

Marin Bratanov
Telerik team
 answered on 22 Sep 2016
1 answer
384 views

Hi,

I have quite a few RadLinkButtons on my website and now I need to develop some server side codeing when the RadLinkButton is clicked.

I cannot find any OnClick event for RadLinkButton. I do see a OnClientClicked event but no such event for server side.

Can anyone help me through this?

 

Thanks,

Payal.

Ianko
Telerik team
 answered on 06 Apr 2016
2 answers
128 views

 Have problems with the icons on the RadLinkButton when using RadButton on the same page. For the icons to display on each button, I must put RenderMode to Lightweight on RadButton. See attached Pictures...

 

<div id="HeadCell" class="table">
    <div class="tr">
        <div class="td" style="vertical-align: top; padding-left: 6px; padding-top: 2px;">
            <telerik:RadLinkButton ID="rbBack" Skin="Black" Text="Tillbaka" NavigateUrl="~/admin/admin_start.aspx" runat="server">
                <Icon Url="~/admin/images/buttons/btn_tillbaka.png" Width="20" />
            </telerik:RadLinkButton>  
            <telerik:RadLinkButton ID="rbNewPage" Skin="Black" Text="Ny huvudsida" NavigateUrl="~/admin/newpage/default.aspx" runat="server">
                <Icon Url="~/admin/images/buttons/btn_nysida.png" Width="20" />
            </telerik:RadLinkButton>  
            <telerik:RadLinkButton ID="rbNewSubPage" Skin="Black" Text="Ny undersida" NavigateUrl="~/admin/newsubpage/default.aspx" runat="server">
                <Icon Url="~/admin/images/buttons/btn_nysubsida.png" Width="20" />
            </telerik:RadLinkButton>  
            <telerik:RadLinkButton ID="rbLogOut" Skin="Black" Text="Logga ut" NavigateUrl="~/admin/logout/default.aspx" runat="server">
                <Icon Url="~/admin/images/buttons/btn_loggaut.png" Width="20" />
            </telerik:RadLinkButton>
        </div>
        <div class="td" style="width: 100px; padding: 0px; padding-right: 6px; text-align: right;"><asp:HyperLink ID="HlStartPage" ImageUrl="~/admin/images/buttons/btn_home.png" NavigateUrl="~/default.aspx" Target="_top" ToolTip="www.junis.org" CausesValidation="false" runat="server" /></div>
    </div>
</div>

Ianko
Telerik team
 answered on 15 Feb 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?