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

Can controls be a panel?

1 Answer 47 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Lenny_shp
Top achievements
Rank 2
Lenny_shp asked on 19 Mar 2009, 06:57 PM
I converted a project that was previously using old RadAjax Manager to Q1 2009 RadAjax for ASP .NET.
The old style of letting all the controls within pnl1 regular ASP Panel to modify txtException worked fine.
With Q1 2009, I have to specify each individual control within pnl1 in order to update txtException.
Is this expected behavior?

<asp:Panel ID="pnl1">
   radio buttons
</asp:Panel>

Previous Code:
                <telerik:AjaxSetting AjaxControlID="pnl1">
                    <updatedcontrols>
                        <telerik:AjaxUpdatedControl ControlID="txtException" />
                    </updatedcontrols>                
                </telerik:AjaxSetting>

Q1 2009:
                <telerik:AjaxSetting AjaxControlID="rdoCntrl1">
                    <updatedcontrols>
                        <telerik:AjaxUpdatedControl ControlID="txtException" />
                    </updatedcontrols>                
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="rdoCntrl2">
                    <updatedcontrols>
                        <telerik:AjaxUpdatedControl ControlID="txtException" />
                    </updatedcontrols>                
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="rdoCntrl3">
                    <updatedcontrols>
                        <telerik:AjaxUpdatedControl ControlID="txtException" />
                    </updatedcontrols>                
                </telerik:AjaxSetting>

                <telerik:AjaxSetting AjaxControlID="pnl1">
                    <updatedcontrols>
                        <telerik:AjaxUpdatedControl ControlID="txtException" />
                    </updatedcontrols>                
                </telerik:AjaxSetting>

1 Answer, 1 is accepted

Sort by
0
SamJ
Top achievements
Rank 1
answered on 22 Mar 2009, 12:41 AM
Hi,

You could simply change the Previous Code to this below and it would work with the new RadAjaxManager:

<telerik:AjaxSetting AjaxControlID="pnl1"
    <updatedcontrols> 
        <telerik:AjaxUpdatedControl ControlID="pnl1" />    
        <telerik:AjaxUpdatedControl ControlID="txtException" /> 
    </updatedcontrols>                 
</telerik:AjaxSetting> 

SamJ



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