Hi,
I generate the window programmatically, this works , the iwndow pop's up but without any setting at all , somehow not one single setting renders ... any idea ???, TKS!
I generate the window programmatically, this works , the iwndow pop's up but without any setting at all , somehow not one single setting renders ... any idea ???, TKS!
***
in
my page ****
if
(!IsPostBack)
{
GetTelerikWindow( placeholder ); }
**** In library *************
public
static
void
GetTelerikWindow( PlaceHolder ph ,
string
WindowId,
string
windowname,
int
height,
int
width, Boolean autosize)
{
RadWindowManager TWindowMgr =
new
RadWindowManager();
TWindowMgr.ID=
"Manager_"
+WindowId;
TWindowMgr.EnableShadow =
true
;
RadWindow TWindow =
new
RadWindow();
TWindow.ID=WindowId;
TWindow.Title=windowname;
TWindow.ShowContentDuringLoad=
false
;
TWindow.Width=width;
TWindow.Height=height;
TWindow.VisibleStatusbar=
false
;
TWindow.Modal =
true
;
TWindow.AutoSize = autosize;
TWindow.KeepInScreenBounds =
true
;
TWindow.Skin =
"WebBlue"
;
TWindowMgr.Controls.Add(TWindow);
ph.Controls.Add(TWindowMgr);
}