View Single Post
  #1   Report Post  
Posted to microsoft.public.dotnet.framework.aspnet,microsoft.public.excel.programming
Steve Chatham[_2_] Steve Chatham[_2_] is offline
external usenet poster
 
Posts: 10
Default Datagrid to Excel - error - rendercontrol

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