Telerik Forums
UI for WinForms Forum
7 answers
149 views
Hi,
Trying to automate the web application using the Microsoft coded ui, in one of page Telerik RadTabControl is used.
Telerik control Version:  2011.2.712.1040 
Not able to automate the controls that is present inside the RadTabControl.

Please conform whether the 'RadTabControl' support the automation?









Stefan
Telerik team
 answered on 14 Mar 2013
10 answers
249 views
How can I change the font menu on radgridview??
Attach a photo
Stefan
Telerik team
 answered on 14 Mar 2013
3 answers
164 views
HI,
 
    I am not able to clear filter value in GridViewDateTimeColumn while pressing delete key or backspace key. Instead of clear  it resets to default date. Whether can we set any key down event explicitly in that DateTimePIcker or was there any other way to clear filter value when press delete key.
Stefan
Telerik team
 answered on 14 Mar 2013
2 answers
633 views
Hi Guys

I'm want to create a listview of items where the item has a waiting bar which appears when the item is pressed and disappears again once a long running process kicked off by the press has completed. I have successfully built the custom item but when I go to the ItemMouseClick event of the listview I'm not sure how to access the waiting bar element so that I can make it visible and set it running.

Many thanks in advance

regards
Ian Carson

public class RadCustomVariationViewVisualItem : IconListViewVisualItem
   {
       private LightVisualElement _imageElement;
       private LightVisualElement _nameElement;
       private LightVisualElement _descriptionElement;
       private RadWaitingBarElement _waitingBarElement;
       private StackLayoutPanel _overallLayout;
       private StackLayoutPanel _textLayout;
 
 
       protected override void CreateChildElements()
       {
           base.CreateChildElements();
 
           _overallLayout = new StackLayoutPanel {Orientation = Orientation.Horizontal};
 
           _imageElement = new LightVisualElement
               {
                   DrawText = false,
                   ImageLayout = ImageLayout.Center,
                   StretchVertically = false,
                   Margin = new Padding(10, 22, 10, 5),
                   NotifyParentOnMouseInput = true,
                   ShouldHandleMouseInput = false
               };
 
           _overallLayout.Children.Add(_imageElement);
 
           _textLayout = new StackLayoutPanel { Orientation = Orientation.Vertical };
            
           _overallLayout.Children.Add(_textLayout);
 
           _nameElement = new LightVisualElement
               {
                   TextAlignment = ContentAlignment.MiddleLeft,
                   Margin = new Padding(10, 10, 10, 5),
                   Font = new Font("Segoe UI", 12, FontStyle.Bold, GraphicsUnit.Point),
                   NotifyParentOnMouseInput = true,
                   ShouldHandleMouseInput = false
               };
 
           _textLayout.Children.Add(_nameElement);
 
           _descriptionElement = new LightVisualElement
           {
               TextAlignment = ContentAlignment.MiddleLeft,
               Margin = new Padding(10, 5, 10, 5),
               Font = new Font("Segoe UI", 12, FontStyle.Bold, GraphicsUnit.Point),
               NotifyParentOnMouseInput = true,
               ShouldHandleMouseInput = false
           };
 
           _textLayout.Children.Add(_descriptionElement);
 
           _waitingBarElement= new RadWaitingBarElement();
           _waitingBarElement.WaitingBarOrientation = Orientation.Horizontal;
           _waitingBarElement.WaitingDirection = ProgressOrientation.Right;
           _waitingBarElement.Size = new Size(120, 14);
           _waitingBarElement.WaitingIndicatorSize = new Size(50, 30);
           _waitingBarElement.WaitingSpeed = 90;
           _waitingBarElement.WaitingStep = 2;
           _waitingBarElement.WaitingStyle = WaitingBarStyles.Dash;
           //_waitingBarElement.Visibility = ElementVisibility.Collapsed;
           _waitingBarElement.StartWaiting();
           _textLayout.Children.Add(_waitingBarElement);
 
           Children.Add(_overallLayout);
           Padding = new Padding(10);
           Margin = new Padding(4, 2, 4, 2);
           Shape = new RoundRectShape(5);
           DrawBorder = true;
           DrawFill = true;
 
           BorderInnerColor = SystemColors.ControlLightLight;
           BorderInnerColor2 = SystemColors.Control;
           BorderInnerColor3 = SystemColors.ControlDark;
           BorderInnerColor4 = SystemColors.ControlDarkDark;
           BorderGradientStyle = GradientStyles.Solid;
           BorderBottomColor = SystemColors.ControlDark;
           BorderLeftColor = SystemColors.ControlDark;
           BorderTopColor = SystemColors.ControlDark;
           BorderRightColor = SystemColors.ControlDark;
           BorderGradientAngle = 270;
           BorderGradientStyle = GradientStyles.Solid;
 
           BackColor = SystemColors.Window;
           BackColor2 = SystemColors.Control;
           BackColor3 = SystemColors.ControlDark;
           BackColor4 = SystemColors.ControlLightLight;
           GradientAngle = 90;
           GradientPercentage = (float) 0.5;
           GradientPercentage2 = (float) 0.666;
           GradientStyle = GradientStyles.Linear;
           NumberOfColors = 2;
           SmoothingMode = SmoothingMode.AntiAlias;
 
       }
 
       protected override void OnMouseEnter(EventArgs e)
       {
           base.OnMouseEnter(e);
           BorderInnerColor = SystemColors.ControlLightLight;
           BorderInnerColor2 = SystemColors.Control;
           BorderInnerColor3 = SystemColors.ControlDark;
           BorderInnerColor4 = SystemColors.ControlDarkDark;
           BorderGradientStyle = GradientStyles.Solid;
           BorderBottomColor = SystemColors.ControlDark;
           BorderLeftColor = SystemColors.ControlDark;
           BorderTopColor = SystemColors.ControlDark;
           BorderRightColor = SystemColors.ControlDark;
           BorderGradientAngle = 90;
           BorderGradientStyle = GradientStyles.Linear;
 
           BackColor = SystemColors.Window;
           BackColor2 = SystemColors.Control;
           BackColor3 = SystemColors.ControlDark;
           BackColor4 = SystemColors.ControlLightLight;
           GradientAngle = 90;
           GradientPercentage = (float)0.5;
           GradientPercentage2 = (float)0.666;
           GradientStyle = GradientStyles.Linear;
           NumberOfColors = 3;
           SmoothingMode = SmoothingMode.AntiAlias;
       }
 
       protected override void OnMouseLeave(EventArgs e)
       {
           base.OnMouseLeave(e);
           BorderInnerColor = SystemColors.ControlLightLight;
           BorderInnerColor2 = SystemColors.Control;
           BorderInnerColor3 = SystemColors.ControlDark;
           BorderInnerColor4 = SystemColors.ControlDarkDark;
           BorderGradientStyle = GradientStyles.Solid;
           BorderBottomColor = SystemColors.ControlDark;
           BorderLeftColor = SystemColors.ControlDark;
           BorderTopColor = SystemColors.ControlDark;
           BorderRightColor = SystemColors.ControlDark;
           BorderGradientAngle = 270;
           BorderGradientStyle = GradientStyles.Solid;
 
           BackColor = SystemColors.Window;
           BackColor2 = SystemColors.Control;
           BackColor3 = SystemColors.ControlDark;
           BackColor4 = SystemColors.ControlLightLight;
           GradientAngle = 90;
           GradientPercentage = (float)0.5;
           GradientPercentage2 = (float)0.666;
           GradientStyle = GradientStyles.Linear;
           NumberOfColors = 2;
           SmoothingMode = SmoothingMode.AntiAlias;
       }
 
       protected override void SynchronizeProperties()
       {
           _imageElement.Image = (Image)Data["Image"];
           _nameElement.Text = Convert.ToString(Data["Name"]);
           _descriptionElement.Text = Convert.ToString(Data["Description"]);
       }         
        
       protected override SizeF MeasureOverride(SizeF availableSize)
       {
           var measuredSize = base.MeasureOverride(availableSize);
           _overallLayout.Measure(measuredSize);
           return measuredSize;
       }         
        
       protected override SizeF ArrangeOverride(SizeF finalSize)
       {
           base.ArrangeOverride(finalSize);
           _overallLayout.Arrange(new RectangleF(PointF.Empty, finalSize));
           return finalSize;
       }
 
                   
   }

