Hello,
I am following the video sample "WebDataGrid Master Detail' to add a template column but I cant get it to work..
I get the following error when implementing a template column: BC30691: 'TemplateContainer' is a type in 'UI' and cannot be used as an expression.
I am using VS 2008 with infragistics 2010, in VB.net and a SQL datasource
Any ideas what could be wrong?
Thanks
Dan
<%# DataBinder.Eval(((Infragistics.Web.UI.TemplateContainer)Container).DataItem, "CustomerName") %>
I just wanted to add that everything works great on C# but when I tried the application on VB it throws that error.
I am not just copying and pasting the code, I am actually going inot the grid -> edit columns -> convert selected grid field into a template field.