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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top