Telerik Forums
UI for WinForms Forum
1 answer
157 views
Hi everybody!

I have a UserControl in a windows form, and I need to apply a Telerik theme to it. In a normal form you make that form to inherit from the class ShapedForm and it works, but in my case I don't know what to do.

Please experts, help me!
Nick
Telerik team
 answered on 31 Oct 2008
1 answer
226 views
The popup window of the RadDateTimePicker won't close, when the parent is a UserControl hosted by a form from another process.

Symptoms:
No matter how much you click the Calendar popup window, the drop-down button, press ESC, or change active window, the popup window refuses to close.
Pressing and holding down Left Ctrl+Left Shift+Left Alt+Right Ctrl+Right Alt+Right Shift+F5+Scroll Lock, will not close the popup window either.

How to reproduce, in three ultra-easy super-duper simple steps:
1) 
Write a Microsoft Management Console SnapIn with a UserControl that implements Microsoft.ManagementConsole.IFormViewControl,  containing one very misbehaving RadDateTimePicker.

2) 
Run (you must first create a new management console file (.msc) with a reference to your new SnapIn, which was created in the first of the three ultra-easy super-duper simple steps, then set the path to that file as 'Startup parameter' and set mmc.exe as 'Start External Program').

3) 
Click the dropdown button in the errant RadDateTimePicker. The popup is correctly displayed. Selecting a date in the popup will update the edit box, but the popup window will not close.  

I have attempted to subscibe to the Calendar.SelectionChanged event and call the PopupControl.HideControl() as described in some previous post, but to no avail.

Calls to PopupControl.HideControl() will -not- close the popup window.
Calling PopupControl.HideControl() really often will -not- close the popup window.

I believe there is something spooky going on inside PopupControl.HideControl() or one of the methods that it calls that doesn't work in this scenario.

Oh, standard .NET ComboBox works fine.

Please advice!

Regard,
Juan
Boyko Markov
Telerik team
 answered on 31 Oct 2008
1 answer
118 views
HI:

I've added a LookUpColumn to my gridview at run time, but now, I need to know the column selected value... do you know how can i do this?

Thanks
Nikolay
Telerik team
 answered on 31 Oct 2008
1 answer
216 views
I have set the same datasource for two RadCombox win controls.The issue is If I change any of the combox selected Item, its reflecting other combo box also.
Though I have created new datatables for both combobox.
How do I fix this issue,


                        DataTable dtKeyFields = genericDetails.GridDataSource;
                        dtKeyFields.TableName = "KeyFields";
                        cbxKeyField.DataSource = dtKeyFields;
                        cbxKeyField.DisplayMember = "ColumnName";

                        DataTable dtPrimarySearchFields = genericDetails.GridDataSource;
                        dtPrimarySearchFields.TableName = "PrimarySearchFields";
                        cbxPrimarySearchField.DataSource = dtPrimarySearchFields;
                        cbxPrimarySearchField.DisplayMember = "ColumnName";

thanks in Advance,
Raghu
                
Nikolay
Telerik team
 answered on 31 Oct 2008
1 answer
157 views
I am setting the same datasource for two comboboxes. If I selected any value in one combo box the same value is reflected in other combobox also.can anyone help to fix this issue.

Thank you.
Raghu
Dimitar Kapitanov
Telerik team
 answered on 31 Oct 2008
6 answers
100 views
Any plans to release Telerik Trainer videos for RadControls for WinForms?

Kevin
Top achievements
Rank 2
 answered on 30 Oct 2008
3 answers
309 views
Hi. I have this same problems.

http://www.telerik.com/community/forums/thread/b311D-bedaba.aspx

I need a solution for the maximize button. When can you help me do that?
Angel
Telerik team
 answered on 30 Oct 2008
1 answer
113 views
I'm need disappear value in filter when filter changing.
Example:
void RadGridViewQuestions_FilterChanging(object sender, GridViewCollectionChangingEventArgs e)
        {
            e.Cancel = true;
        }

When this event calls GridViewCheckBoxColumn and above specified method is fulfilled - value in the filter does not disappear. If this event is called by others Columns after method performance - values disappear.
Nick
Telerik team
 answered on 30 Oct 2008
1 answer
146 views
With a dockingManager that isAuto-detecting MDI children on a form, I've noticed that when resizing the parent form there is a considerable performance hit when there are several MDI children hosted on the form.  It appears that the docking manager is doing the resize.

Anyone have any suggestions for ways to speed this up?  I thought about cancelling the resize events of the forms that are not visible, but then I would have to know what to resize them to when the user activates their tab.

Thanks,
Adam
Julian Benkov
Telerik team
 answered on 30 Oct 2008
5 answers
341 views

Hi,

I have to dynamically create a RadTabStrip control inside form (form MDI application).
I used this code:
-------------------------------------------------------------------
Telerik.WinControls.UI.RadTabStrip radTabStrip = new Telerik.WinControls.UI.RadTabStrip();

radTabStrip.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(191)))), ((int)(((byte)(219)))), ((int)(((byte)(254)))));
radTabStrip.Dock = DockStyle.Fill;

Telerik.WinControls.UI.TabItem t1 = new Telerik.WinControls.UI.TabItem("Tab 1");
Telerik.WinControls.UI.TabItem t2 = new Telerik.WinControls.UI.TabItem("Tab 2");
Telerik.WinControls.UI.TabItem t3 = new Telerik.WinControls.UI.TabItem("Tab 3");

radTabStrip.Items.AddRange(new Telerik.WinControls.RadItem[] { t1, t2, t3 });

t1.ContentPanel.BackColor = System.Drawing.Color.Transparent;
t2.ContentPanel.BackColor = System.Drawing.Color.Transparent;
t3.ContentPanel.BackColor = System.Drawing.Color.Transparent;

Button b1, b2, b3;
b1 = new Button(); b2 = new Button(); b3 = new Button();
b1.Text = "Bottone 1"; b2.Text = "Bottone 2"; b3.Text = "Bottone 3";
t1.ContentPanel.Controls.Add(b1);
t2.ContentPanel.Controls.Add(b2);
t3.ContentPanel.Controls.Add(b3);

radTabStrip.TabsPosition = Telerik.WinControls.UI.TabPositions.Bottom;

this.Controls.Add(radTabStrip);
-------------------------------------------------------------------
This code works, but the control isn't displayed fine! In particular tab buttons are not displayed as they are displayed when i use designer to create RadTabStrip.

What is the best way to solve my problem?
Thank you very much for support.

Lorenzo

Nick
Telerik team
 answered on 30 Oct 2008
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?