Telerik Forums
UI for WPF Forum
3 answers
182 views

Hello,

I am using a WPF Telerik RadMaskTextBox of Currency Mask in my application, but the problem is that I am able to enter negative currencies in this radmasktextbox. Is there a way, such that we can restrict the user to enter only positive values? If so, how?

Thanx.

Alex Fidanov
Telerik team
 answered on 24 Mar 2011
0 answers
99 views
Hello telerik Team,
                            I am using telerik wpf  2010_2_0723_DEV.
 My UI contains some TextBox also have one RadGridView.
My Clarification is how to set keyboard navigation.If i have 5 TextBox then one Grid.
I set Tabindex into TextBox 1 to 5 Respectively.Then Grid TabIndex Is set to 6.
But run time if i check its not working correctly.

When radgrid Get Focus after i am using UP,Down key its not going to row.
Give me some ideas.
sivakanth
Top achievements
Rank 1
 asked on 24 Mar 2011
1 answer
133 views
Is there a simple WPF sample project that can be downloaded that shows how to do sparklines in WPF?
It would be even better if the example made up its own data so there were no database dependencies.

I have seen the examples here : http://demos.telerik.com/silverlight/#Sparklines/Gallery

But these examples use "references" proprietary to Telerik like :   Telerik.Windows.Examples.Sparklines.Gallery

A simple one or two column example of something like a single RadLinearSparkline would be great.

Thanks,

Daryl
Daryl
Top achievements
Rank 1
 answered on 23 Mar 2011
1 answer
87 views
Hi,

I was assuming that "VisibleRange.Start" and "VisibleRangeStart" would return the same value. But sometimes inside the VisibleRangeChanged event, they show different values.

VisibleRange.Start/End has the new visible range after the event and VisibleRangeStart/End has the last visible range before the event. Is this right?

Thanks,
Manoj
Yana
Telerik team
 answered on 23 Mar 2011
3 answers
142 views
In previous versions, there used to be a ClockPanel property to customize the drop-down clock panel. In the newest version, this is marked as deprecated. But there is no or little information on how to use the new ClockStyle property.

I'm looking to change the number of columns in the drop-down ClockPanel dynamically. 

Old code:

<telerik:RadTimePicker x:Name="stopTime" >               
   <telerik:RadTimePicker.ClockPanel>
      <ItemsPanelTemplate>
         <panels:RadUniformGrid x:Name="stopTimePanel" Columns="6" />
      </ItemsPanelTemplate>
   </telerik:RadTimePicker.ClockPanel>
</telerik:RadTimePicker>

It is my understanding the the new code would look something like this:
<telerik:RadTimePicker x:Name="stopTime">
   <telerik:RadTimePicker.ClockStyle>
     <Style TargetType="telerik:RadClock">
        <Setter Property="Template">
           <Setter.Value>
              <ControlTemplate>
                 <panels:RadUniformGrid x:Name="stopTimePanel" Columns="2" />
              </ControlTemplate>
           </Setter.Value>
        </Setter>
     </Style>
    </telerik:RadTimePicker.ClockStyle
 </telerik:RadTimePicker>

But this example doesn't work. The dropdown list simply refuses to show. Can you provide an example of a working ClockStyle that lets you set the displayed number of columns?
Kaloyan
Telerik team
 answered on 23 Mar 2011
2 answers
179 views
Hello,

I'm currently using a single RTB instance to accommodate multiple documents without any issues. For obvious reasons the Undo/History stack for each instance gets lost between document loads. Is there any kind of Undo or History Stack object property of the RichTextBoxUI that I can bind to my ViewModel (and indirectly my data model) to carry this information around?

Any help would be greatly appreciated.

Thanks,
Scott
Top achievements
Rank 1
 answered on 23 Mar 2011
1 answer
94 views
Hi,

I am trying to label my line series on the chart area and collapse the legend. I have about 10 line series and would like to have a label on the series to show the name of the line series. Is this possible?

Thanks
Missing User
 answered on 23 Mar 2011
1 answer
52 views
Hi guys,

I've been experimenting with the WPF RadMap control for a couple of days and everything is working as it should, but I'd like the user to be able to filter the search results based on the AvailableFilters data which is returned from Bing. (This can be seen if we examine the SOAP response in Fiddler).

I've got filtering working via the FilterExpression class, I just need to be able to read the AvailableFilters data - but I can't seem to find it in inside the SearchCompletedEventArgs. I've noticed that you have a AvailableFilters class in the BingSearchService namespace [1], which suggests this is possible. Perhaps someone could point me in the right direction?

I'm using the BingSearchProvider with the query "restaurants in colchester" as my example. This should give 8 available filters. My RadMap version is Q3 2010 SP1.

[1] http://www.telerik.com/help/silverlight/telerik.windows.controls.datavisualization-telerik.windows.controls.map.bingsearchservice.availablefilter.html

Best regards

James
Andrey
Telerik team
 answered on 23 Mar 2011
1 answer
46 views
I have a guage that gets updated once per second. The value has some flux to it, but I don't want the indicator to jump if the value drops a bit on one sampling out of like 10. What I'm looking for is a steady average of values. What do I need to do to make this average work automatically? Obviously, I could record the past x number of samplings and average them myself, but I understood the indicator refresh mode to behave this way when its set to average. What I'm witnessing now is an indicator jump when I get values such as these:

Values:

89
88
92
93
90
88
70 <----Big indicator jump here
88
89
92

I'm just looking to smooth this out a bit. What are your recommendations?

Thanks...
-T

Andrey
Telerik team
 answered on 23 Mar 2011
3 answers
165 views

We use "White" for our UI testing.
I can not find my RadMaskedTextBox by its AutomationId that is a control's name for WPF controls.
TextBox myTextBox = _myWindow.Get<TextBox>("textBoxName"); 

 

All RadMaskedTextBox have the same AutomationId and it is "PART_ExtendedTextBox"
Does anybody use "White" for UI tests? How do you work around this?

Boyan
Telerik team
 answered on 23 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?