N
Not Me
Hi,
I'm trying to export from a gridview control, to an excel file using
code intended for a datagrid control (it's all over the web, can post if
requested)
I get the error.
Control 'gvSearch' of type 'GridView' must be placed inside a form tag
with runat=server.
This error is similar to that experienced when the datagrid had
server-side controls such as edit buttons and the like, but my gridview
is very plain, just displaying text fields (and it is of course inside a
form tag with runat=server).
Are there any tweaks that could be made to allow the code to work? or is
a completely different method the only way?
Cheers,
Chris
I'm trying to export from a gridview control, to an excel file using
code intended for a datagrid control (it's all over the web, can post if
requested)
I get the error.
Control 'gvSearch' of type 'GridView' must be placed inside a form tag
with runat=server.
This error is similar to that experienced when the datagrid had
server-side controls such as edit buttons and the like, but my gridview
is very plain, just displaying text fields (and it is of course inside a
form tag with runat=server).
Are there any tweaks that could be made to allow the code to work? or is
a completely different method the only way?
Cheers,
Chris