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

Button with Postback causes controls to render incorrectly

2 Answers 46 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 07 Aug 2008, 08:28 PM
Hello,

I am using nested panels that are visible one at time to show a sequence of steps to fill out a form.
For example PanelMain( (panel1) (panel2) )

I am using the radajax manager to ajax the panels. Example below.
 <telerik:AjaxSetting AjaxControlID="btnStep1" > 
   <UpdatedControls> 
     <telerik:AjaxUpdatedControl ControlID="pnlMain" LoadingPanelID="RadAjaxLoadingPanel1" /> 
   </UpdatedControls> 
 </telerik:AjaxSetting> 


I had to implement the radfileupload control on a panel and I used the workaround
http://www.telerik.com/help/aspnet-ajax/ajxexclude.html step 3.  I had to nest a radajaxpanel within a asp:panel that was wired to the radajaxmanager to finally get it to work because I only wanted that section of the panel to fire a postback.  The upload button fires the postback.  The odd behavior is when radcontrols that are not currently visible on the panel and a postback event is fired then they will display incorrectly once they are made visible. The only way to fix the way they display would be to fire off the click event that caused the postback when these controls are visible.

Is this a glitch?

2 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 12 Aug 2008, 06:34 AM
Hi Mike,

Will it be convenient for you to open a regular support ticket and send us sample runnable project which represents the described behaviour. Please test the project using regular asp UpdatePanels instead of RadAjax and let us know if the problem still occurs.
Also please note that it is not supported scenario to add RadAjaxPanel into the RadAjaxManager settings.


Sincerely yours,
Maria Ilieva
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mike
Top achievements
Rank 1
answered on 08 Dec 2008, 11:35 PM
This was answered from another post. EnableAjaxSkinRendering had to be set to be reset to True for each control incorrectly rendering after a post back.
Tags
Ajax
Asked by
Mike
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Mike
Top achievements
Rank 1
Share this question
or