I've been Saving and Loading the GridView layout for quite some time now. This week I updated the UI controls to version 2015.2.623.40. Since then, when I call LoadLayout(<MemoryStream>) I get the following message box message:
"The string you have entered cannot be converted to a valid Type object. Please, verify the spelling and include any namespaces that migh be needed."
Yes, "might" was misspelled as "migh" in the message box.
Did something change with the Save/Load layout methods?
Hello,
We need to highlight the typed (suggested) text in the popup window. For example,
we have the following list:
-One
-Two
-Three
-Four
-Five
And if user is typing "T" then letter 'T' should be bolded in words '<b>T</b>wo' and '<b>T</b>hree'
Thanks in advance!
Hi,
In the new version of UI for WinForms (2015.2.623) I have found a bug. When I try order a DateTime Column that contains null values I get an exception. This did not happen with the previous version.
I include a link to the example of the error: https://dl.dropboxusercontent.com/u/21787064/DateTimeOrder.zip
Regards
Hello ... I've scoured the forums for an answer to this seemingly simple request. I have a template setup and it's working great. What I want to do is to 'paint' the color of the bounding box, for the child rows, the same color as their 'parent' row. I know I need to use ViewCellFormatting to achieve the painting of the box but I can't figure out how to get the row color (I'm using Conditional Formatting to color the parent rows) from the parent during the ViewCellFormatting event. The CellFormattingEventArgs only seems to expose the HierarchicalRowInfo object which, if I'm correct in my understanding, represents the Logical tree and the color of the row is from the Visual tree so I need the actual RowElement object representing the parent row. Below is the code for painting my bounding box:
As you can see, I'm using VB.NET but I can always translate C#. I want to replace the Color.GreenYellow with something like e.CellElement.Parent.BackColor. The problem is that the parent is the ScrollableRowsContainer element, not the GridDetailViewRowElement that I'm trying to get. How the heck can I achieve this?
Thanks, Jim
If
TypeOf
e.CellElement
Is
GridDetailViewCellElement
Then
Dim
row
As
GridRowElement = e.CellElement.Parent 'This line doesn't actually retrieve the BackColor of the Parent!!!!!!
e.CellElement.DrawFill =
True
e.CellElement.BackColor = Color.GreenYellow
e.CellElement.Padding =
New
Padding(9, 4, 3, 4)
e.CellElement.Margin =
New
Padding(10, 0, 0, 0)
e.CellElement.Parent.
End
If
Hi there
I'm trying to add rows to a GridViewDecimalColumn with leading zeros. I know there's a property "FormatString" but this is not exactly what I want. I want the numbers always have the same amount of zeros leading. Here you can see my code:
GridViewDecimalColumn col =
new
GridViewDecimalColumn();
col.FormatString =
"{0:0000}"
;
radGridView1.Columns.Add(col);
This will output the following:
Number 1 will be 0001
Number 2 will be 0002
Number 10 will be 0010
Number 100 will be 0100
But what I'm trying to achieve is:
Number 1 should be 0001
Number 10 should be 00010
Number 100 should be 000100
etc.
Is this possible? Hope you can help me.
Regards,
Danilo
I was looking for information on adding combo boxes and check boxes along with other controls that I can add to a row. I wanted to use a formatted row where I can use the HTML view to format the number of rows per row, but I have not located any help files on this.
http://www.telerik.com/help/winforms/gridview-viewdefinitions-html-view.html
In the link provided, i wanted to be able to provide a combobox for the city or country, in addition to viewing several rows for 1 entry.
Any help or a link to a previous forum entry that addresses this would be appreciated.
Hi,
I've gone through this page and have a few questions:
http://www.telerik.com/help/winforms/gridview-populating-with-data-unbound-mode.html
---------
Reason for using Unbound Mode: I'm building a Multi-threaded application, this application has several slow processes in the background and each of them returns a value. I use these values to fill cells in a gridview one by one without blocking the rest of the user interface. I've got this working quite well and happy with the result. I couldn't have done this with binding (this would have resulted in constantly fully reloading the gridview, now I just modify each cell when needed). This is the reason, why I'm using unbound mode.
---------
Now, for my next modification - I need a hierarchy in the gridview and I'm having trouble getting this to work:
I need something like the following:
ROW1: AverageValue1 | AverageValue2 | AverageValue3
ROW1a: Value1a | Value2a | Value3a
ROW1b: Value1b | Value2b | Value3b
ROW1c: Value1c | Value2c | Value3c
ROW2: AverageValue1 | AverageValue2 | AverageValue3
ROW2a: Value1a | Value2a | Value3a
ROW2b: Value1b | Value2b | Value3b
ROW3: AverageValue1 | AverageValue2 | AverageValue3
ROW3a: Value1a | Value2a | Value3a
ROW3b: Value1b | Value2b | Value3b
ROW3c: Value1c | Value2c | Value3c
ROW3d: Value1d | Value2d | Value3d
Now, when following the steps for "hierarchical grid in unbound mode" I'm getting way too many child rows. I believe the reason for this is because I'm using a template like so:
GridViewTemplate template = radGridView1.MasterTemplate.Templates[0];
Then I loop through the amount of childrows that need to be created like so:
for (int j = 0; j < rowCount; j++)
{
template.Rows.AddNew();
}
This results in having way too many childrows. I've just taken two random columnnames as the relationship => I'm assuming this is probably the reason why things aren't working.
The thing is, in my case there is no real relationship between child and parent. The parent is just the average values of all children. Does this mean I need to create an extra column just for the sake of the relationship ?
Also, when using unbound mode (in a non-hierarchical situation) I first create the rows, and then fill them. If in hierarchical mode, I'm getting the impression that I can't create the childrows without filling them (not sure)?
All I really want to do, is create child rows an fill the cells one by one, whenever I can....
Thanks in advance for the help and example !
Hello,
We habe to implement a graphical tour planning.
One line for each employee and all tasks on the timeline.
10:00-----------11:00--------------12:00---------------13:00
Employee 1. /------Task1-----/. /-------Task 2-----/
Employee 2. /---Task1--/ /---------Task2--------/ /--Task3---/
Employee 3
Is there a way to do this with RadGanttView ?
Thanks in advance