Click here to Skip to main content
15,899,754 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am setting string data to hidden field in aspx page. and posting this data to server by submitting form. I am accessing the hidden by by using request parameters in page load method
However sting is getting truncated (randomly for few calls) at the server end in Page load method?

Do have any faced this issue ever? Can anyone please help in this.

Note: Before and after submitting page in java script, String data is not truncated in java script variable or hidden field.
Posted
Comments
ZurdoDev 5-Jan-16 8:57am    
I've never seen that but instead of getting through the Request parameters just use an ASP hidden field or add runat="server" to your html hidden fields and then you can access them via ID in C#.

1 solution

Hidden parameters can be truncated around spaces.
Check this[^] out.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900