Hello
I have a RadGrid created dynamically in aspx.
Get all the features of the columns of a table in my database and created the radgrid as has been defined.
More or less:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/groupby/defaultcs.aspx
My problem now is that I want to include a filter of this type:
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/headercontextfiltermenu/defaultcs.aspx
Do not know how I can dynamically create this part here is done in HTML.
<HeaderTemplate>
<table>
<tr>
<td>
<asp:LinkButton ID="lnkSort" runat="server" CommandArgument="ShipCity" CommandName="Sort"
Text="Ship city"></asp:LinkButton>
</td>
<td>
<img src="Img/Menu.gif" style="margin-top: 5px; margin-left: 5px; cursor: pointer"
onclick='ShowColumnHeaderMenu(event,"ShipCity")' alt="Show context menu" />
</td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="lblCity" runat="server" Text='<%#Eval("ShipCity") %>'></asp:Label>
</ItemTemplate>
Can you help? Thanks
I have a RadGrid created dynamically in aspx.
Get all the features of the columns of a table in my database and created the radgrid as has been defined.
More or less:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/groupby/defaultcs.aspx
My problem now is that I want to include a filter of this type:
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/headercontextfiltermenu/defaultcs.aspx
Do not know how I can dynamically create this part here is done in HTML.
<HeaderTemplate>
<table>
<tr>
<td>
<asp:LinkButton ID="lnkSort" runat="server" CommandArgument="ShipCity" CommandName="Sort"
Text="Ship city"></asp:LinkButton>
</td>
<td>
<img src="Img/Menu.gif" style="margin-top: 5px; margin-left: 5px; cursor: pointer"
onclick='ShowColumnHeaderMenu(event,"ShipCity")' alt="Show context menu" />
</td>
</tr>
</table>
</HeaderTemplate>
<ItemTemplate>
<asp:Label ID="lblCity" runat="server" Text='<%#Eval("ShipCity") %>'></asp:Label>
</ItemTemplate>
Can you help? Thanks