Hello,
Again a problem regarding the hierarchy mode of the RadGridView. Datasource is a hierarchy object with multiple levels (based on BindingList).
Kind regards,
Christian


Hello I find the spell checking function provided in Telerik controls to be confusing. Is there an example of using the spell checker against standard text boxes in a winforms application? All the documentation that I have found so far only refers to RichTextEditor input, or else RichTextbox, which I understand to be deprecated, but I need to spell check a standard windows textbox. I also need it to be able to check uppercase as a option.
Thanks

My model of 'Car' class , and all its datamembers and attributes is defined in the server of WCF project.
In my client I use the RadDataEntry to view List of 'Car's.
But even that I've defined in the model on some datamebers as [Browsable=('False')] or [RadSorOrder(1)] ,in the client it does not has any impact on the RadDataEntry Ui element.
But if I save the model (or just give refernce in the client), it works correctly.
What do I need to do in order to keep the model only in the sever and also gets all the attributes work correctly in the client/Ui?
Thanks

I have a spreadsheet with about 30,000 rows and 20 columns. The "find" functionality works as expected, but the search itself takes over 5 seconds for it to find the relevant data. The same functionality in excel takes miliseconds.
I realize that it will never be as fast as searching in excel, but is there any way to improve performance to get closer to the excel search times (i.e. Indexing the data or only allowing searching through specific columns).
Here is how I am loading the data currently:
string fileName = @"C:\temp\large_data.xlsx";
var formatProvider = new XlsxFormatProvider();
using (Stream input = new FileStream(fileName, FileMode.Open))
{
radSpreadsheet1.Workbook = formatProvider.Import(input);
}
01.public partial class Form1 : Form02. {03. public Form1()04. {05. InitializeComponent();06. RadCollapsiblePanel pn = new RadCollapsiblePanel();07. pn.Dock = DockStyle.Left;08. pn.ExpandDirection = RadDirection.Right;09. 10. pn.IsExpanded = false; <------ Is not working
11. 12. this.Controls.Add(pn); 13. 14. }15. }
I have an application in which I create the GUI controls programatically without using the designer. The main body of the application uses a RadPanel which has a RadPageView docked to fill with several RadPageViewPages.
When creating the pages, I create all the controls for each page from the constructor and program the layout and size of the controls in the resize event. There are several custom RadListView and Gridview's which need to be sized according to the size of the screen dimensions.
The problem I have is that the actual size of the Page does not seem to take effect until it is actually displayed in form itself. The initial display of the page does not trigger the resize event the first time, but does if I re-call the sizing method once it is displayed on screen.
In order to fix this, I'm using a "dirty" method of displaying a splashscreen on top of the form, and displaying the pages one by one in the background once the main form's Main_Shown() is triggered. Once all pages have been displayed the first time, I select the start page and close the splashscreen to show the application. This works "fine" in that the components all have the right layout and sizing because they have already been displayed once, but I would like to know if there's a better way to go about this. I don't want to have to rely on hiding and toggling through all the pages as a method of setting the correct sizes for the components and their visual items.
I have tried calling the layout setting method from Resize and SizeChanged events in the RadPaveViewPages, but this does not seem to work.
Thanks

Is there any way to double click the ruler and get the time at the point of the cursor click, in order to schedule a new appointment at that time? When the schedule gets crowded, it's easier to click on the ruler versus finding an empty spot at the desired time to click.

I have Appointments table (name table is "Plan"). This table have are 83092 rows. (This data on 2015-2019 years)
Next code working very slow(near 2 minutes).
How can Scheduler get rows from DataSet, on selecting date in SchedulerNavigator?
AppointmentMappingInfo planmapping = new AppointmentMappingInfo(); this.schedulerBindingDataSource1.EventProvider.DataSource = this.planBindingSource; planmapping.Description = "Comment"; planmapping.End = "DateEnd"; planmapping.MasterEventId = "MasterEventID"; planmapping.RecurrenceRule = "RecurrenceRule"; planmapping.ResourceId = "id_PlanType"; planmapping.Start = "Date"; planmapping.Summary = "LastName"; planmapping.UniqueId = "id"; planmapping.FindBySchedulerProperty("ResourceId").ConvertToDataSource = ConvertResourceToDataSource; planmapping.FindBySchedulerProperty("ResourceId").ConvertToScheduler = ConvertResourceToScheduler; this.schedulerBindingDataSource1.EventProvider.Mapping = planmapping; ResourceMappingInfo plantypeMapping = new ResourceMappingInfo(); plantypeMapping.Name = "Name"; plantypeMapping.Id = "id"; this.schedulerBindingDataSource1.ResourceProvider.DataSource = this.medClinicDataSet.PlanType; this.radScheduler1.DataSource = this.schedulerBindingDataSource1; this.planTableAdapter.Connection.ConnectionString = CData.Setting.SQLConnectString(); this.planTypeTableAdapter.Connection.ConnectionString = CData.Setting.SQLConnectString(); // TODO:"medClinicDataSet.PlanType". this.planTypeTableAdapter.Fill(this.medClinicDataSet.PlanType); // TODO: "medClinicDataSet.Plan". this.planTableAdapter.Fill(this.medClinicDataSet.Plan); this.radScheduler1.GroupType = GroupType.Resource;
Is there a best practices method to saving a dock or grid layout to a SQL server 2016 column, instead of a file? And should the column be xml type?
I have seen two methods discussed by Telerik. This first one creates an xml string with a utf-16 header. Eg: <?xml version="1.0" encoding="utf-16"?>. When 'Inserted Into' the db, and error results - XML
parsing: line 1, character 39, unable to switch the encoding.
Dim wr As StringWriter = New StringWriter()radDock1.SaveToXml(wr)Dim layout As String = wr.ToString()
The second method creates an xml string with a utf-8 header, which can be 'inserted into' the sql db without error.
Using ms As MemoryStream = New MemoryStream() radGridView1.SaveLayout(ms) Dim layout As String = Encoding.ASCII.GetString(ms.GetBuffer(), 0, CInt(ms.Length))End Using
Overall what is the best method/technique for saving this xml data to a sql server db? Thanks.