Telerik Forums
UI for WPF Forum
4 answers
128 views

Hello,

If I open a column filter and switch to another application with Alt-Tab, the filter remains displayed on top of the newly displayed application.

Yoan
Telerik team
 answered on 04 Nov 2015
1 answer
148 views

at the moment I have a text box with some validation code. In the program they can set the range acceptable by the input box. I'm wondering how would I disable a buttom if the validation failed for the input box. At the moment if my validation fails, a ErrorMessage Prompt appears saying it's out of the acceptable range. 

     <telerik:RadMaskedCurrencyInput 
         x:Name="Pv" Grid.Row="0" Grid.Column="1" 
         IsClearButtonVisible="True" 
         SelectionOnFocus="SelectAll" HorizontalAlignment="Center" 
         Width="108"
         ErrorMessage="{Binding PvErrorMessage}"
         AutoFillNumberGroupSeparators="False"
         MaskedInput:MaskedInputExtensions.Minimum="0"         
         EmptyContent="Enter a Principal">
         <telerik:RadMaskedCurrencyInput.Value>
             <Binding Path="Pv" 
                      UpdateSourceTrigger="PropertyChanged"                                         
                      NotifyOnValidationError="True" ValidatesOnExceptions="True">
                 <Binding.ValidationRules>
                     <Framework:IntValidationRule   
                         ValidatesOnTargetUpdated="True"   
                         ProductId="{Framework:DataResourceBinding DataResource={StaticResource ProductId}}" 
                         Type="{Framework:DataResourceBinding DataResource={StaticResource Principal}}"
                         BringForward="{Framework:DataResourceBinding DataResource={StaticResource BringForward}}">
                     </Framework:IntValidationRule>
                 </Binding.ValidationRules>
             </Binding>
         </telerik:RadMaskedCurrencyInput.Value>
     </telerik:RadMaskedCurrencyInput>

If the masked input box has an error, I would like to disable my Button

     <Button Content="Calculate"
             IsEnabled="{Binding CalculatorEnabled}">

Example:

    Range $1-$10,000

    I input $50,000
    Calculator Enabled should be 'False'

How do I update CalculatorEnabled if there's been a validation fail or pass?  

Peshito
Telerik team
 answered on 03 Nov 2015
1 answer
161 views

Hi,

 

I would like to know how I can detect any mouse click on any navigation buttons in the NavigationHeader.

 

Thank's

Alain

Nasko
Telerik team
 answered on 03 Nov 2015
1 answer
220 views

Hi,

 

I would like to know how it's possible to remove the view definitions buttons from the NavigationHeader?

 

Thank's

Alain

Nasko
Telerik team
 answered on 03 Nov 2015
5 answers
305 views

I was asked to try Telerik for our upcoming project.  I downloaded the trial version last friday and played with it yesterday.  The more stuff I added in the XAML, the less WISYWIG was the view in the XAML editor.

