Ok so I am completely new to this concept so I am looking for a "For Dummies" approach to accomplishing my task.
Basically I want to render a RadWindow at runtime for the simple fact that I do NOT want to have the code in my ASPX file... for cleanliness reasons.
Where have I gone wrong?
Basically I want to render a RadWindow at runtime for the simple fact that I do NOT want to have the code in my ASPX file... for cleanliness reasons.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load |
'Create RadWindow Instance |
Dim RadWindow1 As New RadWindow |
RadWindow1.ID = "RadWindow1" |
RadWindow1.Skin = "Vista" |
RadWindow1.Modal = "true" |
RadWindow1.VisibleStatusbar = "false" |
RadWindow1.VisibleTitlebar = "true" |
RadWindow1.Behaviors = WindowBehaviors.Close ' & WindowBehaviors.Move |
RadWindow1.OpenerElementID = "Button1" |
RadWindow1.NavigateUrl = "~/App_Windows/ADMIN.aspx" |
RadWindow1.Width = "800" |
RadWindow1.Height = "650" |
RadWindow1.KeepInScreenBounds = "true" |
RadWindow1.EnableAjaxSkinRendering = "true" |
Me.Controls.Add(RadWindow1) |
End Sub |
Where have I gone wrong?