This question is locked. New answers and comments are not allowed.
Good afternoon Team Telerik
I have the next problem:
I add a new column template within checkbox call chkEstadoItem:
but when the checkbox I do to chage state (unchecked <--> checked), it don't fire the vb method "actualizarEstadoBotonAgregarItem"
I put inside the this method a messabox as flag, but nothing...
The method is:
Second, How do I do for take the state of checkbox control?
Thanks for any help
Juan Pablo Díaz
Bogotá - Colombia
I have the next problem:
I add a new column template within checkbox call chkEstadoItem:
| <telerikGridView:RadGridView.Columns> |
| <telerikGridView:GridViewColumn x:Name="colProtEst" Header="Prot" Width="25"> |
| <telerikGridView:GridViewColumn.CellTemplate> |
| <DataTemplate> |
| <CheckBox x:Name="chkEstadoItem" Checked="actualizarEstadoBotonAgregarItem" Unchecked="actualizarEstadoBotonAgregarItem" HorizontalAlignment="Left" VerticalAlignment="Top" Content="CheckBox" IsChecked="{Binding Estado}"/> |
| </DataTemplate> |
| </telerikGridView:GridViewColumn.CellTemplate> |
| </telerikGridView:GridViewColumn> |
I put inside the this method a messabox as flag, but nothing...
The method is:
| Protected Sub actualizarEstadoBotonAgregarItem(ByVal sender As Object, ByVal e As System.Windows.RoutedEventArgs) |
| Dim m, d As String, p As Integer |
| m = "actualizarEstadoBotonAgregarItem)-" : d = "Entra" : p = 0 |
| Try |
| MessageBox.Show(o & vbCrLf & m & p & d, "", MessageBoxButton.OK) |
| p = 10 : ibAgregarItem.Visibility = IIf(gvProcesosItems.SelectedItems(0).Estado, Windows.Visibility.Collapsed, Windows.Visibility.Visible) |
| Catch ex As Exception |
| MessageBox.Show("Revisar: " & o & vbCrLf & m & p & vbCrLf & ex.Message) |
| End Try |
| d = ") Sale " |
| 'p = 999 : MessageBox.Show(o & vbCrLf & m & p & d) |
| End Sub |
Thanks for any help
Juan Pablo Díaz
Bogotá - Colombia