RadAjaxManager & Multiple TextBox Updates in a Table Cell

2 posts, 1 answers
  1. Mark Galbreath
    Mark Galbreath avatar
    171 posts
    Member since:
    Jul 2009

    Posted 12 Jan 2010 Link to this post

    I have 1 RadComboBox in an HTML table cell, and 3 RadTextBoxes in an HTML table cell.  The combobox will (I hope) populate the 3 textboxes with areacode + prefix + number based on the selected index in the combobox.  There is more than enough horizontal real estate for these controls to exist inline in the 2 table cells. But...when I add this:

        <telerik:AjaxSetting AjaxControlID="radComboBoxID">  
                <telerik:AjaxUpdatedControl ControlID="radTextBoxHomeAC" LoadingPanelID="RadLoadingPanel1"/>  
                <telerik:AjaxUpdatedControl ControlID="radTextBoxHomePrefix" LoadingPanelID="RadLoadingPanel1"/>  
                <telerik:AjaxUpdatedControl ControlID="radTextBoxHomeNum" LoadingPanelID="RadLoadingPanel1"/>  

    The 3 texboxes are stacked vertically on top of one another.  I remove the AjaxSettings, and they go horizontal again.

    What's up with this?

  2. Answer
    Dimo avatar
    8319 posts

    Posted 13 Jan 2010 Link to this post

    Hi Mark,

    Ajaxified controls are wrapped in update panels, which are by default block-level <div> elements.

    Please refer to: http://www.telerik.com/help/aspnet-ajax/layout-problem-updated-controls-on-new-line.html

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top