Skip to content
Loading
  • +1
    Hi Dharmraj,
     
    Thanks for you reply . I tried you code but the data is not inserting in the table.  I am getting an empty message box with no value.  I think I am not too far but I am missing something.  I attached the 2 pages I am usinging
     
    Thanks for your help 
    +1
  • Dharmraj Thakur
    +1
    One mistake is here...
     
    url: '/insertData.aspx/AddConsent',
     
    start with / means root of the directory then pagename.aspx...
     
    Try it and still nothing happening then go to inspect element > network and see weather post method calling or not and if calling then any error occuring or not? 
    +1
  • +1
    Hi Dharmraj,
    Please find attached the capture screen of the error I am getting. I checked post method  is calling insertData.aspx/AddConsent because I am getting the message box
     
    Any help please 
     
    Eric
    +1
  • Dharmraj Thakur
    0
    I think insert sould be successful..
     
    check here what you are getting from controller
     
    1. success: function(msg) {    
    2.    JSON.stringify(msg,null,5);    
    3. }   
     And see what is pasing and whats happening after save...
     
     
    0