Software Technology Tips

By default RadGrid has a Property to add New Records. It's style depends upon the inbuilt Skin you apply in your RadGrid. Sometimes you may want to diaplay Custom image instad of the default one. Following code helps you to add Custom image. Here i added a Custom image for "Add New Records" in RadGrid.

 

<

 <

    <CommandItemTemplate>         <asp:ImageButton ID = "imgInsert" runat = "server" ImageUrl ="~/Image/icons_add.jpg" CommandName = "InitInsert" ToolTip = "Insert New Record" />

 

</CommandItemTemplate>MasterTableView>

</

Telerik:RadGrid>

    </

Telerik:RadGrid....> MasterTableView.....>


Related Tags:

ASP.NET, Telerik, RADGrid

Author: Surama Hotta

ASP.NET

Let us Connect!

iso 9001 QA25 Red Herring STPI D&B Fastest Growing SME 2013 Award zinnov Nasscom

copyright (c) Mindfire Solutions 2007-2014. Login