Telerik Forums
UI for WinForms Forum
3 answers
62 views
Hello,
Think there may be a new bug in the Q1 2009 - Tree View - Padding
First tried the tree view control with a trial version (2008 Q3) and added padding to the top of the tree view. All the nodes still showed correctly. Having now purchased the 2009 Q1 version, setting the top padding hides the first few nodes. There seems to be no way now of setting padding without it hiding the nodes.
Victor
Telerik team
 answered on 15 May 2009
1 answer
149 views
Hi,

Our main form has a custom cursor that I set with this.Cursor = cusotmCursor;
When I show a RadMessageBox our custom cursor is changed to the default WinForms arrow the cursor.
When I click on the RadMessageBox button and the RadMEssageBox closes, the cursor returns to our custom cursor.

This is very important to us for the evaluatio of the Teletik controls:
How to keep our custom cursor when showing the RadMessageBox?
The cursor must not change.

This is my code - I subclassed the RadMessageBox in my custom class which the application uses.
Is this the recommended way to wrap the RadMessageBox?

I use .Net 3.5 SP1 with VS2008.


Best Regards,
Ofer


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Telerik.WinControls;
using System.Windows.Forms;

namespace UI.Forms.UserControls
{
    public static class YMessageBox
    {
        public static DialogResult Show(IWin32Window parent, string text, string caption,
            MessageBoxButtons buttons, RadMessageIcon icon, MessageBoxDefaultButton defaultButton)
        {            
            RadMessageBox.SetThemeName("Aqua");

            DialogResult dr = RadMessageBox.Show(parent, text, caption, buttons, icon, defaultButton, RightToLeft.Yes);
            return dr;
        }
    }
}
Martin Vasilev
Telerik team
 answered on 15 May 2009
2 answers
188 views
Hello to all!

I have been working on a custom control that has several (dynamically added) RadToggleButtonElements. Now I'm wanting to handle the click event of those elements int the form where I use the control, so I can take some actions based on the clicked Item.

I've read the docs on the RoutedEvent and such, but I got lost on how exactly this works and how to implement it.

Will anyone of you guys give me a hand on this one? Thanks!
Stargazer
Top achievements
Rank 2
 answered on 15 May 2009
1 answer
149 views
I am looking for a way to show some periods as unavailable for appointments (lunch hours, unavailble ressources, etc).
Is there any way to do this ?
Boyko Markov
Telerik team
 answered on 15 May 2009
1 answer
148 views
Is there a way for an bound grid with an unbound column to contain a custom object such as a Hashtable?  If so, how would it be implemented?

Thanks
Jack
Telerik team
 answered on 15 May 2009
1 answer
151 views
Hi there...

Sitting here and experimenting with this control, nice one I think :)

I've a small question, using
view.RangeFactor = ScaleRange.QuarterHour;

but I need to set the height of the cells, because when I use QuarterHour a working day fills more than a working day in Hour in total height and I don't want to use scroll bars in working period!

Could be nice to adjust the cell height to something smaller than it appears now.
Boyko Markov
Telerik team
 answered on 15 May 2009
5 answers
205 views

i have a ComboBox with some items in it (width pf combo cox 162), when i start application and click on the combobox, the drop down expands with width of about 180 px. If i click again on the combobox, the drop down expands but has a correct width of 162 px.

i have used statements like:

this.radComboBox1.DropDownWidth = 162;

 

or

 

radComboBox1.DropDownMaxSize = radComboBox1.Size;
or

radComboBox1.DropDownMinSize = radComboBox1.Size;

but still i am getting the same problem.

Can you please suggest me some solution?

Nick
Telerik team
 answered on 15 May 2009
2 answers
902 views
Hi,
   I have installed "RadControls_WinForms_2009_1_414_dev" and using the RadGridView control for our development.  I have created a RadGridView with three columns in the design time using the wizard (using "Open Propery Builder" link at the design time).  The names of the columns are ID, FullName and IsSelected.  The last IsSelected column is a check box column.  I have added the following code in the form load.

 

DataTable dt = new DataTable();

 

dt.Columns.Add(

"ID");

 

dt.Columns.Add(

"FullName");

 

dt.Columns.Add(

"IsSelected");

 

 

DataRow dr = dt.NewRow();

 

dr[

"ID"] = "1";

 

dr[

"FullName"] = "Arvind";

 

dr[

"IsSelected"] = true;

 

dt.Rows.Add(dr);

 

dr = dt.NewRow();

dr[

"ID"] = "2";

 

dr[

"FullName"] = "Robin";

 

dr[

"IsSelected"] = true;

 

dt.Rows.Add(dr);

 

dr = dt.NewRow();

dr[

"ID"] = "3";

 

dr[

"FullName"] = "Kumar";

 

dr[

"IsSelected"] = false;

 

dt.Rows.Add(dr);

radGvw.DataSource = dt;

While running the application, totally 6 columns are generated.  All the three columns are repeated.  The columns are displaying in the order ID, FullName, IsSelected, ID, FullName, IsSelected.  The IsSelected column type is textbox column in the second time.

I am new to this Telerik control.  Please advice.

Regards,
Arvind Robin Kumar.

Arvind
Top achievements
Rank 1
 answered on 15 May 2009
2 answers
182 views

I currently have a grid with a checkbox column.  When the user checks the checkbox I change the background color and that works fine but i'm unable to change the text color on the ValueChanged event of that grid.

//Row Highlight when selected  
GridCheckBoxCellElement cbCell = (GridCheckBoxCellElement)sender;  
cbCell.RowElement.BackColor = System.Drawing.ColorTranslator.FromHtml("#DAFB5E");  
cbCell.RowElement.DrawFill = true;  
cbCell.RowElement.ForeColor = this.radGVTables.ForeColor = Color.Sienna;  
 
//I've tried this and it didn't work either.  
cbCell.RowElement.ForeColor = Color.Sienna; 


Thank you for any help



 

 

 

 

Jack
Telerik team
 answered on 15 May 2009
1 answer
127 views
I'm running XP SP3, and Visual Studio Team Systems 2008 Development Edition.  Towards the end of installing Q1 2009 SP1 an exception is thrown (see below) and installation stops. Anyone else encountering this problem?

Thnks
Jeff

***** Exception *****
System.NullReferenceException was unhandled
  Message="Object reference not set to an instance of an object."
  Source="ToolBoxInstaller"
  StackTrace:
       at ToolBoxInstaller.Main(String[] arguments)
  InnerException: null
Jordan
Telerik team
 answered on 14 May 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)
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
ProgressBar
CheckedDropDownList
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
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?