check if the form has the runat=server part.
----- Original Message -----
From: "Ramakanth Paladi" <[EMAIL PROTECTED]>
To: "aspgroup" <[email protected]>; "aspgroup"
<[EMAIL PROTECTED]>
Sent: Monday, April 11, 2005 10:46 AM
Subject: [AspNetAnyQuestionIsOk] excel
>
> Hi All,
> i want to export datagrid contents to excel sheet. i have a checkbox in
> my datagrid, and when i 'm executing my application its giving the below
> error:
>
> Control 'DataGrid1__ctl2_Check' of type 'CheckBox' must be
> placed inside a form tag with runat=server. .
>
> but i checked with the html part, the declaration of checkbox is well
> with the form tag. do anybody know why this error is giving...
>
> thanks
> ramakanth
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
>
> [Non-text portions of this message have been removed]
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
> --
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.9.3 - Release Date: 4/5/2005
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/