private void LvViewsItemMouseClick(object sender, ListViewItemEventArgs e)
{
    if (_resultsTable==null)
        _resultsTable = StrategyBacktestLoader.getBacktestResults(frmParadigmFM.Authority, ThisParent.StrategyID, ThisParent.ID,
                                                                  ThisVariation.ID);
 
    var element = sender as RadCustomVariationViewVisualItem;
 
    var view = (BacktestViewType) e.Item.Tag;
    DisplayBacktestView(view);
}

Ian
Top achievements
Rank 1
 answered on 14 Mar 2013
1 answer
518 views
Hello,

I'm having problems when updating the DataSource property.
when I update the DataSource property of a radListView object the scroll bar jumps to the start.
when accessing the scroll properties (.AutoScrollPosition, VerticalScroll.Value) i always get that the value is 0.
how can i keep the ListView in it's place (making the scroll not go back to the start of the list)?

thank you

Stefan
Telerik team
 answered on 13 Mar 2013
5 answers
400 views

Hi,
I am using this property for best fit my column(objComboBox.MultiColumnComboBoxElement.AutoSizeDropDownToBestFit =

true;) in RadMultiColumnComboBox columns but when i have data source which have a lot of data i need to implement filtering on it.
I am implemening it in this way:

FilterDescriptor filter = new FilterDescriptor();

