private void radGridView1_GroupSummaryEvaluate(object sender, GroupSummaryEvaluationEventArgs e) { int contactsCount = e.Group.ItemCount; e.SummaryItem.Name = contactsCount.ToString(); }Hi
I have a decimal Column in RadGridView with BeginEditMode = BeginEditOnKeystrokeOrF2 and using Danish culture.
When user presses ',' on the selected cell, cell goes to edit mode but ',' is not inserted in the cell. But if user now again presses comma, then it is inserted into the cell.
So if user wants to enter the value ,5 he has to press comma twice. Ofcourse he has no problom in entering 0,5
Note, this is when user enters to edit mode by pressing , not by pressing F2.
What should I do? Any help would be appreciated.
Thanks
Regards
Private Sub gridClients_CellValueChanged(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewCellEventArgs)
Dim column As GridViewDataColumn = TryCast(e.Column, GridViewDataColumn)
If column IsNot Nothing AndAlso column.FieldName = "ClientId" Then
e.Row.Cells(
"vcFirstName").Value = GetClientFirstName(e.Value)
e.Row.Cells(
"vcLastName").Value = GetClientLastName(e.Value)
End If
End Sub
Imports Telerik.WinControls.UI Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'TODO: This line of code loads data into the 'SchedulerDataDataSet.Resources' table. You can move, or remove it, as needed. Me.ResourcesTableAdapter.Fill(Me.SchedulerDataDataSet.Resources) 'TODO: This line of code loads data into the 'SchedulerDataDataSet.Appointments' table. You can move, or remove it, as needed. Me.AppointmentsTableAdapter.Fill(Me.SchedulerDataDataSet.Appointments) RadScheduler1.ActiveView.ResourcesPerView = 5 RadScheduler1.GroupType = GroupType.Resource End Sub Private Sub SaveToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveToolStripMenuItem.Click Dim appointmenttableadapter As New SchedulerDataDataSetTableAdapters.AppointmentsTableAdapter() Dim resourcetableadapter As New SchedulerDataDataSetTableAdapters.AppointmentsResourcesTableAdapter() Try appointmenttableadapter.Update(SchedulerDataDataSet.Appointments) resourcetableadapter.Update(SchedulerDataDataSet.AppointmentsResources) SchedulerDataDataSet.AcceptChanges() Catch ex As Exception Throw ex Finally End Try End SubEnd ClassIn building a user control where a ToolWindow hosts a RadCommandBar with a CommandBarDropDownList.
When browsing the associated events, I'm missing the SelectedValueChanged, SelectedIndexChanged. Even when I tried to add event handlers programmatically, they do not show up.
I’m using version v.2010.3.10.1109, with Visual Studio 2008 sp1 + .NET Framework 3.5 sp1, in a WinForms application.
I've tested this in another clean project, and the events do show up, however, the environment is Visual Studio 2010 + .NET Framework 3.5 sp1, and the suite's version is v.2010.3.10.1215.
Is the problem located on such diference of versions?
UPDATE:
YES, the issue is fixed on v.2010.3.10.1215 which contains the missing events. I just upgraded the tools and the project is now showing the events.