Telerik Forums
UI for WPF Forum
8 answers
374 views
How do I programmatically focus to the first (or any) row in my RadGridView. I can select the record and scroll to the record programmatically just fine, but it seems as if I can't get keyboard focus on the rows without first clicking into one.

Maybe I'm missing something obvious.
Nebojsa Mancic
Top achievements
Rank 2
 answered on 26 Jan 2018
2 answers
205 views

Hi,

Firstly, we were extremely glad to see the ability of having frozen columns on both the left and the right added to an already great product so thanks for that.

I have been asked to find out if there is a way we can have a visible distinction akin to the split column but without allowing the user to actually move / set what columns are frozen.

is this something that can be achieved easily with a style or is there already a property I am missing that will show the Left/Right FrozenColumnsSplitter but not allow the splitter to be moved?

 

Many thanks in advance for your help with this

Lee
Top achievements
Rank 1
 answered on 26 Jan 2018
1 answer
96 views
Dear Sirs, 

I'm using a RadVirtualGrid which shows a scrollbar sometimes. My issue is that when the user rightclicks on the scrollbar it shows an undesirable contextmenu.
How do I disable this contextmenu? 

Follows an image attached showing this contextmenu.
Yoan
Telerik team
 answered on 26 Jan 2018
13 answers
2.8K+ views
I have a solution that uses many telerik wpf controls (grid, busyindicator, tabcontrol etc.). None are showing in the visual studio designer until I clear out hidden build folders (obj/debug etc.). There are simply white blocks where the control should be. Where this is a real issue is where the busyindicator is wrapping the whole window. All of the window controls wpf base and/or telerik controls are invisible.

If I create a new solution and simply drag controls on to a new window the controls show up fine. 

Clearing out the hidden build folders and reloading a window xaml file shows the controls until i build at which point they disappear.

Can anyone assist with this please.

I  am using Q2 2011. 

Many thanks
Kaveh
Top achievements
Rank 1
 answered on 25 Jan 2018
1 answer
141 views
WPF binding is two-way be default, I swapped out a bunch of controls in a project to telerik. It has come to my attention some telerik controls are not two-way by default. Is there a way to set certain bindings to two-way by default? Or would I need to explicitly do it at each location? Also, I heard that RadWatermarkTextBox is two-way by default, where could one find a list of what is and what is not if such a list exists?
Dinko | Tech Support Engineer
Telerik team
 answered on 25 Jan 2018
1 answer
142 views

 

I am using GridView.export() to export the gridview details in the .csv file. After export I can see some special characters inserted in the strings such as " Â" if the string consists of symbol like "<abc>". Is there any way to avoid addition of special characters while exporting? 

 

e.g.
I was trying to export a file having list of names. One of name string consists of string like  "xy<abc>z". After performing export functionality a special character gets inserted in between the name such as "xy<abc>Âz". Because of this name displayed on grid and exported file does not match.

Stefan
Telerik team
 answered on 25 Jan 2018
2 answers
284 views

Hi guys,

I'm desperately trying to find the easiest way of accomplishing this. In short I have a RadGridView of which I have used the ExportToPdf method successfully to export the grid in a landscape format to PDF.

 

GridDetails.ExportToPdf(stream, new GridViewPdfExportOptions()
{
  ShowColumnHeaders = true,
  ShowColumnFooters = true,
  ShowGroupFooters = true,
  PageOrientation = PageOrientation.Landscape,
  ExportDefaultStyles = true,
  AutoFitColumnsWidth = true
});

 

I have been asked whether I can now include the company logo and title to the top, as well as additional text at the bottom. I have looked at trying to use the ExportToRadFixedDocument method, however I cannot seem to get the grid to appear in landscape.
I have tried the following code only to find the page rotated to be landscape, but it's contents appearing as if it were still portrait:

GridViewDocumentExportOptions options = new GridViewDocumentExportOptions();
options.AutoFitColumnsWidth = true;
options.ExportDefaultStyles = true;
options.ShowColumnHeaders = true;
 
RadFixedDocument fixedDoc = GridDetails.ExportToRadFixedDocument(options);
RadFixedPage page = fixedDoc.Pages[0];
page.Rotation = Telerik.Windows.Documents.Fixed.Model.Data.Rotation.Rotate270;

 

This makes sense as the Fixed document is no doubt generated in portrait by the ExportToRadFixedDocument method and unlike GridViewPdfExportOptions, GridViewDocumentExportOptions does not have a PageOrientation property to specify otherwise.

My last remaining option was to use RadFixedDocumentEditor and draw the whole thing from scratch, however if I can avoid this I would rather not spend the time trying to figure out where to draw each row of the grid and whether it needs to be split across multiple pages.

Am I missing something? Is there an easy way to generate a FixedDocument from a RadGridView that has it correctly rotated from which I can then add additional items using the FixedContentEditor.

Thanks
Marc

Marc
Top achievements
Rank 1
 answered on 24 Jan 2018
1 answer
78 views
i want add a bookmark to the header/footer,but i don't know how to do it
Peshito
Telerik team
 answered on 24 Jan 2018
13 answers
2.1K+ views

Hi,

I added references to telerik dlls in the code, with copy local set to true. But, when I am building the project I am receiving an error randomly. 

Error1Unknown build error, 'Cannot resolve dependency to assembly 'Telerik.OpenAccess, Version=2015.1.220.1, Culture=neutral, PublicKeyToken=7ce17eeaf1d59342' because it has not been preloaded. When using the ReflectionOnly APIs, dependent assemblies must be pre-loaded or loaded on demand through the ReflectionOnlyAssemblyResolve event.' C:\Windows\Microsoft.NET\Framework\v4.0.30319\Microsoft.WinFx.targets2689SMS

I am not using openaccess assembly at all. I have no idea why this keeps coming randomly. I am not even able to find the dll anywhere to add it to the project. 

Kindly help me fix this issue. 

Tom
Top achievements
Rank 1
 answered on 23 Jan 2018
3 answers
111 views

I am unable to update the cell background color on the paste of cell values.

I have tried the Pasted, Pasting, PastingCellClipboardContent events on the radgridview. All of this events provide GridViewCellInfo which does not contain the enough information to update background color of the cell.

Also CellValidating event is not fired for the pasted cells in the radgridview, could you please let me know the reason for the same?

 

Vladimir Stoyanov
Telerik team
 answered on 23 Jan 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?