Sunday, 15 August 2010

asp.net mvc - issue with filterToolbar in jqGrid Search -


The search functionality is not working when pressing the action method in the controller parameters "_ search = true", "Search Field = "Blank", "search = blank", "searchper = empty", search field, searchstring value is not found here, searchOper Can anyone help please

If I give loadonce: true property then the search is working. But I'm getting the first page record. I can not find another page record. How can I decide?

My code:

  $ (function () {$ ("# channellist list"). JqGrid ({Colnames: ['Channel Name ',' Description ',' Status'], CallModel: [{Name: 'Channel Name', Index: 'Channel Name', Sort: Right, Align: 'Left', Width: '200', Editable: Wrong , 'Name', index: 'description', sortable: false: '120', editable: incorrect, attribute: 'text', 'text', search: true}, {name: 'description' , Align: 'text' past ', width:' 220 ', editable: incorrect, A Dip: 'Text', search: right} ',' search ':' position ', index:' position ', sort: wrong, align:,], pager: jQuery (' # pager '), sort name: Title:, line number: 15, line list: [15, 20, 25], Sort: "desc", height: 345, ignore: true, viewer: true, 'janet', mitif: 'get', loaderance (True,), '' channel list '', width: 660, url: "@ URL. Content (" ~ / home / channel list "), datatype:) JQuery (" # Channel Listed Grid "). JqGrid ('FilterToolbar', {searchOnEnter: true, enableClear: false});});    , String search field, string search string, string search-over) {// code}    

its Instead, get the control code below to get the search parameters typed on the Filtertoolbar.

  Public ActionResult Channel List (Entry Page, Intro Rows, String SIDX, String, Bulls _ Search) {string ChannelName = ""; String desc = ""; If (request.Par [["channel name"] = null) channel name = request. Mercury ["channel name"]; If (request. Mercury ["description"]! = Null) = request Mercury ["description"]; }    

No comments:

Post a Comment