Hi Marin thanks for the reply.
i would like to check how do i resize those editor not in repeater?
i tried this but it is not entering the if(ctrl is RadEditor)
01.
foreach
(Control ctrl
in
Page.Controls)
02.
{
03.
if
(ctrl
is
RadEditor)
04.
{
05.
RadEditor control = ctrl
as
RadEditor;
06.
ScriptManager.RegisterClientScriptBlock(
this
,
this
.GetType(),
"alertMessage"
,
"alert('Now setting "
+ control.ClientID +
" width')"
,
true
);
07.
08.
if
(control !=
null
)
09.
{
10.
control.Width = Unit.Pixel(width);
11.
control.Height = Unit.Pixel(height);
12.
}
13.
else
14.
{
15.
ScriptManager.RegisterClientScriptBlock(
this
,
this
.GetType(),
"alertMessage"
,
"alert('Control "
+ ctrl.ClientID +
" not found')"
,
true
);
16.
return
;
17.
}
18.
}
19.
}