Telerik Forums
UI for WPF Forum
5 answers
250 views

Dears , 

 

i don't know how to add zoom to Rad Polar chart , could you help me with example ?

 

regards

 

Evgenia
Telerik team
 answered on 25 May 2016
5 answers
274 views

Hi, I am using Bar chart to display some data. But most often, the bars are too small to be visible in the view. Please see attachment.

Is there something I can set so that even though the Y value is small, bar is still visible in the view?

Thanks,

Mingxue

Petar Marchev
Telerik team
 answered on 25 May 2016
3 answers
457 views

I am using the RadGridView control in an MVVM (Light) application. I added the following EventToCommandBehaviors to initiate row validation when leaving the selected row:

<telerik:EventBinding EventName="RowValidating" Command="{Binding ValidateCommand}" PassEventArgsToCommand="True"/>

<telerik:EventBinding EventName="RowEditEnded" Command="{Binding SaveCommand}" PassEventArgsToCommand="True"/>

 

Here's the method and helper method that gets called and works like it should to add the error:

        private void ExecuteValidate(GridViewRowValidatingEventArgs eventArgs)
        {
            var employee = eventArgs.Row.DataContext as Employee;
            if (employee?.RecId == (int)RecEnum.CertainState && employee.OtherRecId == null)
            {
                var validationResult = new GridViewCellValidationResult
                {
                    PropertyName = "ColumnUniqueName",
                    ErrorMessage = "Must enter a OtherRecId when RecId is set to CertainState"
                };
                eventArgs.ValidationResults.Add(validationResult);
            }

            if (eventArgs.ValidationResults.Count > 0)
            {
                eventArgs.IsValid = false;
            }
        }

And finally, following the instructions of removing the UserDefinedErrors, I add the following line in the RowEditEnded event:

            eventArgs.UserDefinedErrors.Clear();

 

If I fix the error, the row is saved, but the mouseover error message remains even though there are no errors. I followed your directions by adding the eventArgs.UserDefinedErrors.Clear(), but this didn't help.

Does anyone have any workarounds or must this bug be fixed?

Thanks for your help.

Dilyan Traykov
Telerik team
 answered on 25 May 2016
2 answers
255 views

I'm working on porting a Silverlight project to WPF, both projects use the telerik controls which has made it surprisingly easy (thank you).

However, I'm now trying to port an upload page that uses the Silverlight RadUpload control to the WPF RadCloudUpload and I'm not sure where to start. The target of the upload is an asp.net website; do you have any examples of wiring up RadCloudUpload to asp.Net using something like the RadUploadHandler target that RadUpload uses? 

Thanks,

Richard

Richard
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 24 May 2016
1 answer
164 views

Hello

I have 3 questions.

How can I hide the Timeruler on the top of the Scheduler (RadScheduleView on Timelineview) so only the date remains visible (see attachment)?

When I drag and drop one (or more) appointment else where the selectedappointment goes to any other appoinment except the dropped one. I want  the dragged appointment to remain selected. How can i achieve this?

Is there any way to disable the keyboard combination ctrl + mouse-left-button on (Appointment)Multiselection case? I only want to do it on code behind.

 

Sincerly

Kasar

Yana
Telerik team
 answered on 24 May 2016
3 answers
99 views

I'm getting something weird happen everytime I switch to Month View (picture attached).

All the appointments - it doesn't matter when they are scheduled - seem to appear over the date that they are scheduled for, rather than inside the actual calendar slot.  It doesn't seem to matter what time they are scheduled for.  If I add more appointments to the same day - they appear below one another (so that's working ok) - its just the first appointment appears over the actual date.

All the appointments seem to be display fine in Day View (Horizontal) and Week View (Vertical) view and also Timeline View - so I don't understand what I've done to make it happen like this - any thoughts on what to check?

Yana
Telerik team
 answered on 24 May 2016
1 answer
162 views

Hi,

I am using a RadRibbonWindow in my application. Setting the MinWidth and MinWidth does not stop the window to being resized to a very small size.

Is this a bug, or am i missing something here?

 

Thanks!

Dinko | Tech Support Engineer
Telerik team
 answered on 24 May 2016
2 answers
258 views

    Hello Telerik,

 

One thing I need to point is I use LinqToSQL, composing a IEnumerable<Something> placed inside a VirtualQueryableCollectionView and finally bound to the grid: ItemsSource="{Binding VirtualCollectionOfSomething}"

I am looking for a way to search in my gridview data using a TextBox outside of the grid, without having to go to the database a second time.

Is there a way I can trigger the built-in gridview filter event using the textbox input as a filter parameter to a specific column?

 

thank you!

Stefan
Telerik team
 answered on 23 May 2016
2 answers
329 views

Hey,

 

Is there baked-in functionality to serialize the visible columns and their ordering from the gridview? Nothing is immediately obvious but it seems like reasonably standard functionality. If not is there a recommended best practice to do this?

 

Cheers,

Tom

Thomas
Top achievements
Rank 1
 answered on 22 May 2016
2 answers
341 views

Hi,

I have created a user control with a RadDropDownButton with a DataGrid as DropDownContent inside. To close the popup I have implemented a trigger action with a dependency property (to reference the RadDropDownButton) which is invoked whenever the selection of the DataGrid is changed.

 

public class CloseOnSelectionChangedTrigger : TriggerAction<UIElement>
  {
    protected override void Invoke(object parameter)
    {
      ((RadDropDownButton)this.Target).IsOpen = false;
    }
 
    public UIElement Target
    {
      get
      {
        return (UIElement)this.GetValue((TargetProperty));
      }
      set
      {
        this.SetValue(TargetProperty, value);
      }
    }
 
    public static readonly DependencyProperty TargetProperty =
      DependencyProperty.Register("Target", typeof(UIElement), typeof(CloseOnSelectionChangedTrigger), new UIPropertyMetadata(null));
  }

 

Unfortunately, when I use this user control in my MainWindow more then once I get a compiler error (sample project attached):

System.Windows.Data Error: 4 : Cannot find source for binding with reference 'ElementName=RadDropDownButton1'. BindingExpression:(no path); DataItem=null; target element is 'CloseOnSelectionChangedTrigger' (HashCode=58874610); target property is 'Target' (type 'UIElement')

 

Telerik version: 2016_2_503

 

What I'm doing wrong?

 

Regards

Evgenia
Telerik team
 answered on 20 May 2016
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
PersistenceFramework
DataPager
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?