kentico_martind
-
10/27/2009 5:17:07 AM
RE:CMS:UniView
Hi Quynh,
You can define handlers for this event in cod-behind of appropriate page using sample code bellow:
protected void Page_Load(object sender, EventArgs e) { //... listAttachment.OnItemDataBound += new CMS.Controls.UniView.DataBindEvent(listAttachment_OnItemDataBound); listAttachment.DataBound += new EventHandler(listAttachment_DataBound); //... }
void listAttachment_DataBound(object sender, EventArgs e) { //put your code here }
void listAttachment_OnItemDataBound(object sender, CMS.Controls.UniViewItem item) { //put your code here }
Best Regards,
Martin Dobsicek
|