Hi.
I´ve got some problem to get my template manager dialog to fit my needs.
As below I set with / height of the dialog from code-behind, but i also need to set new width / height to the iframe that holds "preview".
How can i access Template Manager dialog iframe "templateIframe" to set my own width / height?
/Mattias
I´ve got some problem to get my template manager dialog to fit my needs.
As below I set with / height of the dialog from code-behind, but i also need to set new width / height to the iframe that holds "preview".
protected
override
void
OnInit(EventArgs e)
{
base
.OnInit(e);
this
.Page.PreRenderComplete +=
new
EventHandler(Page_PreRenderComplete);
}
void
Page_PreRenderComplete(
object
sender, EventArgs e)
{
Telerik.Web.UI.DialogDefinition TemplateManager = bloggEditor.GetDialogDefinition(
"TemplateManager"
);
TemplateManager.Height = Unit.Pixel(500);
TemplateManager.Width = Unit.Pixel(1020);
}
How can i access Template Manager dialog iframe "templateIframe" to set my own width / height?
/Mattias