I'm using ASP.NET and Kendo UI. I have a web form, the most of the components are working with javascript and kendo ui. I'm using kendo.bind to display the values on the web form. However I need to do an action with an asp.net button. The problem is that the asp.net button is not working, the button_Click action never is executed. When I removed the kendo.bind code the button action was executed. What is the problem? (I'm not using ASP.NET MVC)


              url: 'urlSVC.svc/GetData',
              dataType: 'json',
              type: 'POST',
              contentType: "application/json; charset=utf-8",
              success: function (model) {
                  // bind the model to the container
                  var viewModel = kendo.observable(model);

                  // bind the model to the container
                  kendo.bind($("#copy"), viewModel.data);
<form  id="adForm" name="adForm" runat="server" enctype="multipart/form-data">
   <asp:ImageButton ID="imgSave" runat="server"  ImageUrl="~/styles/savebutton.PNG" />

   <div id="copy">
     <input type="checkbox" id="has_intro" name="has_intro" data-bind="checked: has_intro" /> Introduction Section                               
     <br />
     <textarea  id="intro" name="intro"   data-bind="value: intro"></textarea>              

Related posts

Recent Viewed