Hi Everyone,
I needed help to solve the problem:
My ISSUE is I had a Rad grid in which the columns are automatically generated
The grid code looks like this
<telerik:RadGrid ID="rgTSSearch" runat="server" Skin="Outlook" Width="97%" ShowStatusBar="True"
AllowSorting="True" PageSize="10" GridLines="None" OnColumnCreated="rgTSSearch_ColumnCreated"
OnItemCreated="rgTSSearch_ItemCreated" OnNeedDataSource="rgTSSearch_NeedDataSource"
OnItemCommand="rgTSSearch_ItemCommand" OnUpdateCommand="rgTSSearch_UpdateCommand"
OnCancelCommand="rgTSSearch_CancelCommand" OnInsertCommand="rgTSSearch_InsertCommand">
<PagerStyle Mode="NextPrevAndNumeric" />
<MasterTableView Width="100%" DataKeyNames="ID" CommandItemSettings-ShowAddNewRecordButton="false" CommandItemDisplay="Top" HorizontalAlign="NotSet">
<CommandItemTemplate>
<asp:LinkButton ID="btnInitInsert" runat="server" CommandName="InitInsert"><img style="border:0px;vertical-align:middle;height:20px; width:20px;" alt="" src="../../App_Themes/add.png" />Add new TS</asp:LinkButton>
<asp:LinkButton ID="btnRebind" runat="server" CommandName="RebindGrid"><img style="border:0px;vertical-align:middle; height:20px; width:20px;" alt="" src="../../App_Themes/refresh.png" />Refresh</asp:LinkButton>
</CommandItemTemplate>
<Columns>
<telerik:GridEditCommandColumn ButtonType="ImageButton" HeaderStyle-Width="10%" UniqueName="EditColumn" />
</Columns>
</MasterTableView>
</telerik:RadGrid>
In the automatic generated columns there are two bit datatype columns which are generated as a checkbox column.
Now when I edit a particular row how to set the check box in the edit form[External form] based on the value in the grid
I mean If the check box column in the grid is checked then the checkbox column in the External form should be checked .
I tried in different ways but nothing worked out .
So please help me......
Thanks In advance,
Sravz
I needed help to solve the problem:
My ISSUE is I had a Rad grid in which the columns are automatically generated
The grid code looks like this
<telerik:RadGrid ID="rgTSSearch" runat="server" Skin="Outlook" Width="97%" ShowStatusBar="True"
AllowSorting="True" PageSize="10" GridLines="None" OnColumnCreated="rgTSSearch_ColumnCreated"
OnItemCreated="rgTSSearch_ItemCreated" OnNeedDataSource="rgTSSearch_NeedDataSource"
OnItemCommand="rgTSSearch_ItemCommand" OnUpdateCommand="rgTSSearch_UpdateCommand"
OnCancelCommand="rgTSSearch_CancelCommand" OnInsertCommand="rgTSSearch_InsertCommand">
<PagerStyle Mode="NextPrevAndNumeric" />
<MasterTableView Width="100%" DataKeyNames="ID" CommandItemSettings-ShowAddNewRecordButton="false" CommandItemDisplay="Top" HorizontalAlign="NotSet">
<CommandItemTemplate>
<asp:LinkButton ID="btnInitInsert" runat="server" CommandName="InitInsert"><img style="border:0px;vertical-align:middle;height:20px; width:20px;" alt="" src="../../App_Themes/add.png" />Add new TS</asp:LinkButton>
<asp:LinkButton ID="btnRebind" runat="server" CommandName="RebindGrid"><img style="border:0px;vertical-align:middle; height:20px; width:20px;" alt="" src="../../App_Themes/refresh.png" />Refresh</asp:LinkButton>
</CommandItemTemplate>
<Columns>
<telerik:GridEditCommandColumn ButtonType="ImageButton" HeaderStyle-Width="10%" UniqueName="EditColumn" />
</Columns>
</MasterTableView>
</telerik:RadGrid>
In the automatic generated columns there are two bit datatype columns which are generated as a checkbox column.
Now when I edit a particular row how to set the check box in the edit form[External form] based on the value in the grid
I mean If the check box column in the grid is checked then the checkbox column in the External form should be checked .
I tried in different ways but nothing worked out .
So please help me......
Thanks In advance,
Sravz