I am attempting to retrieve the value of a cell in a RadGrid during the ItemDataBound event. The catch is that I am using an ItemTemplate, which seems to be the root of the problem.
I found http://www.telerik.com/help/aspnet-ajax/grdaccessingcellsandrows.html which states (about half-way down) that “This approach of obtaining cell values works for auto-generated columns and built-in column types except for template columns. For template columns you must find the control in the grid cell and extract its value.”
I agree with that statement (based on my testing), but I cannot find anywhere an example of “finding the control in the grid cell and extracting its value.”
Can someone point me to a relevant example?
My goal is to read the URL for a picture (image source), and set an imagecolumn on the same row to use that image source. This approach works perfectly so long as I do not use an <ItemTemplate></ItemTemplate> block.
Thank you in advance for your help.
Brian Meagher



| <telerik:GridBoundColumn DataField="DateOfBirth" DataType="System.DateTime" |
| Visible = "True" HeaderText="DateOfBirth" SortExpression="DateOfBirth" |
| UniqueName="DateOfBirth" EditFormColumnIndex="1" |
| DataFormatString="{0:dd/MM/yyyy}"> |
| </telerik:GridBoundColumn> |


I used
<telerik:RadGrid ID="RadGrid1" runat="server">
</telerik:RadGrid>
It works well, but when I close my visual studio 2008 and open it again there is an error occure
the error is :
Please guide me.