I get the value of variable 'c_sMemberWeight' in my InstantiateIn of CustomItemTemplate class like below.
cellvalue = (double)((DataRowView)((TemplateContainer)container).DataItem)[c_sMemberWeight];
Please suggest me how to get row index of this in same InstantiateIn (C#).
Can you post your code? I have it working all over my system.
Ed
No it did not work.
Did it work?
If you're using VB, this should work:
CommandArgument
='<%# DataBinder.Eval(CType(Container, Infragistics.Web.UI.TemplateContainer).Item, "Row.Index") %>'