This question is locked. New answers and comments are not allowed.
Hello,
I have an application with some sort of master-detail editform.
On the left is a treeview and when you select an item, on the right-side there will be a tabstrip. On each tab the user can modify some data.
The model used to modify the data has several attributes like Required and StringLength on it's properties.
In the "model modify view" i use the Html.TextBoxFor and Html.ValidationMessageFor methods.
But i'm not able to get the client-side validation working. When i open this view directly in IE or FF the validation is working but when the view is displayed within a tab the validation isn't there.
The last couple of days I've tried a lot of different pieces of code to get the client-side validation working but so far no luck.
I also tried the solution presented in http://www.telerik.com/community/forums/aspnet-mvc/tabstrip/form-validation-does-not-work-with-multiple-tabs.aspx but jQuery.validator is always Undefined (???)
Also the solution "
I've attached a demo-app demonstrating this behaviour.
Can somebody have a look at it and tell me what i'm doing wrong?
Thanks in advance!
I have an application with some sort of master-detail editform.
On the left is a treeview and when you select an item, on the right-side there will be a tabstrip. On each tab the user can modify some data.
The model used to modify the data has several attributes like Required and StringLength on it's properties.
In the "model modify view" i use the Html.TextBoxFor and Html.ValidationMessageFor methods.
But i'm not able to get the client-side validation working. When i open this view directly in IE or FF the validation is working but when the view is displayed within a tab the validation isn't there.
The last couple of days I've tried a lot of different pieces of code to get the client-side validation working but so far no luck.
I also tried the solution presented in http://www.telerik.com/community/forums/aspnet-mvc/tabstrip/form-validation-does-not-work-with-multiple-tabs.aspx but jQuery.validator is always Undefined (???)
Also the solution "
Sys.Mvc.FormContext._Application_Load();" in all my PartialViews did not do the trick.I've attached a demo-app demonstrating this behaviour.
Can somebody have a look at it and tell me what i'm doing wrong?
Thanks in advance!