Click here to Skip to main content
15,890,690 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: student information Pin
Richard MacCutchan2-Jul-18 21:11
mveRichard MacCutchan2-Jul-18 21:11 
QuestionCode Stopped Working When Controller Method Is Invoked Using AJAX Instead Of Formaction Pin
MadDashCoder24-Jun-18 1:23
MadDashCoder24-Jun-18 1:23 
AnswerRe: Code Stopped Working When Controller Method Is Invoked Using AJAX Instead Of Formaction Pin
Richard Deeming24-Jun-18 5:04
mveRichard Deeming24-Jun-18 5:04 
QuestionMy First Web API Pin
Kevin Marois20-Jun-18 8:47
professionalKevin Marois20-Jun-18 8:47 
AnswerRe: My First Web API Pin
Richard Deeming20-Jun-18 10:53
mveRichard Deeming20-Jun-18 10:53 
GeneralRe: My First Web API Pin
Kevin Marois20-Jun-18 10:59
professionalKevin Marois20-Jun-18 10:59 
GeneralRe: My First Web API Pin
Richard Deeming21-Jun-18 12:19
mveRichard Deeming21-Jun-18 12:19 
QuestionPassing jqGrid Data To Server-Side Method Pin
MadDashCoder16-Jun-18 1:54
MadDashCoder16-Jun-18 1:54 
Suppose I have a jqgrid and its code is as below
$("#jqGrid").jqGrid({
       url: "/Folder/ShowProductsDetails",
       editurl: '/Folder/EditProductDetails',
       datatype: 'json',
       mtype: 'Get',
       ajaxSelectOptions: { type: 'POST' },

       viewrecords: true,
       prmNames: { id: "ProductsLineId" },
       sortname: "Purchase_Date",
       sortorder: "DESC",
       hoverrows: true
       },
       colNames: ['ProductsLineId', 'Purchase Date', 'Company'],
       colModel: [
           { key: true, hidden: true, name: 'ProductsLineId', index: 'ProductsLineId'},
           { name: 'Purchase_Date', title: false, stype: 'text', index: 'Purchase_Date', formatter: 'date',
             formatoptions: { newformat: 'm/d/Y' }, editable: true, formoptions: { rowpos: 1, colpos: 2,
             label: 'Purchase Date *' }, editrules: { required: true },
           },
           { name: 'Company', title: false, stype: 'text', index: 'Company', formatter: 'date',
             formatoptions: { newformat: 'm/d/Y' }, editable: true, formoptions: { rowpos: 1, colpos: 2,
             label: 'Purchase Date *' }, editrules: { required: true },
           }
           ],
           shrinkToFit: false,
           pager: jQuery('#jqControls'),
           rowNum: 50,
           rowList: [50, 100, 150, 200],
       scrollerbar: true,
       height: 'auto',
       autoheight: true,
       autowidth: true,
       viewrecords: true,
       caption: 'Uploaded Product Details',
       emptyrecords: 'No Records are Available to Display',
       jsonReader: {
           root: "rows",
           page: "page",
           total: "total",
           records: "records",
           repeatitems: false,
           id: 'ClaimsLineId'
       },
       multiselect: true
   }).navGrid('#jqControls', { add: false, edit: true, del: true, search: true, refresh: true},

   {//Code for Add},{//Code for Edit},{//Code for Delete}


How do I pass data from jqgrid using editurl to the server-side MVC controller method ShowProductsDetails whose signature is
public ActionResult ShowProductsDetails(string operation Product prod, string extraData)


- operation is operation that user can choose like del for delete.
- prod is product which contains Product data from jqGrid.
- extraData is data passed as extra data using editData.

The value of operation is used to determine whether to perform Edit, Delete, or Save

modified 16-Jun-18 8:00am.

QuestionHow you do make user list Pin
tijon113-Jun-18 5:38
tijon113-Jun-18 5:38 
AnswerRe: How you do make user list Pin
David Mujica14-Jun-18 3:03
David Mujica14-Jun-18 3:03 
Questionwhere to post CSS questions? Pin
piano001113-Jun-18 0:38
piano001113-Jun-18 0:38 
AnswerRe: where to post CSS questions? Pin
tijon113-Jun-18 5:41
tijon113-Jun-18 5:41 
QuestionGet more than 1 data entry from DB using PHP Pin
Member 1386791311-Jun-18 4:01
Member 1386791311-Jun-18 4:01 
AnswerRe: Get more than 1 data entry from DB using PHP Pin
Jochen Arndt11-Jun-18 22:55
professionalJochen Arndt11-Jun-18 22:55 
GeneralRe: Get more than 1 data entry from DB using PHP Pin
Member 1386791312-Jun-18 2:34
Member 1386791312-Jun-18 2:34 
QuestionSignalR - resources Pin
User 110609799-Jun-18 9:15
User 110609799-Jun-18 9:15 
QuestionMagento 2: config url rewrite? Pin
Vicent Nguyen7-Jun-18 18:06
professionalVicent Nguyen7-Jun-18 18:06 
Questionhow to merge two powerpoint presentation slides into one ppt using php or javascript ? Pin
Member 1385293031-May-18 2:22
Member 1385293031-May-18 2:22 
QuestionMVC - Video chat with my screen sharing web Pin
Gunasekararan30-May-18 1:24
professionalGunasekararan30-May-18 1:24 
QuestionIs this code correct? Pin
X2A coding25-May-18 4:28
professionalX2A coding25-May-18 4:28 
QuestionRe: Is this code correct? Pin
Richard MacCutchan25-May-18 4:35
mveRichard MacCutchan25-May-18 4:35 
Questionpython webdevelopment Pin
Member 1384376324-May-18 21:49
Member 1384376324-May-18 21:49 
AnswerRe: python webdevelopment Pin
Nathan Minier25-May-18 1:25
professionalNathan Minier25-May-18 1:25 
QuestionInformation about wordpress Pin
Max Power Marketing, LLC10-May-18 21:51
Max Power Marketing, LLC10-May-18 21:51 
AnswerRe: Information about wordpress Pin
Richard MacCutchan11-May-18 3:12
mveRichard MacCutchan11-May-18 3:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.