All,
I am converting from 2011 Vol 1 to 2013 vol 1. The site I am converting is full of inline styling. I can't seem to figure out how to do this with 2013 vol 1. Many of the data elements look different in different parts of the system, so applying one general theme is out.
For this problem I have a horizontal web menu, various root menu items need to be set to different widths. Previously this was set in the Code behind:
UltraWebMenu1.Items(0).Styles.Width = 190
UltraWebMenu1.Items(1).Styles.Width = 300
How the hec can I accomplish this in the 2013 vol 1 control set?
Hello Joe,
Infragistics is now using the new ASP.NET Aikido controls which default to using CSS for styling. To learn more about the Aikido controls, please visit the following blog post from Devin Rader:http://ko.infragistics.com/community/blogs/devin_rader/archive/2007/01/05/netadvantage-for-asp-net-aikido-ctp-released.aspx
Also, it appears that you were using the UltraWebMenu control, which has been retired for NetAdvantage 12.1. To learn more about the retirement of our classic controls, please visit the following post:http://ko.infragistics.com/community/blogs/taz_abdeali/archive/2010/03/04/asp-net-product-changes.aspx
Please let me know if you have any questions regarding this matter.
So directly accessing style properties in the code behind page isn't supported any more. If so, I have a huge problem. There are tons and tons of places in our app where we have Object.Style.BackgroudColor = "red" for instance.
I will be happy to assist you with your question.
The WebDataMenu can have its MenuItemWidth set using CSS as seen in the code snippets below: