Not sure how to put a mouseover a datalist

2 posts, 0 answers
  1. mathieu cupryk
    mathieu cupryk avatar
    27 posts
    Member since:
    Jul 2009

    Posted 18 Nov 2009 Link to this post

    I have

    DLThumbnails_ItemDataBound


    if

     

    ((e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem))

     

    {

     

    // imageRef.ImageUrl = "Handler.ashx?img_id=" + Eval("img_id") + "&" + "imagesize=F";

     

    System.Web.UI.WebControls.

    Image imageRef = (System.Web.UI.WebControls.Image)e.Item.FindControl("ImgThumbnails");

     

    imageRef.Attributes.Add(

    "onmouseover", "javascript:this.border=1;this.style.borderColor='red';");

     

    imageRef.Attributes.Add(

    "onmouseout", "javascript:this.border=0;");
    }

    I just don't see it in the panel bar

     

  2. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 20 Nov 2009 Link to this post

    Hello mathieu cupryk,

    I'm afraid we don't understand the exact problem you are facing. I think if would be easier for us to provide a solution if you could open a support ticket and send a simple running project (incl. your custom skin, CSS, images, DB backup if needed and so on) demonstrating the problem (and step-by-step instructions on doing so). In that way we can reproduce and pinpoint the problems you're facing on our side, understand the logic of your application and provide a solution.

    Thanks beforehand for your patience and cooperation,
    Paul
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top