I want to dynamically insert a table in the cells of a Grid Column.
Please tell me how can this be done on item_bound event ?
below is the designer code of the grid.
<
telerik:RadGrid AutoGenerateColumns="False" ID="RadGridAssignment" AllowFilteringByColumn="False"
AllowSorting="True" PageSize="50" ShowFooter="False" AllowPaging="True" runat="server"
EnableLinqExpressions="False" EnableHeaderContextMenu="False" EnableHeaderContextFilterMenu="False"
OnDeleteCommand="RadGridAssignment_DeleteCommand" OnNeedDataSource="RadGridAssignment_NeedDataSource"
OnItemDataBound="RadGridAssignment_ItemDataBound" OnItemCreated="RadGridAssignment_ItemCreated"
OnCancelCommand="RadGridAssignment_CancelCommand" ShowGroupPanel="True" OnItemCommand="RadGridAssignment_ItemCommand"
OnUpdateCommand="RadGridAssignment_UpdateCommand" OnPreRender="RadGridAssignment_PreRender"
EnableEmbeddedSkins="True" EnableTheming="True" Skin="Office2007" GridLines="None"
HeaderStyle-HorizontalAlign="Left" HorizontalAlign="Center">
<MasterTableView AllowFilteringByColumn="False" AllowSorting="True" AllowMultiColumnSorting="True"
AllowPaging="True" TableLayout="Auto" CommandItemDisplay="Top" InsertItemDisplay="Top"
Dir="LTR" EditMode="EditForms" DataKeyNames="ObjectId,ParentObjectId,AssignmentId"
GridLines="None" EnableTheming="True">
<HeaderStyle Font-Bold="true" />
<CommandItemSettings ShowAddNewRecordButton="true" ShowRefreshButton="false" AddNewRecordText=""
AddNewRecordImageUrl="~/client/Images/Edit.gif" />
<Columns>
<telerik:GridEditCommandColumn UniqueName="EditColumn" ButtonType="ImageButton" EditImageUrl="~/client/Images/Edit.gif"
EditText="Edit" ItemStyle-Width="20" HeaderStyle-Width="35">
</telerik:GridEditCommandColumn>
<telerik:GridButtonColumn CommandName="Delete" ImageUrl="~/client/Images/Delete.gif"
ButtonType="ImageButton" CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"
Text="Delete" UniqueName="Delete" ItemStyle-Width="20" HeaderStyle-Width="35">
</telerik:GridButtonColumn>
<telerik:GridBoundColumn DataField="ObjectName" HeaderText="ObjectName" SortExpression="ObjectName"
UniqueName="ObjectName">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="AssessorName" HeaderText="Assessor" SortExpression="AssessorName"
UniqueName="AssessorName">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Reviewer1" HeaderText="ReviewerLevel1" SortExpression="ReviewerLevel1"
UniqueName="Reviewer1">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Reviewer2" HeaderText="ReviewerLevel2" SortExpression="ReviewerLevel2"
UniqueName="Reviewer2">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Reviewer3" HeaderText="ReviewerLevel3" SortExpression="ReviewerLevel3"
UniqueName="Reviewer3">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Reviewer4" HeaderText="ReviewerLevel4" SortExpression="ReviewerLevel4"
UniqueName="Reviewer4">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Reviewer5" HeaderText="ReviewerLevel5" SortExpression="ReviewerLevel5"
UniqueName="Reviewer5">
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn UniqueName="ParentObjectName" DataField="ParentObjectName"
GroupByExpression="ParentObjectName Group By ParentObjectName " Visible="false">
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn DataField="ParentObjectTypeId" UniqueName="ParentObjectTypeId"
Visible="false">
</telerik:GridBoundColumn>
</Columns>