Telerik Forums
UI for WPF Forum
3 answers
620 views

Hi,

I have radtreeview control and when OpenFileDialog is shown on top of that control and an item is selected using double click, the OpenFileDialog gets closed which is the expected behavior as the file has been selected. But also the Itemclick event is fired on the treeviewitem which is exactly behind the point where the double click happened on the filedialog.

 

Can you please let me know how to avoid the ItemClick event.

 Thanks.

Tanya
Telerik team
 answered on 05 Apr 2017
3 answers
235 views

Hi I have a paragraph style defined as

new StyleDefinition
{
   DisplayName = "Quotation 1",
   Name = "Quotation1",
   NextStyleName = "Normal",
   Type = StyleType.Paragraph,
   IsCustom = false,
   IsDefault = false,
   IsPrimary = true,
   UIPriority = 4,
   ParagraphProperties =
   {
     LineSpacing = 1.15,
     SpacingAfter = 56.0/3.0
   },
   SpanProperties =
   {
     FontFamily = new FontFamily("Calibri"),
     FontSize = 56 / 3.0,
     FontStyle = FontStyles.Normal,
     FontWeight = FontWeights.Bold,
     ForeColor = Color.FromRgb(193, 43, 103),
   }
};

I have a rad document with multiple paragraphs. If the paragraphs have a default styles I can apply my style to one of them and the document looks like expected. The chosen paragraph is pink and bold.

Unfortunately when the user of the application selects some words in the paragraph make them bold and then not bold again it creates a new span which has exectly the same properties including FontWeight Normal, but after I apply my style only the spans that weren't changed become pink bold while the changed remains Normal.

Is there a way to force span style to the whole paragraph?

Mihail
Telerik team
 answered on 05 Apr 2017
5 answers
186 views

Hello, we are using a RadRichTextBox with SpellChecker dialog.  When a word is added to the custom dictionary, either through the context menu or the SpellChecker dialog, the AddWord event is fired correctly.  However, when a word is deleted from the dialog, or the Delete All is selected, no event is fired.  We are capturing both RemoveWord and DataChanged events, but they are not called.  Our current version of controls may be older, so if this was fixed in a later version, please indicate that so we can proceed accordingly.

Thanks for your help.

Peshito
Telerik team
 answered on 05 Apr 2017
4 answers
110 views

Hello,

is it possible to force syntax highlighting, after setting expression in ExpressionEditor via property ExpressionText? (coming from binding)
On VisualStudio2013_Dark u can't read the expression without highlighting.

 

What i'm doing wrong? The scrollviewers bottom on editor categories and selected category items are hidden?
I'm using Telerik.Windows.Themes.VisualStudio2013 2017.1.313.40. The ExpressionEditor is in a GridRow with height of 300. It should be high enough?!

<telerik:RadExpressionEditor Grid.Row="5"
ExpressionText="{Binding RollenExpression.Expression, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
Item="{Binding Source={x:Static slapz:MainWindowViewModel.Instance}, Path=Users[0]}"
ExpressionChanged="ExpressionEditor_OnExpressionChanged"
x:Name="ExpressionEditor"/>

 

Thanks for any reply.

Regards
Philipp

Philipp
Top achievements
Rank 1
 answered on 04 Apr 2017
2 answers
131 views

There is an error in the code in the vb example in the linq expression the intellisense reports a missing closing bracket ')' see attached image.  do you have a fix for this.

Regards

Joe

 

Dim sd As ColumnSortDescriptor = (From d In grid.SortDescriptors.OfType(Of ColumnSortDescriptor)() Where Object.Equals(d.Column, column)d).FirstOrDefault()

 

Joe Bohen
Top achievements
Rank 1
 answered on 04 Apr 2017
13 answers
914 views
I am currently evaluating the GridView control for a project, great product by the way, and have a question on how I can go about implementing the following:

I need to display (in a grid) an employee record with a collection of hours by month, the issue is that the number of months we will be displaying can vary so I cannot use a static template.

EmployeeRecord
    EmployeeName
    ID
    Collection of Hours by month


should be displayed in the grid in the following way:
_________________________________________________________________
ID | EmployeeName | HoursMonth1 | HoursMonth2 | HoursMonth3 | HoursMonth4|...
---------------------------------------------------------------------------------------------------------

Is there a way to do this using the RadControl GridView, add additional columns to the grid for each item in the hours by month collection?

Thanks!
Stefan Nenchev
Telerik team
 answered on 04 Apr 2017
3 answers
114 views
Setting Tick Placement property of rad slider control to Both value, is there any way to provide multiple tick collection to be assigned for each side. For example, I want the TOP tick placement to to take the values from 10 to 0, while the Bottom tick placement should take the values from 0 to 10.

If this is not possible or it is too complicated to achieve this goal with RadSlider control, then, what is the most appropriate control to achieve this?

Thanks in advanced.
Dinko | Tech Support Engineer
Telerik team
 answered on 04 Apr 2017
1 answer
507 views

Hi

Is it possible to add tool tip on mouse hover to spreadsheet cell. 

And Also Is it possible to use Cell Template in spreadsheet Cell.

Thanks

Tanya
Telerik team
 answered on 04 Apr 2017
0 answers
117 views

I am  facing an issue while copying content from RadGridView to Excel.
my RadGridView has a GridViewSelectColumn as first column, which must be ignored while copying.
When we select rows and copy the content, we are getting the first column header as 'System.Windows.Controls.CheckBox Content: IsChecked:False'

may i know how to avoid this.

I tried 

private void copyingcontent(object sender, GridViewCellClipboardEventArgs e)
        {
            if (e.Cell.Column.DisplayIndex == 0)
            {
                e.Cancel = true;
            }
        }

but this didn't solve my issue. if possible provide solution with code snippet 

 

there was same question long back 

http://www.telerik.com/forums/issue-while-copying-content-from-radgridview

but the solution provided is not correct. sdk browser doesnt have this solution.the example shown in sdk browser is copying nly cell , not complete grid including headers.

rajesh
Top achievements
Rank 1
 asked on 04 Apr 2017
1 answer
218 views

Hi, I've installed the UI for WPF demo, and I would like to try out the RadGridView / GridView Control.

However, it is not available in my Visual Studio (2017) IDE, even though many many other Telerik controls are available.

If I try and add it manually, I get the error: Error The name "RadGridView" does not exist in the namespace "http://schemas.telerik.com/2008/xaml/presentation"

Can someone help me? I would like to evaluate Grid Controls specifically, so if there is a superior control to this one, I'm willing to try it.

Thanks

Brian

Brian
Top achievements
Rank 1
 answered on 03 Apr 2017
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
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
Wizard
ExpressionEditor
NavigationView (Hamburger Menu)
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
PasswordBox
SplashScreen
Callout
Rating
Accessibility
CollectionNavigator
Localization
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?