Telerik Forums
UI for WinForms Forum
1 answer
672 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
593 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
234 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
103 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
93 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
164 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
187 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
214 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
14 answers
581 views
The application I am developing largely relies on Telerik components from the following namespaces (referenced DLLs): WinControls, Docking, GridView, RadDock, Themes, UI and UI.Design.  I am using Telerik RadControls for WinForms Q2 2009 SP1 (2009.2.9.729).  The three people who are testing the application before it moves to production are all experiencing the same problem.  

THE PROBLEM: The application works fine and has no issues with unresponsiveness or freezing UNTIL they will allow the application to run and let their screensaver come up while they do paperwork and then when they unlock their PC the app is frozen, most of the time it is just a white box where the app was.  This used to be an issue for me but since I have upgraded to Windows 7 I haven't had a problem with it.  The beta testers are all using Windows XP SP2, which is what I was using when I had a problem except i was on SP3.  Their machines are more than adequate to handle the program as it is a simple data entry program as was mine.
I suspect either the docking or theming element in telerik is causing an issue but I haven't been able to trace it down.

Is this a known issue with a fix?
Is anyone else having this issue?
Peter
Telerik team
 answered on 19 Apr 2011
1 answer
139 views
Hi,
           I have a RadDropdownbutton on a Ribbionbar i want on the dropdown some colors and on selecting the particular color my whole application shld change to that color how can i do please explain me.....Refer the screenshot.




Thanks
Chinna
Richard Slade
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)
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?