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

Ajax manager inserts spaces

4 Answers 62 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
El
Top achievements
Rank 1
El asked on 30 Jan 2009, 12:14 AM
Whenever i add some controls to be updated by the respective AJAX they change their initial positions.

Say all the three textBox controls were on the same line previously and now they are each in a different row with a lot of blank space around. It seems like Ajax manager is adding something near the controls so they cannot remain to the same places (initial positions).

How do i work around this problem?

Thank you

4 Answers, 1 is accepted

Sort by
0
Accepted
SamJ
Top achievements
Rank 1
answered on 31 Jan 2009, 09:21 AM
Hi,

Try setting the UpdatePanelsRenderMode property of the RadAjaxManager to Inline:

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"  
    UpdatePanelsRenderMode="Inline"
</telerik:RadAjaxManager> 
 

I hope this will help.
0
El
Top achievements
Rank 1
answered on 31 Jan 2009, 09:53 AM
Fantastic! But, why the UpdatePanelsRenderMode is not supported by the VS 2k8 intellisense?
However once i pasted it the odd spaces disappeared. Thank you very much.
0
El
Top achievements
Rank 1
answered on 31 Jan 2009, 10:05 AM
Ups sorry my bad. The UpdatePanelsRenderMode was not of help actually.
I just tested it with the radgrid but as soon as i ajax-ified the textbox and buttons i got the spaces again.
Any other ideas?
0
El
Top achievements
Rank 1
answered on 31 Jan 2009, 10:22 AM
Ok i just found this help file which explains the layout problem.
http://www.telerik.com/help/aspnet-ajax/layout-problem-updated-controls-on-new-line.html
It seems that i have a bit older version so this is not applying for me.

However thank you for the reply.



Tags
Ajax
Asked by
El
Top achievements
Rank 1
Answers by
SamJ
Top achievements
Rank 1
El
Top achievements
Rank 1
Share this question
or