Hello, The below code will assist you to debug "Column Sorting with checkbox" using Datatable feature. for example: if you like to make click on the feature and in return the whole column with checkbox will get sorted
       "aoColumns": [
            null,
            null,
            null,
            null,
            null,
            { "sSortDataType": "dom-checkbox" },
            null
        ],

$.fn.dataTableExt.afnSortData['dom-checkbox'] = function (oSettings, iColumn) {
            var aData = [];
            $('td:eq(' + iColumn + ') input', oSettings.oApi._fnGetTrNodes(oSettings)).each(function () {
                aData.push(this.checked == true ? "1" : "0");
            });
            return aData;
        }
hope this help While i have jquery issue in

"Uncaught TypeError: Cannot call method 'fnSetData' of undefined".

and I fixed using the reference link http://datatables.net/forums/discussion/7897/need-help-uncaught-typeerror-cannot-call-method-fnsetdata-of-undefined/p1 the Problem is I missed the red color column highlighted definition like
       "aoColumns": [
            null,
            null,
            null,
            null,
            null,
            { "sSortDataType": "dom-checkbox" },
            null            
        ],
Senthilnathan
Read more ...

UpdateException was caught

Posted by senthil | 6:18:00 PM | , | 0 comments »

MVC4

Answer:

I had this issue when i save my application data. This error may be your Foreign key reference value gave wrongly check and give correctly.
Read more ...

I'm working in MVC4. when i edit my application page i have this error. its very simple.
public ActionResult Edit(int id)
{
var Hospital = HospitalClinicsModels.GetPartnerById(id);

var EditHospital = new EditHospitalClinicsModel()
{

}
return View(EditHospital);
}
Read more ...

Related Posts Plugin for WordPress, Blogger...