asp.net mvc 3 - Jquery get or post method not calling if input integer text is large? -


I'm calling the JQuery Post method for an integer passed that passed. The input method is calling the post method less than 9 but if I'm giving more input integer values ​​because input is not calling my controller post method. Please tell me if the input integer text is large, then why is not the post method calling? Get public activity GetDetails (int id) $ .post ("& lt;% = Url.Action (" GetDetails "," ActionController ")% & gt; , {Id: id}, function (html) {object = json, html};);

I think you are going to be the integer length above C #

Give a try in the form of a string or a long and see whether it is ok or not.

If this works properly then the issue relates to the int length.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -