Jan 09, 2009, 2:40 AM
multi select add selected item on server side
is this the proper way to add a selected item for a multiselect in an ajax event?
extmselQ.SelectedItems.Add(new SelectedListItem(drRight["wid"].ToString(), drRight["name"].ToString(), extmselQ.Items.IndexOf(new Coolite.Ext.Web.ListItem(drRight["id"].ToString(), drRight["name"].ToString()))));
extmselQ.UpdateSelection();
the selected item gets added when i check the code using a breakpoint but it doesn't show up on the page. this code is included on the BeforeShow event of a window containing a multi select item