Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
100
Create WebDialogWindow dynamically
posted

 How I crete a WebDialogWindow dynamically?

 

I try code:

 

 Dim Dialog As New Infragistics.Web.UI.LayoutControls.WebDialogWindow()
                Dim L As New Label
                L.Text = "DESEJA REALMENTE SAIR?"
                With Dialog
                    .Modal = True
                    .ContentPane.Controls.Add(L)
                    .Moveable = True
                    .Header.CaptionText = "Teste Caption"
                    .InitialLocation = Infragistics.Web.UI.LayoutControls.DialogWindowPosition.Centered
                    .WindowState = Infragistics.Web.UI.LayoutControls.DialogWindowState.Normal
                    .Visible = True
                    .DataBind()
                End With
                Me.Controls.Add(Dialog)

Parents Reply Children
No Data