There seems to be a problem with the column creation, when the ItemsSource is empty when the GridView is loaded.
My scenario is simlar to the xaml-sdk-master\GridView\BindingToICustomTypeDescriptor sample. But it can happen, that the ItemsSource contains no items, when the grid is loaded. When the items arrive later, the columns are not build up correctly.
- When AutoGenerateColumns is used, no columns will appear.
- When I create the columns in code (AutoGenerateColumns is set to false and GridViewDataColumns are created and added before the grid is loaded) the columns are shown and the data is displayed, but I am not able to sort or filter the data.
Only when at least one item exits in the ItemsSource when the Grid becomes visible, the grid works as expected. Is there something I have to do, when the first item is available?
Following your documentation Binding to Dynamic Data there is a code which shows how to bind dynamic object properties like "ID" and "Name" to column:
dynamic item = new MyDataRow();
item["ID"] = i;
item["Name"] = "Name " + i.ToString();
items.Add(item);
Hi,
I faced the issue with missing header row for all GridView contols within the app. Pretty much all of the grids have it's own style. Some of GridViews shares GridView header row style. I made some changes on one of the header row styles (some color changes, borders etc, something that should not affect on row visibility) but suddenly, all the GridViews in the app have header row missing.
I went through all GridView controls and set specific property for header row/column visibility but no effect. Any ideas?
Note: recently I updated Telerik dlls to the latest one.Also, I revert changes in the styles to the old one (when it was working fine) but no effect.
Hello,
I've had no problem dragging from other containers to a RadDiagram control. But am stuck on how to drag back and forth between two RadDiagram controls. Do you have any sample code or suggestion for how to accomplish this?
Thanks in advance,
Scott
I've just downloaded the Documentation and APiReference help files. However when I open them on my computer (which uses 200% scaling) they are unreadable with tiny text.
Can someone tell the author(s) of these files to make them DPI aware? We're using Help&Manual for our own stuff and afaik it's just 1 setting in the .HHP file. Set the 'Font Size Encoding' to Pixels (not Points). I could be wrong on the exact setting but as said: our own Help files display fine and yours don't.
For now I found a trick to circumvent it but it's cumbersome and unneeded. The trick: copy HH.exe to a user folder. Set DPI compatibility for hh.exe to System(enhanced), then create shortcuts to the help files to use the compatible hh.exe)
A small change, a world of difference.
Jurgen
Hi,
Short version
of question:
What is the
best way to enforce unique value in a column in an MVVM environment?
Long version
of question:
I’m trying
to enforce a unique value in a column using a custom attribute in the data model.
I ended up with a solution very much like the last example in the old thread
https://www.telerik.com/forums/force-validation-on-new-record-insert
Direct link
to the example provided by Telerik:
https://www.telerik.com/clientsfiles/375715_328546-TestApp-new.zip
However I
see some problem with a solution like that.
At a first
glance, the solution seems to work, but if you edit a value in a cell and the
new value is the same as another cell in the same column, BOTH these cells
would have an error. Not just the cell you edited.
I understand that not all cells can be validated whenever a single cell is edited, but is there any way to configure the RadGridView to “refresh” validations of all visible rows when a validation error is either set or removed?
Steps to visualize the problem.
So is there
a way to prevent validation on cells when scrolling and as a result the error
on row 2 will never be shown?
OR
Is there a
way to force re-validation of all visible cells whenever the error-state
changes in a cell?
I upgraded the example Project above to use version 2018.3.911, but the problem still exists.
Regards
/Stefan Vestin
Hi everyone,
I would like to customize the AppointmentDialog and the RecurrenceDialog in same time but I have a problem.
So, I made in two ResourceDictionary a ControlTemplate foreach Dialog.
After that, I create another ResourceDictionary where I define the Styles :
Then, in the telerik:RadScheduleView I set the proprieties in the following way :
When I test the styles individually it works. However when I test with both styles define, I have this error:
How can I fix that ?
Thanks in advance for your help.