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

ASP.NET Button Control in External Template

1 Answer 78 Views
Templates
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 24 Aug 2015, 04:43 PM

Can this be done?

 

I have a button control defined as so

<asp:Button class='k-button k-button-icontext' type='button' id='btnSaveRpt' OnClick='Save()'>Save</asp:Button>

within an external template.

 

Is this possible?  It wants to call javascript instead of the method in my code behind.

1 Answer, 1 is accepted

Sort by
0
Petyo
Telerik team
answered on 26 Aug 2015, 07:31 AM

Hello Matt,

I am not sure what is the implementation of the external template you refer to. At any case, if you want to use client-side event handling, you (most likely) don't need a server-side button.

Regards,
Petyo
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Templates
Asked by
Matt
Top achievements
Rank 1
Answers by
Petyo
Telerik team
Share this question
or