This is a migrated thread and some comments may be shown as answers.

Opening RadWindow removes user controls

1 Answer 23 Views
Window
This is a migrated thread and some comments may be shown as answers.
Elliott
Top achievements
Rank 2
Elliott asked on 31 May 2013, 05:52 PM
I inherited a web site with a number of update panels
I added a RadWindow not in any of the update panels but containing an update panel
the page adds one or more user controls to the page as part of the initial page load
opening the radwindow removes these

I got around it with a kluge in the page load
If Me.IsPostBack Then
    If rwLumpSum.Visible Then ' postback from opening the RadWindow
        ws = New CommonFunctions("Orders")
        BuildStoresfromChain(ws)
    End If
    GoTo Attributes
End If

is there a better way?

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 05 Jun 2013, 01:51 PM
Hello Marianne,

I am not actually sure what does the provided code snippet as it is just a separate part. What I can suggest you, however, is to examine the How to Use RadWindow with AJAX help article as well as this KB that sheds more light on the matter.

Regards,
Danail Vasilev
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Window
Asked by
Elliott
Top achievements
Rank 2
Answers by
Danail Vasilev
Telerik team
Share this question
or