How do I define a class name for inner controls of a composite control ?
Hi guys,
I have a composite control and would like to have ability to set style for it's internal controls, how can I do that with respect to the name of template I define inside of the element. Will thr following example work?
I want to have a class like this .aw-ui-infoPanel-inner
I have a composite control and would like to have ability to set style for it's internal controls, how can I do that with respect to the name of template I define inside of the element. Will thr following example work?
obj.defineTemplate( "innerDiv", new AW.HTML.DIV );
with (template = obj.getTemplate( "innerDiv" ) )
{
setStyle("width", "100%");
setStyle("height", "100%");
[b]setClass("comeClass");[/b]
}
I want to have a class like this .aw-ui-infoPanel-inner
Andrew
December 21,