loading images in rotator from folder where image path is in sqlserver

3 posts, 0 answers
  1. saratchand
    saratchand avatar
    12 posts
    Member since:
    Oct 2010

    Posted 18 Nov 2010 Link to this post

    Hi,
      I have a problem regarding the retrieving latest 10 images into rad rotator from folder by using the image path stored in sql server.
    For this i placed the asp:image tag in item template of radrotator and assigned imageurl to handler.ascx file. but i'm not sure about passing "id" from image url to handler.ascx file.
    here, in handler.ascx file i retrieved the image path's from sql server db.
    Help me from this problem...
  2. Terfa
    Terfa avatar
    11 posts
    Member since:
    Jan 2009

    Posted 19 Nov 2010 Link to this post

    Why don't you try hooking up the Rotator directly to the database using an sqldatasource..., you can then assign the picture path to the image control using

    ImageUrl = '<%# Eval("PicturePath") %>'
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. saratchand
    saratchand avatar
    12 posts
    Member since:
    Oct 2010

    Posted 19 Nov 2010 Link to this post

    Hi terfa,
    what u said is correct thank u very much for responding to my post
     
    I have changed the code and placed as another post ,if you know about this post please reply me.

     check this post "
    The server tag is not well formed


    or this url "http://www.telerik.com/community/forums/aspnet-ajax/rotator/the-server-tag-is-not-well-formed.aspx"

    help me out of this
Back to Top