Are there any razor example of how to use the Layout Manager?
Hello Tammy,
At this time the Layout Manager is still in CTP and as such it isn't part of the Infragistics MVC wrappers. Due to this you still have to set up everything for the Layout Manager through pure markup and JavaScript. I've attached a sample I put together that uses the Layout Manager with Razor. I've included a word doc I wrote that describes the steps to follow to set up an MVC4 application using the Layout Manager and the Grid with Razor.
Please let me know if you have any questions about this approach or if I may provide any other assistance.
I get this error trying to run this:
Unhandled exception at line 24, column 36 in http://localhost:10940/
0x800a138f - JavaScript runtime error: Unable to get property 'loader' of undefined or null reference
on this line:
<script type=
<script type="text/javascript">$.ig.loader({ scriptPath: '/Scripts/IG/', cssPath: '/Content/IG/', resources: 'igLayoutManager' });
Any ideas?
To be able to upload the zip file I had to remove the scripts to make the file smaller. To get past the error you'll either need to copy the Infragistics script files in to the Scripts/IG folder from your local install folder or you'll need to swap out the references to use the CDN version of the loader. At a minimum, include the infragistics.loader.js script file as well as the contents of the modules folder.
You'll also need to copy in the CSS files for the content folder to have the controls render correctly.
For info about using the CDN instead, please see the following documentation:
http://help.infragistics.com/Help/NetAdvantage/jQuery/2013.1/CLR4.0/html/Deployment_Guide_Infragistics_Content_Delivery_Network(CDN).html#_Ref322019185
Are there any known issues with the layout manager hosting a splitter with a panel? We had our splitter and panel working where you click on a tree node and it sets a div to be visible in the panel. When we move it into the layout manager defined in in our Layout class the contents of the panel will not appear anymore. You click and it sets the display to block but it does not show up in the panel.
Awesome
This issue is now fixed in the latest service release for Ignite UI 2013 Vol. 1. The build is 13.1.20131.2143.
It looks like this is an issue with the Splitter itself whenever it either has a percentage width or the width isn't even set (as shown in your sample). I've logged a new development issue with an ID of 142820 so that the development team case research this further. I am creating a private case for you that you can use to track the status of this development issue.
In the meantime, you can work around this behavior by setting a pixel width or number width on the splitter.
Sure, please email support@infragistics.com with "Attn: Jason" in the subject.
I have created an example but it won't seem to upload. Can I email you a link to download it?