To substitute ajax modal pop-up, I started to use jQuery thickbox which is a nice alternative to the ModalPopup extender. But one of the problem I faced then submit button was not working inside a thickbox pop-up. Suppose you have a textbox and a submit button inside thickbox. When you click the button to submit [...]
Posts Tagged ‘jQuery’
23 Apr
Using jQuery UI Autocomplete with asp.net ashx file
I was trying to implement autocomplete textbox for long. I even implemented few using jQuery and ajaxControlToolkit. I didn’t like the ajaxToolkit autocomplete extender. Specially when you will need to get id on selected text, the format was not soothing. So I was experimenting with other autocomplete, finally I liked the jQueryUI one. It is [...]
29 Dec
Custom checkboxList which works fine with jQuery
Few days earlier I was Looking for CustomcheckboxList that will work with jQuery. The problem of asp.net checkboxlist is it does not populate the value attribute in HTML page. so using jQuery you won’t be able to iterate through the checkbox and get the value. So to get the value you have to make customcheckbox [...]
27 Nov
Basic Table/GridView manipulation using jQuery
I used this jQuery function to find out the sum of a certain column in asp.net GridView, this is a good start from where you can traverse all row of GridView and do the manipulation. function gridValueRecalculate() { var grdTotalSum = 0; var $idattr; var changeStatus = ”; $(“#GridView1 > tbody > tr > td [...]
25 Nov
Some often used scripts-part1
Updating the following script with this one. 1st script check/uncheck all checkbox in gridview , and the second script give user alert message prior to save if not checkbox is selected. function SelectAllCheckboxes(chk) { $(‘#’).find(“input:checkbox”).each(function() { if (this != chk) { this.checked = chk.checked; } }); } function CheckBeforeSave(chk) { var checkFound = 0 var [...]