I have 2 RadTreeViews and a FormView on a form.
When something is clicked from the first TreeView, it populates the second one. When something is clicked from the second RadTreeView, it populates the FormView. All of this works perfectly up to here.
When I click the "Edit" link button of the FormView at this point, nothing happens. Even when i attempt to do it manually from code - nothing happens.
Simple Edit Button on the FormView's ItemTemplate:
When something is clicked from the first TreeView, it populates the second one. When something is clicked from the second RadTreeView, it populates the FormView. All of this works perfectly up to here.
When I click the "Edit" link button of the FormView at this point, nothing happens. Even when i attempt to do it manually from code - nothing happens.
<
telerik:RadAjaxManager
ID
=
"RadAjaxManager1"
runat
=
"server"
>
<
AjaxSettings
>
<
telerik:AjaxSetting
AjaxControlID
=
"RadAjaxManager1"
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"treeSellers"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"lblBuyers"
UpdatePanelCssClass
=
""
/>
<
telerik:AjaxUpdatedControl
ControlID
=
"treeBuyers"
UpdatePanelCssClass
=
""
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
<
telerik:AjaxSetting
AjaxControlID
=
"treeBuyers"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"formBuyerDetails"
UpdatePanelCssClass
=
""
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
</
AjaxSettings
>
</
telerik:RadAjaxManager
>
Simple Edit Button on the FormView's ItemTemplate:
<
asp:LinkButton
ID
=
"link_edit"
runat
=
"server"
CommandName
=
"Edit"
>Edit</
asp:LinkButton
>
Protected Sub formBuyerDetails_ItemCommand(sender As Object, e As FormViewCommandEventArgs) Handles formBuyerDetails.ItemCommand
If (e.CommandName = "Edit") Then
formBuyerDetails.ChangeMode(FormViewMode.Edit) 'Doesnt Work
ElseIf (e.CommandName = "Cancel") Then
formBuyerDetails.ChangeMode(FormViewMode.ReadOnly) 'This probably doesnt either, but I cant even get here
ElseIf (e.CommandName = "UpdateBuyer") Then
'UPDATE function here
End If
End Sub