I have a ultrawebgrid with a template control which is an imagemap control
In code I need to set RectangleHotSpot data for the images that are loading.
I can't seem to get the handle of the map control so i can assign RectangleHotSpot data for each image being displayed.
Can anyone help with this?
The following article from our online Knowledge Base provides a starting point by illustrating how to change the contents of an individual cell of a templated column:HOWTO: How to alter the contents of Column Templates for specific rows
This article shows you how to get to the CellItem object that represents what a cell in a templated column contains. From that CellItem object, you can use the FindControl() method to get a reference to your control. From there, you can can modify properties on your control as desired.
The following post illustrates some good ways to reference a control inside a templated column, using the same general approach:http://forums.infragistics.com/forums/p/26392/97012.aspx#97012