<table width="100%"> <tr> <td style="width: 100%;"> <telerik:RadGrid ID="grdPointSearch" runat="server" AutoGenerateColumns="False" EnableEmbeddedSkins="False" EnableHeaderContextFilterMenu="True" EnableHeaderContextMenu="True" Height="121px" Skin="NGN_Grid" Width="100%"> <mastertableview autogeneratecolumns="False" clientdatakeynames="sitename" datakeynames="sitename,pointname"> <columns> <telerik:gridboundcolumn datafield="SiteName" headertext="Site Name" itemstyle-cssclass="fntn fntrd tal" readonly="true" uniquename="SiteCode" xmlns:telerik="#unknown"> </telerik:gridboundcolumn> <telerik:gridboundcolumn datafield="PointName" headertext="Point Name" itemstyle-cssclass="fntn fntrd tal" readonly="true" uniquename="PointName" xmlns:telerik="#unknown"> </telerik:gridboundcolumn> <telerik:gridboundcolumn uniquename="PointId" datafield="PointId" display="false" xmlns:telerik="#unknown"> </telerik:gridboundcolumn> <telerik:gridboundcolumn uniquename="SiteId" datafield="SiteId" display="false" xmlns:telerik="#unknown"> </telerik:gridboundcolumn> <telerik:gridtemplatecolumn uniquename="TemplateColumn" headertext="Responce" xmlns:telerik="#unknown"> <itemtemplate> <table> <tr> </tr> <tr> <td> <telerik:RadButton ID="btnviewdtls" runat="server" ButtonType="LinkButton" Text="View Details" CommandName="Button1Click" /> </td> </tr></table></itemtemplate></telerik:gridtemplatecolumn></columns> </mastertableview> <clientsettings> <clientevents /> </clientsettings> </td> </tr> </table>
////clikevent
protected void ViewDetail_Click(object sender, EventArgs e) { ////Response.Redirect("SPMPointDetails.aspx", false); Response.Redirect("/SPMPointDetails.aspx?" +Siteid,pointid ); }