I have a basic time entry grid, with a RadComboBox and a set of RadNumericTextBoxes. I want to be able to tab from the Combo, through the textboxes, then to the 'Insert' and 'Cancel' links that are inherent when Inserting with RadGrid. I set the tab order in the ItemDataBound event. How can I programatically access the 'Insert' and 'Cancel' links in order to set the TabIndex for those?
|
|||||||||||||||||||||||||||||||
| <telerik:RadGrid runat="server" Visible="true" ID="detailsGrid" MasterTableView-EditMode="EditForms" | |||||||||||||||||||||||||||||||
| onneeddatasource="detailsGrid_NeedDataSource" Width="100%" AllowSorting="true" | |||||||||||||||||||||||||||||||
| MasterTableView-CommandItemDisplay="Bottom" ShowHeader="true" AutoGenerateColumns="False" | |||||||||||||||||||||||||||||||
| OnItemDataBound="detailsGrid_ItemDataBound" EnableLinqExpressions="false" onupdatecommand="detailsGrid_UpdateCommand" | |||||||||||||||||||||||||||||||
| oninsertcommand="detailsGrid_InsertCommand" onitemcommand="detailsGrid_ItemCommand"> | |||||||||||||||||||||||||||||||
| <MasterTableView DataKeyNames="taskName,taskID,projectid" editmode="InPlace" width="100%" > | |||||||||||||||||||||||||||||||
| <Columns> | |||||||||||||||||||||||||||||||
| <telerik:GridTemplateColumn UniqueName="TemplateColumn" HeaderText="Task" SortExpression="taskName" | |||||||||||||||||||||||||||||||
| EditFormHeaderTextFormat="Task:<FONT COLOR=RED > * </FONT>" > | |||||||||||||||||||||||||||||||
| <ItemTemplate> | |||||||||||||||||||||||||||||||
| <asp:Label id="Label1" runat="server" ToolTip=<%# DataBinder.Eval(Container.DataItem, "description") %>> | |||||||||||||||||||||||||||||||
| <%# DataBinder.Eval(Container.DataItem, "taskName") %> | |||||||||||||||||||||||||||||||
| </asp:Label> | |||||||||||||||||||||||||||||||
| </ItemTemplate> | |||||||||||||||||||||||||||||||
| <EditItemTemplate > | |||||||||||||||||||||||||||||||
| <telerik:RadComboBox id="List1" runat="server" AutoPostBack="true" OnSelectedIndexChanged="List1_SelectedIndexChanged" /> | |||||||||||||||||||||||||||||||
| </EditItemTemplate> | |||||||||||||||||||||||||||||||
| </telerik:GridTemplateColumn> | |||||||||||||||||||||||||||||||
| <telerik:GridNumericColumn DataField="day1" DataType="System.Decimal" /> | |||||||||||||||||||||||||||||||
| <telerik:GridNumericColumn DataField="day2" DataType="System.Decimal" /> | |||||||||||||||||||||||||||||||
| <telerik:GridNumericColumn DataField="day3" DataType="System.Decimal" /> | |||||||||||||||||||||||||||||||
| <telerik:GridNumericColumn DataField="day4" DataType="System.Decimal" /> | |||||||||||||||||||||||||||||||
| <telerik:GridNumericColumn DataField="day5" DataType="System.Decimal" /> | |||||||||||||||||||||||||||||||
| <telerik:GridNumericColumn DataField="day6" DataType="System.Decimal" /> | |||||||||||||||||||||||||||||||
| <telerik:GridNumericColumn DataField="day7" DataType="System.Decimal" /> | |||||||||||||||||||||||||||||||
| </Columns> | |||||||||||||||||||||||||||||||
| </MasterTableView> | |||||||||||||||||||||||||||||||
| </telerik:RadGrid> |