Telerik Forums
UI for WinForms Forum
1 answer
160 views
Hi,

I am using RadTabStrip control. I have 3 tabs in TabStrip. I want that these 3 tabs should utilize the empty space that is on the right side of 3 tab header. I mean no empty space should be there on tab strip header. all 3 tab headers should have equal width and fill till the end of tab strip.

please tell me how can I achieve this?.

Thanks and regards,
Prabodh
Nick
Telerik team
 answered on 12 Jun 2009
2 answers
198 views
Hi , I'm curently writing an 100% keyboard application and I got some trouble when I set the focus like this: MyCombobox.ComboBoxElement.TextBoxElement.TextBoxItem.Focus() and with the multicolumncombobox: MyMulticolumnCombobox.MultiColumnComboBoxElement.TextBoxElement.TextBoxItem.Focus() It work fine but if after that I take mouse it throw me an exception with this stack trace:

"   at Telerik.WinControls.UI.PopupManager.OnMouseDown(Point cursorPos)\r\n   at Telerik.WinControls.UI.PopupManager.PreFilterMessage(Message& msg)\r\n   at System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)\r\n   at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)\r\n   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)\r\n   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)\r\n   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)\r\n   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)\r\n   at System.Windows.Forms.Application.Run(ApplicationContext context)\r\n   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()\r\n   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()\r\n   at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)\r\n   at DPARS_POS.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 81\r\n   at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)\r\n   at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)\r\n   at System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)\r\n   at System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()\r\n   at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)\r\n   at System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)\r\n   at System.Activator.CreateInstance(ActivationContext activationContext)\r\n   at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()\r\n   at System.Threading.ThreadHelper.ThreadStart_Context(Object state)\r\n   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n   at System.Threading.ThreadHelper.ThreadStart()"


Hope you will be able to help me
Thanks
Alexandre Samson
Nick
Telerik team
 answered on 12 Jun 2009
1 answer
259 views
I have a radtextbox where I have the font set to blue, cursor to hand, and underlined...our users want it to behave like a hyperlink.  When I hover over the textbox, the HAND cursor only appears when I'm near the border of the control.  When I'm over the actual text, it turns to IBeam...and the Click event isn't fired.  What's the trick.
Victor
Telerik team
 answered on 12 Jun 2009
1 answer
426 views
How can I set the initial Tool Window Size when I add a Tool Window to the Manager?
I add first the Tools, then the Documents. The Tools should have a given Minimum Size if possible, the Documents then can adjust.

In the old Docking System I had to use a workaround to set the Size, is that still required?

Regards
Erwin
Georgi
Telerik team
 answered on 12 Jun 2009
2 answers
241 views
Good day!

I've got two inter-related combos in the ribbonbar quick access menu, which will change the entity I'm looking at in my application, and I'd like the user to be able to select values in the following way:-

a) By typing in the field, pressing enter
b) By selecting an entry from the dropdown
c) By using the arrow keys

The problem I'm having is that I don't want to change the entity being looked at until either the user as pressed enter, or clicked on a specific item.

I've met the first requirement by handling KeyPressed and looking for '\r', which works fine.  I can't find an appropriate item level handler. SelectedIndexChanged et al fire every time the user hits an arrow so that's no good. 

I see you can manually assign a Click handler to each item in the radcombobox except that these two combos are databound, and have several hundred entries in each.  

Because they're in the quick access menu, I can't think of any useful alternative options (e.g. having a "launch" button next to the combo for example, because when you select the item in the combobox, the menu disappears before you get a chance to click on anything else in the menu)

Any thoughts would be appreciated, and I'm more than willing to consider different options here.
Jack
Telerik team
 answered on 11 Jun 2009
0 answers
241 views

It is our pleasure to present you the much improved and completely new RadDock for WinForms (Q2 2009 Beta). You can find detailed information on what is new and improved here: RadDock for WinForms Q2 2009 Beta.Project upgrading instructions are also included.

The beta is available for download from your Telerik accounts --> Downloads (or Free Trials for the trial version) --> RadControls for WinForms --> Q2 2009 Beta Download:

RadControls for WinForms Beta Download

You can view a quick demo (source code included) of the new RadDock in action in the specially prepared Bug Tracker Demo, which you will find attached to this post:

RadDock For WinForms Q2 Bug Tracker Demo

We are eager to get your feedback on the RadDock beta, so please use the WinForms Beta Forum to send us your comments.

Enjoy!
 
All the best,
The Telerik Team
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 11 Jun 2009
1 answer
232 views

The Telerik Theme class is missing an iterator for the used colors in the theme. With such an iterator it would be much easier to use the color blend feature.

As an extension i would like to suggest to have a getter/setter for a colorpalette which contains all the used colors of a theme. The advantage of the colorpalette is it could have an iterator for the colors, be loaded/saved to xml and it could be easily used with every theme. When i define a green colorpalette i could use it with the desert theme, the office 2007 blue theme, the aqua theme, ...

As a further side effect telerik could provide predefined colorpalettes like a silver and a black colorpalette and then we would not need the office2007black and office2007silver theme anymore. We would just change the colorpalette to silver or black. 

Kind Regards,

Ramius   

Mike
Telerik team
 answered on 11 Jun 2009
1 answer
94 views
Hi

Example to turn on/off buttons of pin, close and system menu on toolbar too complex and cannot find properities in code behind to toggle their state

        private void checkBox2_CheckedChanged(object sender, StateChangedEventArgs e)
        {
            options = options & (~AllowOptions.Pinning);
            if (checkBox2.Checked) options |= AllowOptions.Pinning;

            if (AllowOption != null) AllowOption(this, new AllowEventArgs(options));
        }

Rgds
Stephen
Jordan
Telerik team
 answered on 11 Jun 2009
4 answers
141 views
using c#2.0
scheduler version 2009.1.9.316

is it possible to get the month view to show the whole month? and not just 3 weeks?

Cheers,
Craig
Boyko Markov
Telerik team
 answered on 11 Jun 2009
1 answer
91 views
Hi

Using Rad dock as a mdi container and trying to launch forms in document but getting error below - does this mean forms can not be added to the tabed document view?

ERROR;
Top-level control cannot be added to a control.

Code for Enquiry which is rad form

 

Enquiry enquiry = new Enquiry();

 

 

DocumentWindow document = new DocumentWindow();

 

document.Text =

"New Enquiry form";

 

document.Controls.Add(enquiry);

enquiry.Dock =

DockStyle.Fill;

 

 

this.radDock1.AddDocument(document);

Rgds
Stephen

 

Julian Benkov
Telerik team
 answered on 11 Jun 2009
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
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?