Hi
I have had a lot of success with MVC and placing several controls on one page/
I have a page with 2 partial views:
1) One partial view writes out a custom control which is a WebDayView calendar.
The ascx requires a mvc script manager at the bottom.
2) One partial view writes out a custom control with a WebHierarchicalDataGrid.
The ascx requires a script manager at the bottom. Works well.
Action 1:
If I add a second control (a WebDataMenu) with IsContextMenu=true to the first Partial view (used as a rightclick context menu)
I get a HTTP error:
"IE cannot open the Internet Site http://localhost/ .. Operation aborted."
If I add the scriptmanager above the WebDataMenu I do not get an error but cannot referenced the webmenu in js so can not show it with ShowAt on a right-click(mouse down) WebDayView event.
Action 2:
If I REM out the 2nd partial view in the page, and thus only have one 1 partial view, and ascx then both the WebDayView and WebDataMenu work correctly with full functionality.
I've tried playing with where I place the script mangers even placing it in the Master page.
Solution:
I also know that one of the scriptmanagers/controls might be trying to manipulate the DOM before it has loaded, and this is discussed
with your vanilla offering, but much of the MVC Infragistics support is limited.
Kind regards,
Steve
Steve:
I've been reviewing the posts you've made on the Community Site and seen how you've worked through some of the MVC related issues. I also appreciate your enthusiasm for Infragistics controls :)
I'd like to discuss the possibility of you joining the Infragistics MVP program. Please email me at cshoemaker@infragistics.com if you are interested in discussing it further.
Best,
Craig
But many thanks for the kind help.
In the end I decided to implement the right-click popup in a custom JQuery implementation as it seemed to be
the control that was being the issue.
Your WebCalendar control works fine in MVC, and I've neatly implemented the Hiearchial Grid on the same page.
I would recommend Infragistics controls to anyone using MVC - a little care is required that's all.
I'll be happy to post my final implementation tips once I am done.
Was there any other help you needed here? I will forward this info to our product staff. I see you've posted a number of times working with the controls in MVC. Please let me know if you need anything else.
Thanks,