skip to Main Content

OnClick event not hitting the back end ASP.NET

I have a button that looks like this with both OnClick and OnClientClick events <asp:Button ID="btnExecute" CssClass="btn btn-primary" runat="server" Text="Execute" OnClientClick="setHiddenValues();" OnClick="Execute_Click" /> <script type="text/javascript"> function setHiddenValues() { //set some values } </script> EDIT: the code behind looks like this.…

VIEW QUESTION

DataTables error loading ajax source data – Asp.net

I am getting the following error when trying to load DataTables ajax sourced data: DataTables warning: table id=report-table - Ajax error. For more information about this error, please see http://datatables.net/tn/7 Below is my DataTables html: <table id="report-table" class="display nowrap" style="width:100%">…

VIEW QUESTION
Back To Top
Search