Setting a value on the combo crashes it in non-IE browsers

2 replies. Last post: February 9, 2010 10:26 PM by Handy Surya
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Dino BenciniMember

Does any one know a reason why the combo would crash depending if a value is set or not. This only happens on non-IE browsers and when you place it in a usercontrol which is dynamically loaded.

Eg...

dsMyDataSet.MyFriendsDataTable t = new dsMyDataSet.MyFriendsDataTable();

BuildTable(t);

WebCombo1.DataMember =
"MyFriends";
WebCombo1.DataValueField =
"FriendId";
WebCombo1.DataTextField =
"FirstName";
WebCombo1.LayoutSettings.StatusBoxVisible =
false;
WebCombo1.Columns.Add(
"FirstName");
WebCombo1.Columns.Add(
"FriendId");
//Comment out the below line then it works in non IE browsers...why??
WebCombo1.Value = "2";
WebCombo1.PopulateUnboundData(t.DefaultView,
false);
All times are GMT -5. The time now is 9:41 PM.
Previous Next