We are using a WCF service to databind our grid client-side. Certain rows need to be a different color based on the data returned from the service.
At first, I attempted using a GridTemplateColumn to bind with a <div class='<%# Eval("ClassName") %>'><%# Eval("Title") %></div> to swap colors, but quickly realized that the DataBinder is a server-side capability.
Is there a way to either a) do a client-side template column with databinding or b) handle the javascript OnDataItemBound?
Christopher
At first, I attempted using a GridTemplateColumn to bind with a <div class='<%# Eval("ClassName") %>'><%# Eval("Title") %></div> to swap colors, but quickly realized that the DataBinder is a server-side capability.
Is there a way to either a) do a client-side template column with databinding or b) handle the javascript OnDataItemBound?
Christopher