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

[Solved] AutoGenerated Editform - change linkbuttons (insert/cancel) to imagebuttons

1 Answer 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Lars
Top achievements
Rank 1
Lars asked on 02 Sep 2009, 01:59 PM
Hi,

i am searching for a way to change the style of the insert and cancel button in an autogenerated FormTemplate.

I use GridTemplateColumns like shown below
<telerik:GridTemplateColumn UniqueName="StartDate" HeaderText="Start Date">  
<ItemTemplate> 
   <asp:Label id="lblStartDate" Width="75" runat="server">  
   <%# DataBinder.Eval(Container.DataItem, "StartDate","{0:dd.MM.yyyy}")%> 
   </asp:Label> 
</ItemTemplate> 
<EditItemTemplate> 
<telerik:RadDatePicker ID="radPickStartDate" Width="300" runat="server"   
Calendar-AutoPostBack="False" Culture="English (United Kingdom)"   
 ToolTip="Please open the calendar popup." DateInput eadOnly="True">                                                                  </telerik:RadDatePicker>                                      
</EditItemTemplate> 
</telerik:GridTemplateColumn> 

Is it really necessary to develop all my TemplateColumns into a TemplateEditform - just to change the style of "insert and cancel" Buttons?
Just want to make the LinkButtons to ImageButtons with custom images on the right hand side.

Some ideas out there?

Thanks
Lars

1 Answer, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 04 Sep 2009, 02:11 PM
Hi Lars,

Please take a look at the Customizing the action buttons in Telerik RadGrid help topic - there you can see how to to change the buttons.

Let me know if any further questions arise.

Regards,
Mira
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
Lars
Top achievements
Rank 1
Answers by
Mira
Telerik team
Share this question
or