Geeks With Blogs
ken spencer

Another issue I found was the use of the Value attribute on Submit buttons. This is handy because you can change the Value attribute depending on the action and then pick up the button with its Name attribute in a controller method.

Enter the ipad safari browser. Apparently this browser does not pickup the value attribute value and put it in the request variables. It just comes to the controller method as empty.

The solution was to create a hidden input field and set it. Then pick it up as a parameter to the controller method. Works like  a charm.

Posted on Monday, October 31, 2011 1:22 PM | Back to top

Comments on this post: MVC 3.0: Ipad access–Button Value Attribute

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © xamlnotes | Powered by: