function BindGrid() { var TableView = $find("<%=RadGridCompany.ClientID %>").get_masterTableView(); var currentPageIndex = TableView.get_currentPageIndex(); var pagesize = TableView.get_pageSize(); PageMethods.ListOrgLicense(OnsucessGetLicense); } function OnsucessGetLicense(result) { var RadGrid = $find("<%=RadGridCompany.ClientID %>").get_masterTableView(); RadGrid.set_dataSource(result); if (result.length > 0) { RadGrid.set_virtualItemCount(result.length); $("#divSetConfig").hide(); $("#divGrid").show(); } else { RadGrid.set_virtualItemCount("0"); $("#divSetConfig").show(); $("#divGrid").hide(); } RadGrid.dataBind(); }
bind gridview using jquery
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)