Hello,
I've a RadGrid that allow Group and show the Group Panel on the top of the Grid.
The problem is that I need to add a Button Link inside the panel, like I show you in picture attached.
I tried to do this functionality, on PreRender Event of the Grid, but the problem is that the link doesn't appers, and it's shown after first postback.
Can you help me with this functionality?
Thanks.
Julio.
I've a RadGrid that allow Group and show the Group Panel on the top of the Grid.
The problem is that I need to add a Button Link inside the panel, like I show you in picture attached.
I tried to do this functionality, on PreRender Event of the Grid, but the problem is that the link doesn't appers, and it's shown after first postback.
Can you help me with this functionality?
Thanks.
Julio.
protected void OnGridPreRender(object sender, System.EventArgs e)
{
RadGrid1.GroupPanel.Controls.Add(
new LiteralControl("<div style='float:right;padding-left:5px;'>"));
RadGrid1.GroupPanel.Controls.Add(new LinkButton { ID = "btnClearAllFilter", Text = "Clear all ilters"});
RadGrid1.GroupPanel.Controls.Add(
new LiteralControl("</div>"));
}