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

Telerik wrapper Div

1 Answer 58 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chuck
Top achievements
Rank 1
Chuck asked on 17 Aug 2010, 05:13 PM

Does Telerik wrap my div in its own div?  When I set my div visible to false, my div is gone, but the telerik generated div ctl00_ctl00_dvMyDivPanel remains and causes white space issues.  There is no white space issue when I remove dvMyDiv from the UpdatedControls.  It would be nice if Telerik would collapse the white space or not display its wrapper div when my div is not there.

<telerik:AjaxSetting AjaxControlID="MyBigControl">
    <UpdatedControls>
        <telerik:AjaxUpdatedControl ControlID="dvMyDiv" />
    </UpdatedControls>
</telerik:AjaxSetting>


1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 18 Aug 2010, 08:11 AM
Hi Chuck,

The additional <div> that you receive is the update panel for the given AjaxSetting. If we do not generate it when your <div> is not visible, you will not be able to show it back.

Generally, it is good to ajaxify controls, which are always visible. So please move the AjaxSetting to the div's parent control.

Regards,
Dimo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Chuck
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or