or
For Each typeItem In LcChecklistType.Items If typeItem.Value = 1 OR typeItem.Value = 3 Then typeItem.Selected = True End IfNext
I have added handler progarmatically after this for each loop.
now when the form is loaded completely.
1. if I "deSelect" the selected item say 1, the selectedindexchange event is not firing but the item is deSelected. now again back I Select the same item 1, then the event is fired.
2. if I "Select" other item which is not selected say 2, then the event is fired.
Help Appreciated.
ASAP
Thanks!
Sachin

'hide all of the panel... Public Sub bikinPanjangNol() Me.PanelDataBuku.Visible = False Me.PanelDataKaryawan.Visible = False Me.PanelDataMahasiswa.Visible = False End Sub'then show the panel when radribbon image click.... Private Sub TombolDataBuku_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TombolDataBuku.Click bikinPanjangNol() PanelDataBuku.Visible = True 'Me.PanelDataBuku.BringToFront() End Sub Private Sub tblDataMahasiswa_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tblDataMahasiswa.Click bikinPanjangNol() PanelDataMahasiswa.Visible = True Me.PanelDataMahasiswa.BringToFront() End Subvoid gridPositionen_CellFormatting(object sender, CellFormattingEventArgs e){
if (e.CellElement.ColumnInfo is GridViewDataColumn && ((GridViewDataColumn)e.CellElement.ColumnInfo).Name == "Me_Dropdown") { if (e.CellElement.Children.Count > 0 || e.CellElement.RowIndex<0)//the comboxbox is already added to cell return; //NEVER GETS HERE !!!! e.CellElement.RowIndex is always -1 RadComboBoxElement element = new RadComboBoxElement(); e.CellElement.Children.Add(element);....