I have this:
What i want is to have the edit link to another page (e.g. edit.php?id=) with the Company Id as the query string. How can I do that?
<telerik:RadGrid ID="rgCompanyList" runat="server" Skin="Outlook" AllowPaging="True" AllowSorting="True" GridLines="None" > |
<MasterTableView TableLayout="Auto" AutoGenerateColumns="False" DataKeyNames="CompanyID" > |
<Columns> |
<telerik:GridBoundColumn DataField="CompanyID" DataType="System.Int32" HeaderText="Company ID" ReadOnly="True" SortExpression="CompanyID" UniqueName="CompanyID"></telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="Title" HeaderText="Title" SortExpression="Title" UniqueName="Title"></telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="EmployeeCols.Count" HeaderText="No. of Employees" SortExpression="NoOfEmployees" UniqueName="EmployeeCols"></telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="TemplateCols.Count" HeaderText="No. of Templates" SortExpression="NoOfTemplates" UniqueName="NoOfTemplates"></telerik:GridBoundColumn> |
<telerik:GridBoundColumn DataField="DtmUpdated" DataType="System.DateTime" HeaderText="Last Updated" SortExpression="dtm_updated" UniqueName="DtmUpdated"></telerik:GridBoundColumn> |
<telerik:GridEditCommandColumn EditText="Edit"></telerik:GridEditCommandColumn> |
</Columns> |
</MasterTableView> |
<HeaderContextMenu Skin="Outlook"> |
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
</HeaderContextMenu> |
<ClientSettings> |
<Selecting AllowRowSelect="True" /> |
<Scrolling AllowScroll="false" UseStaticHeaders="True" /> |
</ClientSettings> |
<FilterMenu Skin="Outlook"> |
<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> |
</FilterMenu> |
</telerik:RadGrid> |
What i want is to have the edit link to another page (e.g. edit.php?id=) with the Company Id as the query string. How can I do that?