Telerik Forums
UI for WPF Forum
6 answers
415 views

Hi,

First I apologize if the following issues are already replied.

I am using the WPF Calendar and I have the following issues:

  1. When I try to set the SelectableDateStart to a date prior to current Month (e.g 20 May 2011)

calendar starts again from current month (June in our case).

How is it possible to show calendar starting from the right month?

In my example I use the following dates:

SelectableDateStart: 20 May 2011

SelectableDateEnd: 26 October 2011

I also calculate the DisplayDateStart to be the first day of SelectableDateStart,

and DisplayDateEnd to be the last day of SelectableDateEnd.

  1.  When I try to set SelectableDateStart to a date after the current month (e.g 8 July 2011)

I get an ArgumentOutOfRangeException:

Invalid DisplayDateStart value.

Parameter name: sender


Thanks in advance

Alek
Telerik team
 answered on 15 Jan 2013
2 answers
242 views
In an MVVM application I have a RadGridView bound to an ObservableCollection of objects that implement INotifyPropertyChanged. I can edit an object in this collection in another viewmodel and I can see this change propagate (via a PropertyChanged event handler on the current item) to the viewmodel with the RadGridView but the grid does up update the column.

The grid does see additions and deletions from the collection, but not individual object property changes.

I know this worked at one time, and we have upgraded our telerik tools recently, so I'm wondering if anything has changed.
Kevin
Top achievements
Rank 1
 answered on 15 Jan 2013
1 answer
180 views
I'v created a simple WPF user control containing a RadGridView
which I am hosting on a WinForms form using an elementHost.

The issues occur when I'm creating a custom hierarchy, basically creating a master-detail of companies and employees.
I have done so by adding a childTableDefinition through the xaml and subscribing to the DataLoading event to tinker with the inner grid (just like your given sample).
When the mouse hovers over the scroll bar of the inner grid, it glows but if I press it down and drag the outer scroll bar is the one responding.
Oddly, I can still scroll with the keyboard and the mouse scroll.
Trying to deal with the issue myself I've found that setting IsScrolling to true and then to false during the DataLoading event fixes the problem, but it still occurs with other scroll bars I have no control over, specifically when using the column sort - there are combo boxes inside the sort dialog which manifest the exact same behavior.

Sorry if I haven't been so clear in my description and thanks in advance.
Vera
Telerik team
 answered on 15 Jan 2013
2 answers
108 views
Hi,

is there a way to merge the Telerik DLLs into my EXE-File? I want to have one single file that contains all libraries.

-simon
Vlad
Telerik team
 answered on 15 Jan 2013
3 answers
442 views

Hi

Am new at using Telerik for WPF,

so i created a WPF Telerik solution in VS and included the GridView component then
it referenced the 4 Telerik  DLL's. added the Grid to the Mainwindow.XAML build the solution
and all is Good.

The problem is the Compiler spits out a bunch of Folders(EN FR DE JA TR ES ETC...) with the .EXE
and Also included the 4 Telerik DLL's.

Is it possible to build the Application and produce only the .EXE with the assemblies embedded in it and
no Folder's for all those nations.i tried many methods with no success
EX.( ILMerge - SmartAssembly also tried to place dlls as resource did not work either)
I dont know what am doing wrong the app works but how to merge all those Dll's in it?


I search your forms most examples are for WinForms and no (Telerik.WinControls.RadTypeResolver.Instance.ResolveTypesInCurrentAssembly = true;)
similar method for WPF
.


Thank you regards


Vlad
Telerik team
 answered on 15 Jan 2013
2 answers
166 views
Hi. I'm attempting to use GridViewMaskedTextBoxColumn to create a column to contain numeric values with a maximum of 2 decimal places (for example 123.45), I'm not able to locate any documentation on how the Mask property works for this control. All I've been able to find are just random examples, and nothing I've tried so far seems to work correctly.

Can someone provide me with a link to this information? Thanks.

Editing for clarity -

I know there's API-level documentation for the GridView available at http://www.telerik.com/help/wpf/n_telerik_windows_controls_gridview.html

What I'm not able to find is 1) any documentation for GridViewMaskedTextBoxColumn (or any column types at all, really) and 2) any documentation on what the Mask property's allowed values are. Those are the two things I'm hoping to get myself pointed to here.
Vlad
Telerik team
 answered on 15 Jan 2013
1 answer
195 views
I want to pass in value into the custom User Control "CustomerBilling " programmatically inside tab control for each row in RadGridView.  Which event should I call?  Is it RowLoaded?  How I could I access the User Control of "CustomerBilling" in C#?  In Xaml, I could just type the paramter "ModifiedBy", but I do not want to set the value in there.  How could I do it via RowLoaded event? Thanks.
<telerik:RadGridView.RowDetailsTemplate>
               <DataTemplate>
                   <telerik:RadTabControl Name="RadTabControl1" Width="702" HorizontalAlignment="Center"
                                          Margin="8" VerticalAlignment="Center" >
                       <telerik:RadTabItem Header="Billing Address"  >
                           <local:CustomerBilling ModifiedBy="adfdf" />
                       </telerik:RadTabItem>
                       <telerik:RadTabItem Header="Shipping Address" >
                           <local:CustomersShipping />
                       </telerik:RadTabItem>
                   </telerik:RadTabControl>
               </DataTemplate>
           </telerik:RadGridView.RowDetailsTemplate>

Vlad
Telerik team
 answered on 15 Jan 2013
1 answer
151 views
Hi

I'm trying to get DataForm validation up and running for my WCF Service based application. I'm using item level attribute-based validation according to http://www.telerik.com/help/wpf/raddataform-validation-item-level.html. This is working fine if I add the attributes directly to the DTO classes generated by the Open Access Service Wizard (i.e. directly in Transport.cs).

[DataMember]
[Required]
public virtual string Name {
    get {
        return this._name;
    }
    set {
        if (Name == value)
            return;
 
        this.OnPropertyChanging("Name");
        this._name = value;
        this.OnPropertyChanged("Name");
    }
}


However, as adding the metadata to Transport.cs is probably not the best idea, i tried to move the metadata to a seperate metadata class and inject it to the DTO via a MetaDataTypeAttribute.

[MetadataTypeAttribute(typeof(EmployeeDto.Metadata))]
public partial class EmployeeDto
{
    internal sealed class Metadata
    {
        private Metadata() {
        }
 
        [Required]
        public string Name { get; set; }
    }
}

But i couldn't get this to work, the DataForm ignores the metadata while validating. Is there something I've missed or is this fature not supported by RadDataForm?

Regards
Ivan Ivanov
Telerik team
 answered on 14 Jan 2013
3 answers
299 views
Greetings all,

I am using a RadTabControl.

I'd like to remove the little space to the left of the tab and the line at the bottom of the tab. What I'm trying to do is have a gradient that spans from the top of the tab through the bar where the toolbar is placed.

Image is attached.

Is this possible?

Thanks

Wade
Pavel R. Pavlov
Telerik team
 answered on 14 Jan 2013
4 answers
515 views
How could I use code to set the background color and icon image of each RadPane?

The RadPane is created in code and added to RandPanGroup with AddItem method.

For the background, I tried radPane.Background = brush but it has no effect.

For the icon, I can not find any properties for assigning values.

Thanks
Masha
Telerik team
 answered on 14 Jan 2013
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
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
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
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?