My ASP knowledge base

The custom grid’s source code

<< Previous page  

Below you will find the source code for the custom grid control. It also includes an example how it can be used.

In order to download the source code, please click the following link:

Download WITGrid control plus example

Rename the .DOC extension into a .ZIP extension (the file is a zip file but I was not allowed to upload that type of file). Now you can unpack the file.

Have fun,

Jan

4 Responses to “The custom grid’s source code”

  1. fritz said

    I’m doing something very similar but I was wanting to modify the existing smart tag for the GridView instead. If possible, I’d like to have my custom BoundField, ButtonField, etc. show up on the Fields dialog when I click Edit Columns in design mode, so when I add a BoundField, it actually adds instead of . Is this possible? I can’t seem to figure it out.

    Thanks!

  2. fritz said

    …previous post should have read…so when I add a BoundField, it actually adds custom:BoundField instead of asp:BoundField.

    thanks

  3. Jan said

    It is possible to derive a designer class and overwrite add/overwrite elements (see the example http://msdn2.microsoft.com/en-us/library/system.web.ui.design.webcontrols.gridviewdesigner.aspx) but I have no experience with that. I am sorry.

  4. rahul said

    Very Very useful Thanks

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>