Datagrid to Excel - error - rendercontrol

S

Steve Chatham

I am trying to get a datagrid exported to excel.

The datagrid that I produce has hyperlinks over each column allowing the
user to sort them on the web.

I have a radio button that I have on the aspx page that when clicked is
supposed to put it in excel.

I get this error:

'DataGridLinkButton' must be placed inside a form tag with runat=server

when attempting to issue a datagrid1.rendercontrol(hw) on the dataset.

Anyone have any ideas?

Thanks

SC
 
Top