Hi
I am using Radwindow as a modal popup for inline form editing. I have created a wizard, using standard 'asp:panels', inside the ContentTemplate of the Radwindow to break up the form in to smaller chunks. In each asp:panel there is a 'next' and 'back' button which is used to navigate between them. These buttons control server side functions to show/hide the various panels during navigation, and perform some form validation etc. in the background. I need this server side functionality.
The Radwindow is initially hidden on page load, but the 'ButtonAddNew' button is clicked to show it, ready to add a new item.
The problem is that during navigation between panels the page flickers badly in Chrome, Opera and IE (not in Firefox) - I guess it is posting back on the navigation button click. The panels always appear in the end, but the flicker is annoying as a user experience. I have tried putting a RadAjaxPanel around the RadWindowManager to try and stop the flicker - and get a smooth navigation - but this is not working.
Any help would be much appreciated. I have summarised some of the main code below. The Telerik controls are Q3 2010 and it's ASP.NET 3.5.
Thanks in advance.
Kevin
=====================================================
Note: the Radwindow is in a usercontrol. In the Master page there is a standard ScriptManager - I'm using this as there are also some 'ASP.NET Control Toolkit' controls on some of the pages:
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
I am using Radwindow as a modal popup for inline form editing. I have created a wizard, using standard 'asp:panels', inside the ContentTemplate of the Radwindow to break up the form in to smaller chunks. In each asp:panel there is a 'next' and 'back' button which is used to navigate between them. These buttons control server side functions to show/hide the various panels during navigation, and perform some form validation etc. in the background. I need this server side functionality.
The Radwindow is initially hidden on page load, but the 'ButtonAddNew' button is clicked to show it, ready to add a new item.
The problem is that during navigation between panels the page flickers badly in Chrome, Opera and IE (not in Firefox) - I guess it is posting back on the navigation button click. The panels always appear in the end, but the flicker is annoying as a user experience. I have tried putting a RadAjaxPanel around the RadWindowManager to try and stop the flicker - and get a smooth navigation - but this is not working.
Any help would be much appreciated. I have summarised some of the main code below. The Telerik controls are Q3 2010 and it's ASP.NET 3.5.
Thanks in advance.
Kevin
=====================================================
Note: the Radwindow is in a usercontrol. In the Master page there is a standard ScriptManager - I'm using this as there are also some 'ASP.NET Control Toolkit' controls on some of the pages:
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
User control with Radwindow wizard:
<%@ Control language="VB" AutoEventWireup="false" CodeFile="gallery.ascx.vb" Inherits="Gallery" %>
<%@ Reference VirtualPath="~/sites_admin/admin.master" %>
<!-- this buttons opens the popup -->
<
asp:Button
ID
=
"ButtonAddNew"
runat
=
"server"
CausesValidation
=
"false"
OnClick
=
"ButtonAddNew_Click"
/>
<
telerik:RadAjaxPanel
ID
=
"RadAjaxPanel1"
runat
=
"server"
>
<
telerik:RadWindowManager
ID
=
"RadWindowManager01"
Modal
=
"true"
runat
=
"server"
>
<
Windows
>
<
telerik:RadWindow
ID
=
"RadWindowImageEdit"
Skin
=
"kSitefinity"
AutoSize
=
"true"
EnableEmbeddedSkins
=
"false"
EnableEmbeddedBasestylesheet
=
"false"
Behaviors
=
"Close"
VisibleTitlebar
=
"true"
VisibleStatusbar
=
"false"
KeepInScreenBounds
=
"true"
EnableShadow
=
"false"
VisibleOnPageLoad
=
"False"
runat
=
"server"
>
<
ContentTemplate
>
<
div
style
=
"width: 900px; padding: 6px;"
>
<
asp:panel
id
=
"panel01"
runat
=
"server"
>
<!--Form part 1 content here -->
<
asp:button
id
=
"ButtonNext01"
ValidationGroup
=
"vgText"
CausesValidation
=
"True"
runat
=
"server"
OnClick
=
"OnClick_ButtonNext01"
/>
</
asp:panel
>
<
asp:panel
id
=
"panel02"
runat
=
"server"
>
<!--Form part 2 content here -->
<
asp:button
id
=
"Buttonback02"
ValidationGroup
=
"vgText"
CausesValidation
=
"True"
runat
=
"server"
OnClick
=
"OnClick_Buttonback02"
/>
</
asp:panel
>
</
div
>
</
ContentTemplate
>
</
telerik:RadWindow
>
</
Windows
>
</
telerik:RadWindowManager
>
</
telerik:RadAjaxPanel
>
CODE BEHIND:
'this pops up the window the first time ready to add a new item
Protected Sub ButtonAddNew_Click(ByVal sender As Object, ByVal e As EventArgs)
'some server side code here
'show the modal popup
RadWindowImageEdit.VisibleOnPageLoad = True
End Sub
'panel navigation
Protected Sub OnClick_ButtonNext01(ByVal sender As Object, ByVal e As EventArgs)
'some validation code here
panel02.Visible = True
panel01.Visible = False
End Sub
Protected Sub OnClick_Buttonback02(ByVal sender As Object, ByVal e As EventArgs)
'some validation code here
panel02.Visible = False
panel01.Visible = True
End Sub