<%@ Page AutoEventWireup="true" CodeFile="DefaultVB.aspx.vb" Inherits="Telerik.Web.Examples.Window.MinMaxSize.DefaultVB"Language="vb" %>
<!DOCTYPE html>
<
head
runat
=
"server"
>
<
title
>Telerik ASP.NET Example</
title
>
<
link
href
=
"styles.css"
rel
=
"stylesheet"
type
=
"text/css"
/>
<
script
src
=
"scripts.js"
type
=
"text/javascript"
></
script
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadScriptManager
runat
=
"server"
ID
=
"RadScriptManager1"
/>
<
telerik:RadSkinManager
ID
=
"RadSkinManager1"
runat
=
"server"
ShowChooser
=
"true"
/>
<
telerik:RadAjaxManager
runat
=
"server"
ID
=
"RadAjaxManager"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"Button1"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"RadWindow1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
<
div
id
=
"window-container"
class
=
"demo-container"
>
<
telerik:RadWindow
RenderMode
=
"Lightweight"
ID
=
"RadWindow1"
runat
=
"server"
VisibleOnPageLoad
=
"true"
OffsetElementID
=
"window-container"
OnClientShow
=
"telerikDemo.centerWindowInOffsetElement"
>
</
telerik:RadWindow
>
</
div
>
<
qsf:ConfiguratorPanel
runat
=
"server"
ID
=
"ConfigurationPanel1"
>
<
Views
>
<
qsf:View
>
<
qsf:ConfiguratorColumn
runat
=
"server"
Title
=
"Set RadWindow's size properties"
Size
=
"Wide"
>
<
ul
class
=
"fb-group"
>
<
li
>
<
qsf:NumericTextBox
Label
=
"Width (px)"
MinValue
=
"0"
AllowOutOfRangeAutoCorrect
=
"true"
NumberFormat-DecimalDigits
=
"0"
runat
=
"server"
Size
=
"Narrow"
ID
=
"Width"
MaxValue
=
"1500"
>
</
qsf:NumericTextBox
>
<
qsf:NumericTextBox
Label
=
"Height (px)"
MinValue
=
"0"
AllowOutOfRangeAutoCorrect
=
"true"
NumberFormat-DecimalDigits
=
"0"
runat
=
"server"
Size
=
"Narrow"
ID
=
"Height"
MaxValue
=
"1500"
>
</
qsf:NumericTextBox
>
</
li
>
<
li
>
<
qsf:NumericTextBox
Label
=
"MaxWidth (px)"
Size
=
"Narrow"
MinValue
=
"0"
AllowOutOfRangeAutoCorrect
=
"true"
NumberFormat-DecimalDigits
=
"0"
runat
=
"server"
ID
=
"MaxWidth"
MaxValue
=
"1500"
>
</
qsf:NumericTextBox
>
<
qsf:NumericTextBox
Label
=
"MaxHeight (px)"
Size
=
"Narrow"
MinValue
=
"0"
AllowOutOfRangeAutoCorrect
=
"true"
NumberFormat-DecimalDigits
=
"0"
runat
=
"server"
ID
=
"MaxHeight"
MaxValue
=
"1500"
>
</
qsf:NumericTextBox
>
</
li
>
<
li
>
<
qsf:NumericTextBox
Label
=
"MinWidth (px)"
Size
=
"Narrow"
MinValue
=
"0"
AllowOutOfRangeAutoCorrect
=
"true"
NumberFormat-DecimalDigits
=
"0"
runat
=
"server"
ID
=
"MinWidth"
MaxValue
=
"1500"
>
</
qsf:NumericTextBox
>
<
qsf:NumericTextBox
Label
=
"MinHeight (px)"
Size
=
"Narrow"
MinValue
=
"0"
AllowOutOfRangeAutoCorrect
=
"true"
NumberFormat-DecimalDigits
=
"0"
runat
=
"server"
ID
=
"MinHeight"
MaxValue
=
"1500"
>
</
qsf:NumericTextBox
>
</
li
>
<
li
>
<
qsf:Button
ID
=
"Button1"
runat
=
"server"
Text
=
"Apply Configuration"
Width
=
"180px"
OnClick
=
"ConfigureRadWindow"
Size
=
"Wide"
/>
</
li
>
</
ul
>
</
qsf:ConfiguratorColumn
>
</
qsf:View
>
</
Views
>
</
qsf:ConfiguratorPanel
>
</
form
>
</
body
>
</
html
>