Hello
Please can you advise me how you add extra information to a pdf file and an excel file when you export a grid.
I have seen that i can add some custom information in the CommandItemTemplate but I cannot find any real information about how i populate the controls etc that I put in the template.
The best that i have been able to see is something like this in the page pre render event
However I do not know if this is the best/efficient way of doing this.
Thanks
Please can you advise me how you add extra information to a pdf file and an excel file when you export a grid.
I have seen that i can add some custom information in the CommandItemTemplate but I cannot find any real information about how i populate the controls etc that I put in the template.
The best that i have been able to see is something like this in the page pre render event
Protected Sub Page_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreRender |
Dim l As Label = RadGrid1.MasterTableView.GetItems(GridItemType.CommandItem)(0).FindControl("lblSomeLabel") |
l.Text = "some text" |
End Sub |
However I do not know if this is the best/efficient way of doing this.
Thanks