I'm guessing there is somethign wrong with parameter binding that MVC is doing. I changes the Controller Action to receive HttpRequestMessage instead of my object, and the Result using ReadAsStringAsync().Result returns the FULL string. Something must be making the request to be read from the char 1024 Now select Merge Tool from the left-hand column (directly beneath. Move both radio buttons in the right-hand column to External, and enter the following value in both text fields: C:\Program Files\Perforce\p4merge.exe base mine. This should give some hint because total length of object minus the total length of the read values. Open your context menu, then select TortoiseGit > Settings, and select Diff Viewer from the left-hand column. The actual JSON value is much longer, but this is just the beggining of it so that you can see that it gets truncated.Ĭhecking the length of the value is 1393 so i'm thinking it might be some issue with the length of it, but can't figure it out.Ĭhecking the length of the truncated value, I see that is 369. Something like this is what I get by calling ().Result from the controller: alue\":false}, It's complete, but my controller receives a NULL value on the parameter so, I checked the Request data received and discovered that the json string is truncated. This is my AjAx Call: var data = JSON.stringify(aoData) Īnd this is my Controller: public object GetAllProductsForDataTable(DataTableRequestItem pRequest) Until yesterday everything worked great, but now, I ran the project, and the data transmitted is truncated. I have a WebApi Controller and a View which uses ajax to call that view.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |