For version 2010.2.826.40. I have set a radlistbox so it will alternate every other row background with a different color. Doing that caused the side effect that the mouse over color doesn't change as would be the case in the list box's default behavior.
My thought on this is I need to add a handler client side for mouse over?
Not sure how to do this (looking through client side api).
Thanks in advance
protected void Load_ManualWithFoundContent(string SearchResult)
{
WebServiceProxy wsp = new WebServiceProxy();
DataSet ManualsWithSearchResults = wsp.GetServicesHandle.Search_ManualTitlesResult(SearchResult);
DataTable dt = ManualsWithSearchResults.Tables[0];
DataRowCollection drc = dt.Rows;
RadListBoxItemCollection rlbic = RadList_ManualsWithFoundContent.Items;
int i = 0;
foreach (DataRow dr in drc)
{
RadListBoxItem rlbi = new RadListBoxItem(dr["ManualName"].ToString(), dr["pKey"].ToString());
rlbi.BackColor = i++ %2 ==0 ? Color.WhiteSmoke : Color.White;
rlbic.Add(rlbi);
}
}
My thought on this is I need to add a handler client side for mouse over?
function RadList_ManualsWithFoundContent_OnClientMouseOver(sender, evenArgs) {
...???set item color???...
}
Thanks in advance