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,
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:
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.