Telerik Forums
UI for WPF Forum
2 answers
226 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
150 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
89 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
134 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
247 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
314 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
319 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
1 answer
152 views

I am experiencing some problems making AccessKeys work the way I understand they should in a RadRibbonView.

I have a sample application to demonstrate the problem, but I do not know how to make it available.  When the application is running, pressing Ctrl+D should activate the click event of a RadRibbonButton.  Note that I configure the AccessKeys property in the initialized event of the button as follows:

private void RadRibbonButton_Initialized(object sender, EventArgs e)
{
    ((RadRibbonButton)sender).SetValue(KeyTipService.AccessKeysProperty, new Collection<KeyGesture>() { new KeyGesture(Key.D, ModifierKeys.Control) });
}

This is my xaml code for the ribbon:

<telerik:RadRibbonView Grid.Row="0" VerticalAlignment="Top" Grid.ColumnSpan="2" telerik:KeyTipService.IsKeyTipsEnabled="true">
            <telerik:RadRibbonTab Header="RibbonTab" telerik:KeyTipService.AccessText="R" >
                <telerik:RadRibbonGroup>
                    <telerik:RadRibbonButton telerik:KeyTipService.AccessText="H" telerik:KeyTipService.AccessKey="Ctrl+D" Click="RadRibbonButton_Click" Text="Test" Initialized="RadRibbonButton_Initialized" />
                </telerik:RadRibbonGroup>
            </telerik:RadRibbonTab>
        </telerik:RadRibbonView>

What can I do to get this working?

Evgenia
Telerik team
 answered on 20 May 2016
1 answer
161 views

Hi,

We are using RadDocking with Caliburn Micro and view model first approach. Inside factory we create view models which are resolved by Caliburn Micro. Recently we found that we don't really know how to add AutomationId (or any other name to dynamically loaded views). Is there any proven way to solve this issue?

 

RadDocking is declared the following way:

<telerik:RadDocking x:Name="radDocking" AutomationProperties.AutomationId="radDockingId" DockingPanesFactory="{Binding PanelsFactory}" PanesSource="{Binding Panes}"

 

Have a nice day,

Best regards,

Maciek

Nasko
Telerik team
 answered on 20 May 2016
2 answers
495 views

Hello,

I want to know if is it possible to do that RadNumericUpDown accepts dot AND comma ?

I see this code on the web :

if (e.KeyChar.Equals('.') || e.KeyChar.Equals(','))
{
    e.KeyChar = ((System.Globalization.CultureInfo)System.Globalization.CultureInfo.CurrentCulture).NumberFormat.NumberDecimalSeparator.ToCharArray()[0];
}

With this code, i did it :
private void tbOpeSurValeur_KeyDown(object sender, KeyEventArgs e)
{
    if (e.Key == Key.Decimal || e.Key == Key.OemComma)
    {
        e.Key = (Key)((System.Globalization.CultureInfo)System.Globalization.CultureInfo.CurrentCulture).NumberFormat.NumberDecimalSeparator.ToCharArray()[0];
    }
}

But, 2 problems :
- This is not 'e.KeyChar' but 'e.Key'
- 'e.Key' is in ReadOnly, I can't change his value..

Can you help me ?
Thank you.

Valentin.

Valentin
Top achievements
Rank 2
Iron
Iron
Iron
 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
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?