filter.PropertyName = objComboBox.DisplayMember;

filter.Operator =

FilterOperator.Contains;

objComboBox.EditorControl.MasterTemplate.FilterDescriptors.Add(filter);
but it's take a lot of time when the filter is auto complete.
Please how to make filtering in this controll and dont take a time.
Note: When i am not using
AutoSizeDropDownToBestFit it's( Filter) works fine and i dont have delay( my data source have more then 1000 items and 3 columns), but when i have Combo which have more then 3 column and the size of DropDown is less, than the user can not see what have in that control.
What is your suggestion to eliminate this issue.
Best regards,
Gezim

Jack
Telerik team
 answered on 13 Mar 2013
1 answer
236 views
How do I show my form icon in the taskbar only, not in ribbonbar, when I am using the RadRibbonForm and BackStage?
Peter
Telerik team
 answered on 13 Mar 2013
1 answer
176 views

Hi, 
I have a problem with the  RadMessageBox when I set it RightToLeft = true and I put and Icon like for example RadMessageIcon.Info.

Some times works well but some times the text of the message appear under the icon and cant read it.
It start to happen after updating to the Telerik 2013.1.220.40
I'm working in WinForm, Visual Studio 2010

Please take a look at the pictures attached.

Thanks
Iair


Anton
Telerik team
 answered on 13 Mar 2013
1 answer
738 views
Once updating to the latest version of the Winform controls the databindingcomplete event appears to not fire for us upon removing a column from the datasource of our RadGrid.

The application simply loads a CSV file we specify, and populates the grid with all the columns found in the CSV and we give the user the option to remove some of those columns.  The grid is set to AutoGenerate the columns since each CSV file could be slightly different.

We were previously running our application on the 2012_1_12_0215 version and we just updated to the 2013 Q1 controls (2013_1_220).  To ensure that this is not something in our application I have created a simple winform app that mimics this part of our application and when I use the latest dll's, the databinding complete event does not fire after a column is removed, but when I reference the older dll's, the event does fire.

If you need to see a sample of this, please provide me with somewhere to upload my sample application so you can see the behavior.
Julian Benkov
Telerik team
 answered on 13 Mar 2013
1 answer
111 views
Would there be a diagramming control available for WinForms in the future?

Like http://www.nevron.com/Products.DiagramFor.NET.Overview.aspx


Stefan
Telerik team
 answered on 13 Mar 2013
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?