Telerik Forums
UI for WPF Forum
1 answer
103 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.9K+ 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
145 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
150 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
297 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
80 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
115 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
1 answer
110 views

I have been using RadDocking in WPF for a few years now and have been loading and saving layouts but we have noticed one issue that I am trying to address. If a user creates two (or more) documents in a DocumentHost and puts one above the other and saves the layout when the layout is restored the documents are side by side. Below is the XML that is generated by the SaveLayout call. I believe the pertinent attribute is the Orientation="Vertical" in the RadSplitContainer. If I read that correctly the two RadPaneGroups should be positioned vertically one above the other on the screen but they are always positioned side by side. I am still investigating and trying to reproduce this in a simpler application that I can share but I was wondering if anyone else had seen this behavior.

 

<RadDocking>
  <DocumentHost>
    <RadSplitContainer>
      <Items>
        <RadSplitContainer RelativeWidth="100" RelativeHeight="100" IsAutoGenerated="True" Orientation="Vertical" SplitterChange="701">
          <Items>
            <RadPaneGroup SerializationTag="DocumentGroup" SelectedIndex="0">
              <Items>
                <RadPane SerializationTag="LogViewer" IsPinned="True" IsHidden="True" IsDockable="True" Header="Log Viewer" />
                <RadDocumentPane SerializationTag="dtm:points:fc0c8d04-3d65-47d7-a5ad-d46f433a0fc6:/Outstation/sDNP/sDNP/sDNP" IsPinned="True" IsDockable="True" Title="DTMControls.DTMPointListCtrl" Header="DTMControls.DTMPointListCtrl" />
              </Items>
            </RadPaneGroup>
            <RadPaneGroup RelativeWidth="100" RelativeHeight="100" IsAutoGenerated="True" SelectedIndex="0">
              <Items>
                <RadDocumentPane SerializationTag="dtm:points:61ef9dd8-ca6e-4b67-9fde-ab94c8e148f6:/Master/mDNP/mDNP/mDNP" IsPinned="True" IsDockable="True" Title="DTMControls.DTMPointListCtrl" Header="DTMControls.DTMPointListCtrl" />
              </Items>
            </RadPaneGroup>
          </Items>
        </RadSplitContainer>
        <RadPaneGroup RelativeWidth="100" RelativeHeight="100" IsAutoGenerated="True" SplitterChange="489" SelectedIndex="0">
          <Items>
            <RadDocumentPane SerializationTag="dtm:display1:57269279-9f89-4df3-981d-ca8ed4c2d485:/Outstation/Outstation Display.tgf" IsPinned="True" IsDockable="True" />
            <RadDocumentPane SerializationTag="dtm:analyzer:418e5fde-b466-44e1-8694-ba2d659a8a1c:/" IsPinned="True" IsDockable="True" Title="DTMControls.DTMAnalyzerCtrl" Header="DTMControls.DTMAnalyzerCtrl" />
          </Items>
        </RadPaneGroup>
      </Items>
    </RadSplitContainer>
  </DocumentHost>

Kalin
Telerik team
 answered on 23 Jan 2018
2 answers
166 views

my RadPropertyGrid size is fixed, and I do not want a horizontal scroll bar. so i set ScrollViewer.HorizontalScrollBarVisibility="Disabled"

when drag the slider (which can seperate the property and value) ,  can drag it out of the right side,

how to prevent this

rui
Top achievements
Rank 1
 answered on 23 Jan 2018
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Slider
Expander
TileList
PersistenceFramework
DataPager
Styling
TimeBar
OutlookBar
TransitionControl
Book
FileDialogs
ToolBar
ColorPicker
TimePicker
SyntaxEditor
MultiColumnComboBox
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
DesktopAlert
WatermarkTextBox
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
ProgressBar
Sparkline
LayoutControl
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
WebCam
CardView
DataBar
Licensing
FilePathPicker
PasswordBox
Rating
SplashScreen
Accessibility
Callout
CollectionNavigator
Localization
AutoSuggestBox
HighlightTextBlock
Security
TouchManager
StepProgressBar
VirtualKeyboard
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?