or
<telerik:RadTabStrip runat="server" ID="rtsDetails" Skin="Default" Orientation="HorizontalTop" SelectedIndex="0" MultiPageID="rmpDetails" CausesValidation="false" Width="100%" OnClientTabSelected="OnClientTabSelected"> <Tabs> <telerik:RadTab Text="My Details" Value="0"> </telerik:RadTab> <telerik:RadTab Text="IT Assets" Value="1"> </telerik:RadTab> <telerik:RadTab Text="Action Requests" Value="2" IsBreak="true"> </telerik:RadTab> <telerik:RadTab Text="Correspondence" Value="3"> </telerik:RadTab> <telerik:RadTab Text="Purchase Orders" Value="4" > </telerik:RadTab> <telerik:RadTab Text="Support Calls" Value="5"> </telerik:RadTab> </Tabs> </telerik:RadTabStrip>Below I have an image of my running page.
I have my Update button in Edit.ascx <td align="right"> <asp:Button ID="btnUpdate" Text="Update" runat="server" CommandName="Update" Visible='<%# Not (TypeOf DataItem Is Telerik.Web.UI.GridInsertionObject) %>'> </asp:Button> <asp:button id="btnCancel" text="Cancel" runat="server" causesvalidation="False" commandname="Cancel"></asp:button> </td> And I have my server side code: in exit.ascx.vb Protected Sub btnUpdate_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btnUpdate.Click 'Set Varibles . . . End Sub Telerick grid in view.ascx . . . <telerik:GridEditCommandColumn UniqueName="EditCommandColumn"> </telerik:GridEditCommandColumn> </Columns> <EditFormSettings UserControlName="desktopModules/AAUMembershipHist01/Edit.ascx" EditFormType="WebUserControl"> <EditColumn UniqueName="EditCommandColumn1"> </EditColumn> </EditFormSettings> . . . Running my trace I find that the Server side code never gets executed. Doing something wrong. Can someone point my in the right direction?protected void RadScheduler1_NavigationComplete(object sender, SchedulerNavigationCompleteEventArgs e){ RadCalendar1.SelectedDate = RadScheduler1.SelectedDate;}<telerik:AjaxSetting AjaxControlID="RadScheduler1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1"/> <telerik:AjaxUpdatedControl ControlID="RadCalendar1" LoadingPanelID="RadAjaxLoadingPanel1"/> </UpdatedControls></telerik:AjaxSetting>// control is the Control validation is being added tocontrol.Parent.Controls.Add(requiredFieldValidator);protected void rgPmpDetails_ItemDataBound(object sender, GridItemEventArgs e){ const string valGroup = "vgEditPmpDetails"; GridHelper.AddEditValidator(e, "rntbCreditPercentGrid", valGroup, "Premium Credit"); GridHelper.SetFocusToFirstControlWhenInEditMode(e, "rntbCreditPercentGrid");}public static void AddEditValidator(GridItemEventArgs e, string controlId, string validationGroup, string fieldName, bool isMultiSelect = false){ if ((e.Item is GridEditableItem) && e.Item.IsInEditMode) { Control control = e.Item.FindControl(controlId); if (control != null) { if (control is TextBox) { (control as TextBox).ValidationGroup = validationGroup; (control as TextBox).AddValidator(fieldName); } else if (control is DropDownList) { (control as DropDownList).ValidationGroup = validationGroup; (control as DropDownList).AddValidator(fieldName); } else if (control is RadNumericTextBox) { (control as RadNumericTextBox).ValidationGroup = validationGroup; (control as RadNumericTextBox).AddValidator(fieldName); } else if (control is RadComboBox) { (control as RadComboBox).ValidationGroup = validationGroup; (control as RadComboBox).AddValidator(fieldName, isMultiSelect); } else if (control is RadDatePicker) { (control as RadDatePicker).DateInput.ValidationGroup = validationGroup; (control as RadDatePicker).AddValidator(fieldName); } else { throw new NotImplementedException("Controls of type [" + control.GetType() + "] have not been implemented in GridHelper.AddEditValidator."); } } ImageButton imageButton = e.Item.FindControl("UpdateButton") as ImageButton; if (imageButton != null) { imageButton.ValidationGroup = validationGroup; } }}