20.10.09

radRotator

OnItemClick="RadRotator1_ItemClick">
========================================

CustomIDProperty=' XPath("id") ' Style="width: 300px; height: 200px;" />

===========================================
using Telerik.Web.UI;
public void RadRotator1_ItemClick(object sender, RadRotatorEventArgs e)
{
Image img = e.Item.FindControl("Image1") as Image;
string id = img.Attributes["CustomIDProperty"];
}

No comments: