Telerik Forums
UI for WPF Forum
3 answers
244 views
Hi,

Is possible to drag tile item without clicking the header? I need to drag the tile by clicking in the tile, and moving around holding the mouse button. The idea is to use this in a touch screen and I want the user clicking in the tile instead of the header. How can I do that?

Best regards,
Gonçalo Martins
Petar Mladenov
Telerik team
 answered on 22 Feb 2012
2 answers
117 views
Is there a way to create a stacked 100% BarSeries in a ChartView?
Ben
Top achievements
Rank 1
 answered on 22 Feb 2012
0 answers
104 views
Hi @ All,

i have a checkbox in each row. But just in one row it is allowed to set the checkbox true. Is there a easy way to do that?

Thanks
ww

ITA
Top achievements
Rank 1
 asked on 22 Feb 2012
1 answer
159 views
TextBoxRibbonUI localization doesn't work  but same localization is working in radribbinbar which was the previous version in wpf controls.
Tina Stancheva
Telerik team
 answered on 22 Feb 2012
1 answer
128 views
Hi,

I am using WCF data service to fetch spatial objects (polygon) from SQL Server database and render them on the information layer.Everything was working fine until I decided to have my calls Asynchronous, in which I have a callback method to assign my polygon list to a bind-enabled property on my ViewModel (PRISM).My view used to be slow and would hange due to both the synchronous WCF call and the bing provider assignment which seems to freeze the UI. Now my WCF call is Asynchronous and does not freeze the UI, but the bing provider assignment is still freezing the view for about 2 to 3 seconds.Is there any plan to change this provider effects on the UI ?

Thanks

Madani
Andrey
Telerik team
 answered on 22 Feb 2012
5 answers
347 views
I've got a RadSplitContainer that contains three RadPaneGroup each with one RadPane. On a certain event, I want to "shrink" one of the RadPanes. Changing the RadPage height or maxheight didn't seen to make a difference but changing the parent RadPaneGroup does. 

So in my code right now, on one click event when I want my RadPane to shrink, I change the RadPaneGroup's MaxHeight to 50. When I want it to expand again, I change the RadPaneGroup's MaxHeight back to PositiveInifinity. This works well but as soon as I change the height of the RadPaneGroup itself by grabbing the little separator between each RadPaneGroup with my mouse and dragging it; when my collapse event fires, the RadPaneGroup gets shrunk too much or not enough depending on whether I changed the height to be bigger or smaller than before.

It appears the value I set the MaxHeight to needs to change dynamically depending on the current ActualHeight of the RadPaneGroup but I can't seem to find at what factor this needs to change by or, more baffling, why it appears to be opposite depending on the way I changed the height of the RadPaneGroup (for example, if I make it bigger, I have to use a smaller number for the MaxHeight).

So first off, am I doing this wrong by playing with the MaxHeight? If not, how can I get this control whether it be the parent RadSplitContainer or the individual RadPaneGroups to change their height from/to a specific value and from/to infinity (fill)?

EDIT: I've also found that when I "shrink" the middle RadPaneGroup, it doesn't work the first time... then I expand it and shrink it again and, while it works, there is a large gap between it and the top RadPaneGroup.
Konstantina
Telerik team
 answered on 22 Feb 2012
1 answer
125 views
I've run into some somewhat strange behavior.

As I hover over items, the item gets highlighted in yellow. But if I then switch to navigating with the keyboard, the highlighted item is still shown, and now it's confusing as to which highlight is indicating the selection.

Is this expected behavior, and is there a way to control it?
Vera
Telerik team
 answered on 22 Feb 2012
2 answers
301 views
I am using a linear gauge set to horizontal orientation inside a User Control class.  Because of the number of different ways that a user needs to be able to configure this control class I am building the whole gauge in the code behind and none in the xaml.  When I go to re-size the gauge by dragging it horizontally then the scale will re-size appropriately in the height and width dimensions, but when I attempt to re-size the control vertically the scales height and width will not decrease with the re-size of the control.  This will happen until the scale is covered up by the bottom edge of the gauge.  How can I get the scale to correctly size within the UserControl?

I have attached screenshots to see how the control looks when it is re-sized vertically and horizontally.

 Thanks for any help.

