Adding path info to an GridView asp:Image bound column

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?bXVzb3NkZXY=?=

    Adding path info to an GridView asp:Image bound column

    Hi

    I need to add the path to my images directory to the DataUrlField of a bound
    ImageField in a GridView, but I can't work out how to do this.

    Is there a a Path property I'm missing? Or can I append to each column as it
    is inserted (by over-riding some sort of Populate method)?

    Thanks,


    Dan
  • Masudur

    #2
    Re: Adding path info to an GridView asp:Image bound column

    On Mar 25, 10:38 pm, musosdev <musosw...@comm unity.nospamwro te:
    Hi
    >
    I need to add the path to my images directory to the DataUrlField of a bound
    ImageField in a GridView, but I can't work out how to do this.
    >
    Is there a a Path property I'm missing? Or can I append to each column as it
    is inserted (by over-riding some sort of Populate method)?
    >
    Thanks,
    >
    Dan
    Hi,

    Take a look at this article...



    do check out how ResolveUrl method is used.

    Thanks
    Masudur

    Comment

    Working...