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

[Solved] Layout breaks when RadAjax adds a wrapper DIV

2 Answers 68 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 15 Jun 2009, 07:22 PM
We've just converted several tools over to ASP.NET AJAX Q1 2009. After an extremely long and tedious road we've got most of the tools converted. However it appears the RadAjax adds a wrapper div around ajax'd controls. The wrapper div has a id of "control prefix + panel". (ie. <div id='ctl00_DefaultContentPanel' style='display:block'>).

Of course, adding an arbitrary block-level element is going to break a UI in many circumstances. Is there a workaround, or at the very least a way to add a style class so we can control it?

2 Answers, 1 is accepted

Sort by
0
Accepted
Iana Tsolova
Telerik team
answered on 16 Jun 2009, 09:14 AM
Hello Michael,

Please try setting the UpdatePanelsRenderMode property of the RadAjaxManager to Inline and see if this works for you.

Kind regards,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
Michael
Top achievements
Rank 1
answered on 16 Jun 2009, 04:05 PM
Thanks Lana, that did the trick!
Tags
Ajax
Asked by
Michael
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Michael
Top achievements
Rank 1
Share this question
or