ASP.NET Button Control in External Template

2 posts, 0 answers
  1. Matt
    Matt avatar
    25 posts
    Member since:
    Jul 2015

    Posted 24 Aug 2015 Link to this post

    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.

  2. Petyo
    Petyo avatar
    2444 posts

    Posted 26 Aug 2015 Link to this post

    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.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top