Using a RadGrid that has 'WebUserControl' as EditFormType:
In the WebUserControl I would love to use a RadToolbar to issue commands. That is instead of
I want to use
However, clicking the RadToolBarButtons has no effect.
What am I missing
| <EditFormSettings EditFormType="WebUserControl" UserControlName="UserControls/NewsAddUpdate.ascx"> |
| <EditColumn UniqueName="EditCommandColumn1"></EditColumn> |
| </EditFormSettings> |
In the WebUserControl I would love to use a RadToolbar to issue commands. That is instead of
| <asp:Button ID="buttonAddUpdate" Text='<%# DataItem is Telerik.Web.UI.GridInsertionObject ? "Insert" : "Update" %>' runat="server" CommandName='<%# DataItem is Telerik.Web.UI.GridInsertionObject ? "PerformInsert" : "Update"%>' /> |
| <asp:Button ID="buttonCancel" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel" /> |
I want to use
| <telerik:RadToolBar runat="server" ID="toolbarCommands" Skin="Office2007" > |
| <Items> |
| <telerik:RadToolBarButton runat="server" Text="Cancel" CommandName="Cancel" CausesValidation="false" /> |
| <telerik:RadToolBarButton runat="server" CommandName="Update" /> |
| <telerik:RadToolBarButton runat="server" CommandName="PerformInsert" /> |
| </Items> |
| </telerik:RadToolBar> |
However, clicking the RadToolBarButtons has no effect.
What am I missing