http://forums.infragistics.com/forums/p/32581/181794.aspx#181794
That's the article I always use as a reference. If you need the vb code for it, I havethat too.
Ed
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.
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") %>'