This is a migrated thread and some comments may be shown as answers.

Not sure how to put a mouseover a datalist

1 Answer 32 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
mathieu cupryk
Top achievements
Rank 1
mathieu cupryk asked on 18 Nov 2009, 08:12 AM
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

 

1 Answer, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 20 Nov 2009, 07:32 AM
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.
Tags
PanelBar
Asked by
mathieu cupryk
Top achievements
Rank 1
Answers by
Paul
Telerik team
Share this question
or