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

We guess there is a bug with "MinSize": (steps to reproduce)
Creat a project with two Docking Panels.
>>One small on the left side - the second filling the rest of the window.
Set MinSize on the left panel.
Make your window large.
Make the left panel as small as allowed in "MinSize".
Now make the Window smaller -- the left panel becomes smaller also.
>>Means MinSize does not work on window resizeing.

The other thing is with the panels background color of panels.
Steps to reproduce:
Again creat an app with two docking panels.
You will see that they change the BackColor to "ControlDark".
In properties use "Reset" to the BackColor -- it changes to "Control" (not bold).
Next run the app -- the panels have ControlDark as BackColor.
>> Check form1.designer.cs to ensure no backcolor is set.
Next close the form and reopen it in design view.
>>Code is added to set the BackColor to ControlDark.

We expect that BackColor work like it does with other Controls.
This means - Inheritance.
And this works well in designer!!

At the existing project change the BackColor of "PrimarySite" to Red.
Next choose "Reset" at the panels -- and YES they are red now - like they should.

Run the app -- again you have ControlDark panels - instead of red ones.

The second is easy to overcome by setting the color of the panel to a specific one.

The first is a real problem.

Regards

Manfred
Julian Benkov
Telerik team
 answered on 17 Jan 2008
3 answers
227 views
Hi,

This is just a suggestion: setting GridView.MasterGridViewTemplate.AllowAddNewRow to false when selecting the gridview as readonly.

I cannot really imagine a situation where you would allow a user to insert a record but not be able to update it.

I only recommend this because I could not find the aforementioned property in the properties tab. It would be nice if this property was listed there but that's just me being nitpicky.

Lastly, could please describe how I can go about having a set color for every other row? I would like to have alternating colors for the rows similar to that of an ASP.NET GridView.

Thanks for the help,

Michael
Kiril
Telerik team
 answered on 17 Jan 2008
4 answers
373 views
Hi,

I have two date pickers:
FROM and TO. 

I'd like to know if the two dates are further than 3 days apart.  How do I do this comparison? Is there a more efficient way than this?

var date = datePickerFrom.GetDate();
date.setDate(date.getDate() + 3);

var toDate = datePickerTo.GetDate();

if( toDate <= date )
.....

 

Thanks for your help.
PKd

 

Boyko Markov
Telerik team
 answered on 16 Jan 2008
1 answer
101 views
I'm working in an app that uses a "rowcard" format, when a row is selected there's  a rowcard that is disabled that shows the details of the row. The GridView control is virtually impossible to read when it is disabled. Any suggestions for fixing this? The only thing I have so far is to not make the GridView's container disabled, but that's a pretty large and time consuming change. Most other windows controls are fine to read when they are disabled, but the GridView is not. Suggestions?
Jack
Telerik team
 answered on 16 Jan 2008
1 answer
104 views
WinForms RadControl Q3 2007

When I set SelectionMode to GridViewSelectionMode.CellSelect columns GridViewBooleanColumn don't save data and event ValueChanged doesn't fire.
With SelectionMode to FullRowSelect work fine!

Thanks in advance,
Emanuele Savarese

This is sample code to reproduce error:

        private void Form1_Load(object sender, EventArgs e) 
        { 
            DataTable dt = new DataTable(); 
            dt.Columns.Add("From", typeof(bool)); 
            dt.Columns.Add("To", typeof(bool)); 
            dt.Columns.Add("Description", typeof(string)); 
 
            dt.Rows.Add(false, false, "hi1"); 
            dt.Rows.Add(false, false, "hi2"); 
            dt.Rows.Add(false, false, "hi3"); 
            dt.Rows.Add(false, false, "hi4"); 
            dt.Rows.Add(false, false, "hi5"); 
            dt.Rows.Add(false, false, "hi5"); 
            dt.Rows.Add(false, false, "hi6"); 
 
            radGridView1.MasterGridViewTemplate.AutoGenerateColumns = false
            radGridView1.Columns.Add(new GridViewBooleanColumn("From")); 
            radGridView1.Columns[0].IsPinned = true
            radGridView1.Columns.Add(new GridViewBooleanColumn("To")); 
            radGridView1.Columns[1].IsPinned = true
            radGridView1.Columns.Add(new GridViewTextBoxColumn("Description")); 
            radGridView1.Columns[2].ReadOnly = true
 
            radGridView1.SelectionMode = GridViewSelectionMode.CellSelect; 
            radGridView1.DataSource = dt
        } 
 

Georgi
Telerik team
 answered on 15 Jan 2008
10 answers
123 views
i'm getting a weird error message when using your gallery component in combination with a panelbar groupelement that is set with EnableHostControlMode to true.

the project compiles and runs fine, but this error pops up however many times you have EnableHostControlMode set to true.

the error reads: 
Error setting property "EnableHostControlMode" in class "Telerik.WinControls.UI.RadPanelBarGroupElement" to value "True".

it goes on to say that the element has already been added.

thanks guys...

06/06/07 - UPDATE
i was able to eliminate this error by toggling the said property to false, then toggle back to true through code.

why would there be such an issue with this, and a few other controls, to where the design time functionality acts flaky at times?

overall though, i'm liking the product thus far....

thanks.....
Boyko Markov
Telerik team
 answered on 15 Jan 2008
1 answer
193 views
Is there a way to read some properties of selected theme (e.g background color of selected cells or any other property)?

Thanks in advance
Mike
Telerik team
 answered on 15 Jan 2008
1 answer
73 views
When I set the BackColor of a ComboBox it doesn't change the appearance at design-time nor at runtime. Any ideas?

Josh
Joshua Ruppert
Top achievements
Rank 1
 answered on 14 Jan 2008
1 answer
123 views
When Telerik win combobox will provide multiple column support? I did not see this feature in latest release. This is really important feature in our legacy system, and to me it's really basic. I have to decide soon how we want to landle it in new .net appication. 

I see much more features in web controls than win and I am really disappointed at this stage. Any suggestions, alternates, or plan to provide this feature in next release?
Vassil Petev
Telerik team
 answered on 14 Jan 2008
6 answers
200 views

Hi all,

this is my question,
if I press Ctrl+Tab, I can browse through the opened documents/panels.
I can disable this feature by "dockingManager.UseQuickNavigator = false" property); I would like to assign this shortcut key (Ctrl+tab) to a custom function written by me, but I'm not able to catch this event (Ctrl+tab does not reach the keydown event).

How can I assign the Ctrl+tab shortcut to a function written by me?

Thanks in advance for the answer.

Stefano

Dimitar Kapitanov
Telerik team
 answered on 14 Jan 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)
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?