Results 1 to 4 of 4

Thread: How can add Image type column in DataGrid control

  1. #1

    Thread Starter
    Addicted Member parminder's Avatar
    Join Date
    Apr 2003
    Location
    India
    Posts
    168

    Lightbulb How can add Image type column in DataGrid control

    Is anybody to solve my problem ?

    How can add Image type column in DataGrid control.

    I read follwing text in VB.net help

    ========
    To create your own column classes, you can inherit from DataGridColumnStyle. You may want to do this in order to create special columns that host controls, as exemplified by the DataGridTextBox class, which hosts the TextBox control. For example, you may host an Image control to show pictures in columns, or you may create your own user control to host in the column.
    =========


    Thanks to read it, and please tell me the solution.

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Check this link out:
    http://www.datagridcolumnstyles.net/Examples.asp

    Probably help you out.

  3. #3
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    Ok, I just realized that they charge for it. That sucks...

    I am still looking....
    Ok, here, try this one:
    http://www.codeguru.com/cs_controls/DataGridImages.html

  4. #4

    Thread Starter
    Addicted Member parminder's Avatar
    Join Date
    Apr 2003
    Location
    India
    Posts
    168
    Thanks hellswraith

    I will check the artical and try it.

    There is another problem. If I have DataGridColumnStyle like DataGridTextBoxColumn then

    How to access to this column's DataGridTextBox's Events ?

    Thanks for your reply and hope more from you and others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width