I often call functions to generate content in my grids and lists. When I do I always use the DataBinder.Eval() function to get specific fields from the data item and then I send those to my code behind function. Is there a way to just send the entire data item?
For example below is what I put in my HTML and then the signature of the function in my code behind that takes that data and then generates what I'd like. If possible I would like to just call CustomerListActions(DataItem As ObjectType). Thanks!
Function Signature in Code Behind
><%# CustomerListActions(DataBinder.Eval(Container.DataItem, "ID"), DataBinder.Eval(Container.DataItem, "IsDeleted"), DataBinder.Eval(Container.DataItem, "CompanyName"))%><