I was also getting the IntelliSense issue (see http://www.telerik.com/forums/vs-2015-xaml-intellisense-not-working) so I installed the HotFix.  Now, my rendered XAML in the editor is giving a "Sequence contains more than one element" with a big stack trace.  Still, the test application runs fine.  The problematic XAML is a chart inside the pane of a Split Container:

 

<telerik:RadPaneGroup>
   <telerik:RadPane Header="Results" ContextMenuTemplate="{x:Null}" CanUserClose="False" CanFloat="False">
       <telerik:RadCartesianChart>
           <telerik:RadCartesianChart.HorizontalAxis>
               <telerik:CategoricalAxis />
           </telerik:RadCartesianChart.HorizontalAxis>
           <telerik:RadCartesianChart.VerticalAxis>
               <telerik:LinearAxis />
           </telerik:RadCartesianChart.VerticalAxis>
           <telerik:RadCartesianChart.Series>
               <telerik:BarSeries>
                   <telerik:BarSeries.DataPoints>
                       <telerik:CategoricalDataPoint Category="Apples" Value="20"/>
                       <telerik:CategoricalDataPoint Category="Bananas" Value="28"/>
                       <telerik:CategoricalDataPoint Category="Oranges" Value="17"/>
                       <telerik:CategoricalDataPoint Category="Strawberries" Value="30"/>
                   </telerik:BarSeries.DataPoints>
               </telerik:BarSeries>
           </telerik:RadCartesianChart.Series>
       </telerik:RadCartesianChart>
   </telerik:RadPane>
</telerik:RadPaneGroup>

If I remove the "RadCartesianChart" section, the exception goes away.  The rendered preview still makes no sense though.

It's very hard to create a XAML view if the editor doesn't render the view correctly.

Petar Mladenov
Telerik team
 answered on 03 Nov 2015
1 answer
199 views

Hi,

 I am facing an issue where I have a Listbox in RadPane. This listbox has Textblock, Textblock is made up of hyperlink + some text which I am creating dynamically. On clicking of hyperlink I am navigating to other dock. This works fine when RadPane is pinned, but when it is in auto hide, clicking on hyperlink doesn't work. (It works sometimes in 4-5 clicks). On click of hyperlink, RadPane just gets hide, so Click event doesn;t fire. While Listbox item selected gets fired everytime.

 anybody have any idea , what could be the issue ??

Nasko
Telerik team
 answered on 03 Nov 2015
2 answers
155 views
Hi,

I am using RadGanttView control with Q3 SP1 Version.
When i am register to OpeningContextMenu event on the GanttView and press right click on a Task its not working :(.
When i am press right click on other area like TimeRulerLines the OpeningContextMenu works fine.
I remember that before Q3 SP1 version the OpeningContextMenu event works fine, so can you please check this issue and tell me what i need to fix in my code to make this event works ?

Thanks.
surreal
Top achievements
Rank 1
 answered on 03 Nov 2015
8 answers
683 views

When i use vertical scroll bar to scroll the page,radtabItem are hiding. How i can make the radtabcontrol position fixed to top and i should be able to scroll only the content of the page.

 <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions> 

 <Grid Grid.Row="1">
            <telerik:RadTabControl Width="Auto">
                <telerik:RadTabItem Header="General"
                                    IsSelected="{Binding IsGeneralTabSelected}">

  <Grid>
                        <Grid.Resources>
                            <DataTemplate x:Key="PaletteTemplate">
                                <Ellipse Width="10"
                                         Height="10"
                                         ToolTipService.ToolTip="{Binding ToolTipString}">
                                    <Ellipse.Fill>
                                        <SolidColorBrush Color="{Binding CustomColor}" />
                                    </Ellipse.Fill>
                                </Ellipse>
                            </DataTemplate>
                        </Grid.Resources>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />

.

.​

                 </telerik:RadTabItem>

</telerik:RadTabControl>

</Grid>​

</Grid>​

Thank you.

Dinko | Tech Support Engineer
Telerik team
 answered on 02 Nov 2015
6 answers
1.0K+ views

Currently i have the problem, that i need to know how much visible rows are in the grid. For this, i use the following code:

 

return this.ChildrenOfType<GridViewRow>().Where(item => item.IsVisible).Count();

But this always returns more columns (about 2 - 5) than i can really see. So what am i doing wrong?

 Thank you very much!

Stefan Nenchev
Telerik team
 answered on 02 Nov 2015
4 answers
212 views

Hello,

in ASP you have this method:

protected void TimeSlotCreated(object sender, TimeSlotCreatedEventArgs e)

where you can use this:

int count = e.TimeSlot.Appointments.Count

Ideal scenario:

1. Press on a Slot >> check Resource.Name + Appointments.Count >> if (Appointments.Count >= 5) >> you cannot add a new appointment in this Slot.

 

Thanks in advanced.

Sarif
Top achievements
Rank 1
 answered on 02 Nov 2015
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?