Issue with hidden input and very large values in HTML and ASP.NET MVC 3 Razor

后端 未结 6 2024
天涯浪人
天涯浪人 2021-01-19 03:26

Since there appears to be a 1024 character limit for hidden input values, what does everyone do for values in excess of this limit? Can a hidden file input (

6条回答
  •  不要未来只要你来
    2021-01-19 04:02

    I agree with @Gaby about re-thinking the architecture. But if you really must, I suggest you build up javascript array. That way it will be much easier to work with data. it is pretty simple to do this with razor.

提交回复
热议问题