Telerik Forums
UI for WinForms Forum
1 answer
117 views

Could you please provide me with a sample showing how to use the item.add method of the chartseries object that uses ole converted start and end times to provide a double as xvalue1 for a point series?  Is the step from that to a GAntt or Bubble series that great?

 

 

Dim itm As New ChartSeriesItem

 

 

 

Dim startTime As Double = New DateTime(q.Year, q.Month, q.Day, q.Hour, 0, 0, 0).ToOADate()

 

 

itm.XValue = startTime

 

itm.XValue2 = startTime + 1

 

 

 

Dim desc As String = vv.id & " " & vv.Submit_Date & " " & vv.Impact & " " & vv.Status & " " & vv.Description

 

 

itm.YValue = 1

 

 

 

' itm.YValue2 = 2

 

itm.ActiveRegion.Tooltip = desc

itm.PointAppearance.Dimensions.AutoSize =

 

False

 

itm.PointAppearance.Dimensions.Height = 50
itm.PointAppearance.Dimensions.Width = 50

s.AddItem(itm)

 

 

Next

 



 No matter what I set the pointappearance dimensions to I can't get the points to change size.
 if I were to convert the point series to a Gantt series or bubble series could you help me understand how I would increment the y2 and x2 values?  Did I do this appropriately in my sample code?

Thanks.
Evgenia
Telerik team
 answered on 20 Apr 2011
2 answers
141 views
Can i change the layout of the waiting bar to something like showing like here: http://www.jtbusa.com/common/img/waiting.gif

Or comes the RadBusyIndicator from Silverlight to Winforms?
ronny
Top achievements
Rank 1
 answered on 20 Apr 2011
1 answer
735 views
hi..
i use splitcontainer and i divide it into horizontal, how can i fix the top splitpanel size and the bottom can be flexibel according to the max form size?
Ivan Petrov
Telerik team
 answered on 20 Apr 2011
6 answers
684 views
Hi,

I am using a RadContextMenu and a spell checker on a richtextbox. When I right click on text, the RadContextMenu and the spell check menu are showing up. I want to hide the RadContextMenu when a user right clicks.

Following is the code I am using to accomplish that, but I think this is not the right way as a horizontal line shows up when I try to collapse the menu items part of the RadContextMenu. Also for the first time the RadContextMenu shows up even before I get into the mouseup event.

Please suggest me a way to hide the RadContextMenu.


   private void rtbComments_MouseUp(object sender, MouseEventArgs e)
        {
            if (e.Button == MouseButtons.Right)
            {
                if (rtbComments.SelectionLength > 0)
                {
                    mnuCut.Visibility = ElementVisibility.Visible;
                    mnuCopy.Visibility = ElementVisibility.Visible;
                    mnuPaste.Visibility = ElementVisibility.Visible;
                }
                else
                {
                    // Check if the words under the cursor are misspelled.
                    int x = SpellingCheckerEngine.CheckCtrlBackgroundMenu(rtbComments.Handle, e.X, e.Y, RTB1Options, RTB1MarkColor);
                    // If there were no misspelled words under the cursor, popup the copy menu.
                    if (x == 0)
                    {
                        mnuCut.Visibility = ElementVisibility.Visible;
                        mnuCopy.Visibility = ElementVisibility.Visible;
                        mnuPaste.Visibility = ElementVisibility.Visible;
                    }
                    else
                    {
                        mnuCut.Visibility = ElementVisibility.Collapsed;
                        mnuCopy.Visibility = ElementVisibility.Collapsed;
                        mnuPaste.Visibility = ElementVisibility.Collapsed;
                    }
                }
            }
        }
Ivan Todorov
Telerik team
 answered on 20 Apr 2011
3 answers
283 views
Hi,

I try to build a splashscreen including radprogess.
First I learned that after incrementing Value1 in a timer event I have to call Refresh - otherwhise the value is not updated visually.

Next problem - reading the documentation I found some confusing things:
"Background Color is used for the bar....".

Anyhow I find no easy way (except using a skin) that enables two things:

I want to have two bars - on "overall" and one for "current step".
I use the default skin (nothing changed) and get the following results:

A lime bar for value1 - no bar (shade or whatever) for value2.

It would be great to have some properties "Value1 - Bar Color / Value2 - Bar Color" or such a thing.
But I can't find anything like this.

Is there an easy way to get such a "2 bar progress"?
Is there also a way to display the value (percent) of value2 somewhere like with value1?

Regards

Manfred
Ivan Petrov
Telerik team
 answered on 20 Apr 2011
1 answer
153 views
Hi,

I'm having a bit of a problem binding the treeview to a list of folders which can contain assets at any level. Essentially what I want is the following:

Folder 1
-> Folder 2
---> Asset 2-1
-> Folder 3
-> Asset 1
---> Asset 1-1

So, a Folder can have Folders and Assets as children. To make it more confusing an Asset can have other Assets as children.

This application, for the moment at least, will not be stored in a database so I would like to bind through the related entities rather than having to use parent Id's etc. From looking through the Telerik samples, it seems that self-referencing and object-relational binding are carried out by different binding providers - is this correct?

Is it possible to carry out the above solely using binding? If not, I may have to end up binding to an object that has parent/child Id's for the self-referencing and also which encapsulates the actual object (Asset/Folder) that I really want to bind to.

I may have just answered my own question there, but I wouldn't mind hearing anyone else's thoughts on this if you have attempted the same thing.
Julian Benkov
Telerik team
 answered on 20 Apr 2011
1 answer
123 views
Hi,
         I am themes to be applied to my telerik controls in my form i have ribbonbar,radpagrview .when i apply themes of office colors iget some controls color but some controls color i wont get why is it so. Please refer screenshots attached ,Blur color is fine working,black is also fine but when i apply silver my outlook view of the radpageview doesnt change to silver color why is it so please see screenshots....

         Thanks
Divya

 

 

Ivan Petrov
Telerik team
 answered on 20 Apr 2011
1 answer
198 views

Hi,

I’m trying to reduce the overall Width of the Page View Backstage Element. (The area with the tab buttons)

Have tried reducing the Size of the element itself and reducing all the buttons but nothing seems to work.

Is there a simple way to do this?

Thanks,

Brad

Ivan Todorov
Telerik team
 answered on 20 Apr 2011
4 answers
227 views
Can I use RadDragDropService to do this? Because of constraint in the project I'm working on, I have a mix of a RadGridView and a WinForms DataGridView, and need to support dragging items from the RadGridView and drop them onto the DataGridView.

Thank you in advance for any suggestions.

Andy
Svett
Telerik team
 answered on 20 Apr 2011
2 answers
265 views
I am keen to create my own usercontrol that will be able to use the Telerik
custom shape controls to shape the window.

I don't seem to be able to find an example on how to do this ?

Bryan Brannon
Top achievements
Rank 2
 answered on 19 Apr 2011
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)
Form
Chart (obsolete as of Q1 2013)
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?