Aug 05, 2009, 11:43 AM
[CLOSED] alignTo not working when doing custom theming
I was trying to figure out how to center a control in a panel, and having no luck until I ran across this example which worked as written.
http://forums.ext.net/showthread.php...6496-16-1.aspx
However, when I tried to incorporated this in my project it failed. I traced this down to the fact that we are using custom ASP.NET Themes, and in my ScriptManager we are setting RenderStyles=None because we are providing the styles ourselved and we don't want them provided from the resources resources.
To duplicate this problem, simply set RenderSyles=None in this example.
It appears that the ...applyTo(this.body,'c-c') command in this example is dependent on some sytyle sheets you are providing that we are not. We are including the ext-all.css file in our App_Themes/{CurrentTheme} folder.
What am I missing? How can I get this example working with a custom Theme scenario?
http://forums.ext.net/showthread.php...6496-16-1.aspx
However, when I tried to incorporated this in my project it failed. I traced this down to the fact that we are using custom ASP.NET Themes, and in my ScriptManager we are setting RenderStyles=None because we are providing the styles ourselved and we don't want them provided from the resources resources.
To duplicate this problem, simply set RenderSyles=None in this example.
It appears that the ...applyTo(this.body,'c-c') command in this example is dependent on some sytyle sheets you are providing that we are not. We are including the ext-all.css file in our App_Themes/{CurrentTheme} folder.
What am I missing? How can I get this example working with a custom Theme scenario?