Hello,
i've the problem with autosize radwindow, because whan i open radwindow you can see the scroolbar I would rather that not be seen.
this is the code of the web page that call radwindow:
and code behind is:
code behind
this is the code web page that is load into radwindow:
this is css code:
please to see the image posted: name image is immagine_new.jpg
i've the problem with autosize radwindow, because whan i open radwindow you can see the scroolbar I would rather that not be seen.
this is the code of the web page that call radwindow:
<
telerik:RadWindow
ID
=
"RadWindowCard"
runat
=
"server"
AutoSize
=
"True"
IconUrl
=
"/image/iconlogo.png"
ReloadOnShow
=
"True"
NavigateUrl
=
"publicard.aspx"
Behaviors
=
"Close"
RestrictionZoneID
=
"NavigateUrlZone"
Height
=
"100"
Skin
=
"Simple"
VisibleStatusbar
=
"False"
Title
=
"Caricamento biglietto da visita..."
ShowContentDuringLoad
=
"False"
Width
=
"300"
Modal
=
"true"
>
</
telerik:RadWindow
>
and code behind is:
Dim
script
As
String
=
"function f(){$find("
""
+ RadWindowCard.ClientID +
""
").show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);"
ScriptManager.RegisterStartupScript(
Me
,
Me
.[
GetType
](),
"key"
, script,
True
)
code behind
Dim
script
As
String
=
"function f(){$find("
""
+ RadWindowCard.ClientID +
""
").show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);"
ScriptManager.RegisterStartupScript(
Me
,
Me
.[
GetType
](),
"key"
, script,
True
)
this is the code web page that is load into radwindow:
<
form
id
=
"form1"
runat
=
"server"
>
<
asp:ScriptManager
ID
=
"ScriptManager1"
runat
=
"server"
EnablePageMethods
=
"true"
>
</
asp:ScriptManager
>
<
asp:HiddenField
ID
=
"contenitoredati"
runat
=
"server"
/>
<
telerik:RadFormDecorator
ID
=
"QsfFromDecorator"
runat
=
"server"
DecoratedControls
=
"Default, Textbox, Textarea, Label"
Skin
=
"Sunset"
/>
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
DefaultLoadingPanelID
=
"RadAjaxLoadingPanel1"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"ImageButtonRicerca"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"Panel1"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadMenu1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadAjaxPanel1"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
telerik:RadNotification
ID
=
"RadNotification1"
runat
=
"server"
AutoCloseDelay
=
"3500"
Height
=
"100px"
Skin
=
"Simple"
Title
=
"Trycontact"
TitleIcon
=
"~/Image/iconlogo.png"
Width
=
"400px"
Position
=
"Center"
>
</
telerik:RadNotification
>
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanel1"
Runat
=
"server"
Skin
=
"Simple"
BorderColor
=
"#D5842B"
BorderStyle
=
"Double"
HorizontalAlign
=
"Center"
BorderWidth
=
"1px"
>
</
telerik:RadAjaxLoadingPanel
>
<
telerik:RadWindowManager
ID
=
"RadWindow_Conferma"
runat
=
"server"
Modal
=
"True"
Skin
=
"Office2010Silver"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"RadWindowAppuntamento"
runat
=
"server"
ShowContentDuringLoad
=
"false"
Width
=
"527px"
Height
=
"450px"
Title
=
"Richiesta appuntamento"
Behaviors
=
"None"
Modal
=
"True"
IconUrl
=
"/image/iconlogo.png"
Behavior
=
"None"
Font-Names
=
"Verdana"
Font-Size
=
"Small"
VisibleStatusbar
=
"False"
Skin
=
"Simple"
ReloadOnShow
=
"True"
NavigateUrl
=
"appuntamento.aspx"
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
<
div
class
=
"profilebody"
>
</
div
>
</
form
>
this is css code:
.profilebody
{
background-image
:
url
(
'/Image/banner.jpg'
);
background-repeat
:
no-repeat
;
width
:
1024px
;
height
:
85px
;
text-align
:
center
;
font-family
:
Verdana
;
font-size
:
small
;
margin
:
0px
;
border
:
0px
;
position
:
static
;
}
please to see the image posted: name image is immagine_new.jpg