Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Has anyone managed to get bootstrap working with the razor version of contour?
I can get most of it going, but I need to wire up errors in some way, in bootstrap the container div expects the class "has-error" on submit
Martin
Comment author was deleted
You have full control over markup http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Developer/Custom-Markup/
Think for custom classes on validation you'll need to customize the client side validation (just using jquery validate so it should be possible to find an example)
Hi TIm
After quite a bit of fiddling about withe the custom views I managed to get it working. But I had to do it with Jquery to get all I wanted.
http://blog.ijasoneverett.com/2013/05/asp-net-mvc-validation-with-twitters-bootstrap/
I also noticed that the MS unobtrusive library fails in more recent versions of Jquery so I had to add it two lines of code to fix it...
http://connect.microsoft.com/VisualStudio/feedback/details/776965/please-support-jquery-v1-9-0-properly-in-jquery-validate-unobtrusive
Ok thanks for the details :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Using Contour with Bootstrap 3
Has anyone managed to get bootstrap working with the razor version of contour?
I can get most of it going, but I need to wire up errors in some way, in bootstrap the container div expects the class "has-error" on submit
Martin
Comment author was deleted
You have full control over markup http://our.umbraco.org/projects/umbraco-pro/contour/documentation/Developer/Custom-Markup/
Think for custom classes on validation you'll need to customize the client side validation (just using jquery validate so it should be possible to find an example)
Hi TIm
After quite a bit of fiddling about withe the custom views I managed to get it working. But I had to do it with Jquery to get all I wanted.
http://blog.ijasoneverett.com/2013/05/asp-net-mvc-validation-with-twitters-bootstrap/
I also noticed that the MS unobtrusive library fails in more recent versions of Jquery so I had to add it two lines of code to fix it...
http://connect.microsoft.com/VisualStudio/feedback/details/776965/please-support-jquery-v1-9-0-properly-in-jquery-validate-unobtrusive
Comment author was deleted
Ok thanks for the details :)
is working on a reply...