| Public Sub ValidateOccupation(ByVal source As Object, ByVal e As ServerValidateEventArgs) |
| ' verifie s'il est en edition |
| Dim mess As StringString = String.Empty |
| If grdTerritory.EditItems.Count > 0 Then |
| Dim Description As StringString = String.Empty |
| Dim lstOcc As List(Of Occupation) = New List(Of Occupation) |
| Dim editedItem As GridItem = grdTerritory.EditItems(0) |
| DirectCast(editedItem.FindControl("lblErrorMessage"), Label).Text = mess |
| If GetInfoEditableItem(editedItem, Description, ID.ToString, lstOcc) Then |
| Try |
| mess = OccupationValidator(ID.ToString, lstOcc, TerritoryAction.Update) |
| Catch ex As Exception |
| Throw |
| End Try |
| End If |
| If Not String.IsNullOrEmpty(mess) Then |
| e.IsValid = False |
| Else |
| e.IsValid = True |
| End If |
| End If |
The RadEditor says it is fully supported with .Net 2.0 but when I create a VS 2.0 project the RadControls never appear in the VS toolbox .
I also notice that the current version of the RadEditor requires version 3.5 of the .Net Framework since it uses the System.Web.Extensions file in that version. Will it work if I swap in the 1.0 version?
Can you point me to the information I need to get the RadEditor working in a project running off of 3.0 of the .Net Framework (or 2.0).
Thanks.

Hi,
I have a radgrid and within this radgrid, I have two comboboxes in the edit/insert form. I want to ajaxify the comboboxes, such that one combobox "onselectedindexchanged" event should refresh the second one. Additionally, I want to ajaxify the insert/update/delete operations of the radgrid too. So I wrote the following code:
| <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" > |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="RadComboBox1"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="RadComboBox2" LoadingPanelID="LoadingPanel1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| <telerik:AjaxSetting AjaxControlID="RadGrid1" > |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="LoadingPanel1" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
The problem is; when radcombobox1 is changed, the whole radgrid refreshes, not just radcombobox2. How do I prevent this? I want only radcombobox2 refreshed when radcombobox1's index is changed.
Thanks in advance.
Note: Radcombobox1 and radcombobox2 is in edit form of the radgrid1.