This question is locked. New answers and comments are not allowed.
Steve Brown
Top achievements
Rank 1
Steve Brown
asked on 26 Jan 2010, 12:22 AM
I am doing a quick assessment of the MVC extensions tabstrip. Our site is for a government agency and so must be WCAG AA (i.e. double A) compliant.
I switched off javascript to check if the tab onClick functionality is handled and I can't really tell (I must be doing something wrong).
My questions:
- Does the MVC extensions tabstrip support a "no javascript" mode?
- If so, do the link URLs generated for the tabs refer to customisable bookmark names on the page (I saw anchor names like "#TabStrip-1")
Thanks
Steve Brown
4 Answers, 1 is accepted
0
Hello Steve,
The TabStrip supports a no-JavaScript mode, if you introduce a query string parameter that specifies the currently selected tab. I'm attaching a sample application that demonstrates the approach.
Regards,
Alex Gyoshev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
The TabStrip supports a no-JavaScript mode, if you introduce a query string parameter that specifies the currently selected tab. I'm attaching a sample application that demonstrates the approach.
Regards,
Alex Gyoshev
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Steve Brown
Top achievements
Rank 1
answered on 03 Feb 2010, 02:16 AM
Thanks for the post and the code provided. It looked pretty simple and reasonable, but while trying to test it I got the null-object-reference exception listed here.
FYI I am running MVC2.0, VS2008 SP1
Is there anything I can do, or do I have to wait for the fix to this bug? If so how do I watch for the fix details (i.e. what will be the reference in the release notes?)
Thanks for the help
Steve Brown
0
Hello Steve Brown,
This problem will occur if you are using the OnDocumentReady method of the ScriptRegistrar inside a view output via Html.RenderAction. To our regret we cannot fix that problem. As a workaround I can suggest you use RenderPartial if possible.
If this is not the case - you receive that exception without using OnDocumentReady and RenderAction - please give us more details about your case.
All the best,
Atanas Korchev
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
This problem will occur if you are using the OnDocumentReady method of the ScriptRegistrar inside a view output via Html.RenderAction. To our regret we cannot fix that problem. As a workaround I can suggest you use RenderPartial if possible.
If this is not the case - you receive that exception without using OnDocumentReady and RenderAction - please give us more details about your case.
All the best,
Atanas Korchev
the Telerik team
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Follow the status of features or bugs in PITS and vote for them to affect their priority.
0
Steve Brown
Top achievements
Rank 1
answered on 05 Feb 2010, 03:36 AM
Re-tested and all works without a problem as you suggested: with javascript on no postback, with javascript off postback to the tabstrip item's url.
Thanks for the quick and helpful support
Steve Brown