The first code sample creates the gauge in the codebehind and the second code sample keeps the top of the scale in the correct spot when re-sizing.
private void SetupHorizontalSlider()
      {
         //clear the grid of any controls before setting up a control
         layoutRoot.Children.RemoveAt(0);
 
         //create the RadGauge
         mGaugeControl = new RadGauge() { Name = "mGaugeControl" };
 
         //create the LinearGauge
         LinearGauge linearGauge = new LinearGauge();
 
         //add the LinearGauge to the RadRauge container
         mGaugeControl.Content = linearGauge;
 
         //create the LinearScale
         LinearScale linearScale = new LinearScale()
         {
            Name = "linearScale",
            Min = 0,
            Max = 10,                       
            StartWidth = 0.1,
            EndWidth = 0.1,
            StrokeThickness = 1,
            MajorTicks = 10,
            MiddleTicks = 1,
            MinorTicks = 5,
            Orientation = Orientation.Horizontal,                       
            Left = 0.15,
            Top = 0.13,           
            RelativeHeight = 0.70
         };
 
         linearScale.MajorTick.Length = 0.01;
         linearScale.MajorTick.TickWidth = 0.1;
         linearScale.MajorTick.Location = ScaleObjectLocation.OverCenter;
         linearScale.MiddleTick.Length = 0.025;
         linearScale.MiddleTick.TickWidth = 0.5;
         linearScale.MiddleTick.Location = ScaleObjectLocation.OverCenter;
         linearScale.MinorTick.Length = 0.02;
         linearScale.MinorTick.TickWidth = 0.3;
         linearScale.MinorTick.Location = ScaleObjectLocation.OverCenter;
         linearScale.SizeChanged += new System.Windows.SizeChangedEventHandler(linearScale_SizeChanged);
 
         linearScale.Label.Location = ScaleObjectLocation.Inside;
 
         //add the RadialScale to the RadialGauge Items collection
         linearGauge.Items.Add(linearScale);
          
         //use the marker styled in the resource section of this page
         mMarkerTemplate = this.Resources["HorizontalTopMarkerTemplate"] as ControlTemplate;
          
         //create the LinearBar indicator and add it to the indicators collection
         mLinearBar = new LinearBar()
         {
            Name = "bar",
            Location = ScaleObjectLocation.OverCenter,
            EmptyFill = System.Windows.Media.Brushes.Transparent,
            Background = System.Windows.Media.Brushes.Green,
            IsAnimated = true,
            Duration = new Duration(TimeSpan.FromSeconds(2)),
            Value = 2
         };
         linearScale.Indicators.Add(mLinearBar);
 
         //create marker indicator to add to the indicators collection
         mNeedle = new Marker()
         {
            Name = "needle",
            Template = mMarkerTemplate,
            IsAnimated = true,
            Duration = new Duration(TimeSpan.FromSeconds(2)),
            Location = ScaleObjectLocation.OverCenter,           
            RelativeHeight = 0.1,
            RelativeWidth = 0.09,
            Value = 2
         };
         linearScale.Indicators.Add(mNeedle);
          
 
         //register the needle with the page so that the animation will work correctly
         RegisterControl(mNeedle.Name, mNeedle);
         RegisterControl(mLinearBar.Name, mLinearBar);
 
         //create NumericIndicator to add to the RadialScale Indicators collection
         //mValueIndicator = new NumericIndicator();
 
         mGaugeScale = linearScale;
         mGauge = linearGauge;
 
         layoutRoot.Children.Add(mGaugeControl);       
      }
void linearScale_SizeChanged(object sender, System.Windows.SizeChangedEventArgs e)
{
   ((Telerik.Windows.Controls.Gauges.LinearScale)(sender)).Top = (e.NewSize.Height / e.NewSize.Width) / 2;
}
Andrey
Telerik team
 answered on 22 Feb 2012
2 answers
88 views
Hi there,

a lot of guys are right: it seems to be neccessary to wait for the first service pack of a new Telerik version. :-(

This was the same procedure with ANY new version in the past... this is not a very good recommendation for the QA at Telerik, I guess.

You should not favor QUANTITY over QUALITY. It is very, very frustrating to find several new bugs in *existing controls* in every new release of the controls and to wait for the service pack for several weeks.

We tested the new 2012.1.0215 version in our current project (it uses several WPF controls from Telerik). And after some minutes of testing, we found 4 really severe bugs. Basic stuff, which worked totaly fine the 2011.3.1220 version...

So we had to switch back again (as allways).

Look at DevExpress (I worked with their controls for years in the past): they seem to have a much better QA than Telerik. I never had such problems with new bugs in new versions of WPF/WinForm controls at DevExpress.

Come back to QUALITY and good QA, guys! Your customers want to have stable and bugfree controls. Invest more in QA of existing functionality instead to produce more and more fancy controls for the kids in the block!

A very frustrated customer.

Felix BrĂ¼ckner
Normfall GmbH
Germany

Felix
Top achievements
Rank 1
 answered on 22 Feb 2012
3 answers
245 views
Hello,
I want to prepare calendar for touch screen, so I need bigger buttons. I have set bigger FontSize, and It looks good. But I have problem with small header, and buttons to change month.
Dani
Telerik team
 answered on 22 Feb 2012
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?