or
Hi,
I have two comboboxs in my Grid and i have 2 tables which stores bank name in the 1st table and the bank branch in the second table.i want that when i select bank name in the 1st combobox it will shows me the assigned branches for the selected bank in the 2nd Combobox in the Grid?
Which means every row will have different data in the 2nd Combobox
Is it possible? Please reply as soon as possible
Thanks in advance
| Private Sub RadDock1_ActiveWindowChanging(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.Docking.DockWindowCancelEventArgs) Handles RadDock1.ActiveWindowChanging |
| ' Salvo il Layout del tab che sto chiudendo |
| For Each c As Control In RadDock1.ActiveWindow.Controls |
| Select Case c.GetType.ToString |
| Case "Commesse" |
| Dim mycontrol As AnagraficaCommesse = TryCast(c, AnagraficaCommesse) |
| mycontrol.SaveGridLayout() |
| Case "Articoli" |
| Dim mycontrol As Commesse_Articoli = TryCast(c, Commesse_Articoli) |
| mycontrol.SaveGridLayout() |
| If mycontrol.RadGridView1.IsInEditMode() Then |
| If MsgBox("Un record non è stato salvato! Si desidera salvarlo ora?", MsgBoxStyle.YesNo, "Salvare i dati?") = MsgBoxResult.Yes Then |
| Try |
| mycontrol.RadGridView1.EndEdit() |
| mycontrol.UpdateDataSource() |
| Catch ex As Exception |
| MsgBox("Si è verificato un problema durante il salvataggio dei dati. Controllare che i dati inseriti siano corretti", MsgBoxStyle.Critical, "Errore") |
| e.Cancel = True |
| End Try |
| Else |
| mycontrol.RadGridView1.EndEdit() |
| End If |
| End If |
| End Select |
| Next |
| End Sub |
Hi, i'm having trouble trying to export the grid. Whenever i export the data i only get the visible part of it. I cannot find to much info about how i have to do it. Could someone please help me?
Regards.