creating custom GridView

N

Nenefta

Good afternoon everyone,

I would like to create a custom GridViewand use that in the rest of my
project, so all GridViews look the same. I thought it would be as easy
as creating a usercontrol with the following code:

Partial Class Layout_Componenten_EVDGridView
Inherits System.Web.UI.WebControls.GridView

End Class

But this gives me the error:
"Error 1property 'SupportAutoEvents' cannot be declared 'Overrides'
because it does not override a property in a base class.
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files\nieuws\c68332f7\80918f68\App_Web_ebtgdvrh.0.vb 68"

Does anyone know why I get this error, and more important, how to go
about creating a custom GridView?

Regards,
Marcel
 

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
474,266
Messages
2,571,085
Members
48,773
Latest member
Kaybee

Latest Threads

Top