Hello,
I have the same issue like this post:
https://www.telerik.com/forums/rad-grid-view-position-after-reload-of-the-data
The TableElement.VScrollBar.Value is saved/restored well in the gridview. But the vScroll.Maximum is changed dynamically depending upon the
In order to reproduce the issue, I've modified the telerik's approach, please download the demo in the link:
https://www.dropbox.com/s/gyypdzzvjvmck08/gridscollrefresh.rar?dl=0
In the demo, the gridview is refreshing every second by a backgroundworker and a timer. When all hierarchcal grid are collapsed, the scroll position is saved/restored well because vScroll.Maximum stays the same.
But If you click the button "Expand all", and then scroll, the scrolling bar or the gridview will jump a little bit, because the vScroll.Maximum is changing. That means the VScrollBar.Value/vScroll.Maximum ratio is changing when I restore the old VScrollBar.Value.
Regards,
Hello,
I need to load appointment data and resources using datatable, Here I leave the code, the resources are loading, but the appointments are not loading, they help me that I am doing wrong..
SqlDataAdapter da = new SqlDataAdapter("Select ID, Summary, Start, End, RecurrenceRule,Location,Description, BackgroundId, StatusId From Appointments", DConexion.CnConexion);
DataTable dtAppointments = new DataTable();
da.Fill(dtAppointments);
SqlDataAdapter da1 = new SqlDataAdapter("SELECT IdPerson, Name, FROM Persons", DConexion.CnConexion);
DataTable dtResources = new DataTable();
da1.Fill(dtResources);
SchedulerBindingDataSource source = new SchedulerBindingDataSource();
AppointmentMappingInfo appointmentMappingInfo1 = new AppointmentMappingInfo();
appointmentMappingInfo1.BackgroundId = "BackgroundId";
appointmentMappingInfo1.Description = "Description";
appointmentMappingInfo1.End = "End";
appointmentMappingInfo1.Location = "Location";
appointmentMappingInfo1.RecurrenceRule = "RecurrenceRule";
appointmentMappingInfo1.ResourceId = "ResourceID";
appointmentMappingInfo1.Start = "Start";
appointmentMappingInfo1.StatusId = "StatusId";
appointmentMappingInfo1.Summary = "Summary";
appointmentMappingInfo1.UniqueId = "ID";
source.EventProvider.Mapping = appointmentMappingInfo1;
ResourceMappingInfo resourceMappingInfo1 = new ResourceMappingInfo();
resourceMappingInfo1.Id = "IdPerson";
resourceMappingInfo1.Name = "Name";
source.ResourceProvider.Mapping = resourceMappingInfo1;
source.EventProvider.DataSource = dtAppointments;
source.ResourceProvider.DataSource = dtResources;
this.radSchedulerCitas.DataSource = source;
I think I need to relate to the other AppointmentsResources table, if that's how I do it
hi every one
i using data-table to bind data-source of radgridview from SQL database . one of my radgridview column is a numeric . i want to apply thousand separator to that column (like 91000 => 91,000).
i change radgridview formatstring properties to "{0:n0}" and datatype to "System.Decimal" from design view . and set thousand-seperator properties to true.
but still noting change and number on than column view without thousand separator , please help .
Hello, I have some question when I'm doing data validation.
Too big to attch, Please see gif on https://drive.google.com/file/d/1EVPmQXUDcdogYR6cas_nQZztAwCMySD8/view
As my url, I hope can add rows only if column2 has value.
It's work perfect when I'm clicking other space area.
But when I'm clicking Close Button, It's will fired RowValidating and AddRow at the same time, and I can't closed this form by close button.
Is there anything I doing wrong? Or there have other solution to let me solve this problem?
Thanks for your assistance.
Hi *,
how is it possible to define the Location of the Forms Control box (Close, max, min) for the form to be right, the form Icon in the left and the title in the middle?
I use Crystal Dark theme and there is by Default the locaiton on the left side of the Dialog as it should be :)
Thanks
Rostislaw
Hi
I have tried to rotate the text in the column text as per your instructions on the web but it doesn't work, what am I doing wrong (VB Net)
RadGridView1.ViewCellFormatting += radGridView1_ViewCellFormatting()
RadGridView1.TableElement.TableHeaderHeight = 90
RadGridView1.Rows(0).IsSelected = True
Hello
I wonder if I make the correct use of the CellFormatting Event:
I have a grid that contains only one line
In the CellFormatting event I modify the cell text as following:
If cell.ColumnInfo.Name = "licence_type_id" Then
Dim LicenceType As wsWSTLicence.licence_type = wsLicenceTypes.Find(Function(x) x.id.Equals(cell.Value))
cell.Text = LicenceType.Code & " (" & LicenceType.Description & ")"
cell.TextAlignment = ContentAlignment.MiddleCenter
End If
It works fine, however I realized that the code within the If Statement is called 6 times (which is the number of columns in my grid ..)
Is this normal ?
I would think that if my processing was heavy this would negatively impact the performance.
Also what is the difference between then CellFormatting Event and the ViewCellFormatting Event
Thanks in advance
Pierre-Jean
Good Morning All,
I am developing an application that has a main Ribbon Form as the base form.
I have added a CrystalDark theme to the form and applied it and everything is displaying as i would expect in the designer. However when i run the application the control buttons at the top of the form and the ribbon change to a standard default windows buttons.
I have included before and after images to this post.
Can anyone please assist in how i can get this not to happen and the theme ones to override and always show even at run-time.
Tanks in advanced
Frosty
How do I setup a RadTimePicker to allow the user to enter seconds (as well as hours and minutes)?
Thanks,
-Lou