Telerik Forums
UI for WinForms Forum
1 answer
125 views
Apparently, Expand has changed from a boolean Property to a Method.
Should be noted as breaking change in the Release Notes.

this.grid.MasterGridViewTemplate.Groups[i].Expand=true;

is now

this.grid.MasterGridViewTemplate.Groups[i].Expand();



Jack
Telerik team
 answered on 23 Jan 2009
1 answer
234 views
Hi all,

I was wondering if it's possible to create controls on runtime. I want the users to be able to design their own forms, placing whatever control they want on them.
I'm able to add some Telerik controls to a toolbox but then when I try to drag and drop them I got the following error:
"Failed to create component..."

I guess this is because the machine where I'm testing my app doesn't have Telerik installed and it needs the License.
Is there any kind of license which allows me to distribute my app and get rid of the necessity of having the users to install Telerik?

Thanks in advance

Regards

Silvana
Martin Vasilev
Telerik team
 answered on 23 Jan 2009
1 answer
106 views
Hi,

I was wondering if someone could help me with exporting radgridView to excel with grouping.
I tried it with the reporting example only alot of namespaces where incorrect!

Wim
Martin Vasilev
Telerik team
 answered on 23 Jan 2009
3 answers
275 views
Hi Guys;
I'm trying to figure out how to do a winform max size (where it goes over the taskbar on your desktop) similiar to the bookstore kiost sample demo application..

any help would be appreciated.  I can't seem to find any documentation on this.

cheers
Charles
Nikolay
Telerik team
 answered on 22 Jan 2009
3 answers
221 views
Hello,

Can anyone point me to information on how to add ScreenTips with images to the menu items? I tried your help but could not find anything. The examples do not have anything on this topic as well, and I thought that it was pretty straight forward to add text there, but it does not seem to be working as I would expect. Thanks for your help.
Nick
Telerik team
 answered on 22 Jan 2009
2 answers
224 views
Greetings!

I'm having a display issue when using a RadSplitButtonElement in a RadRibbonBar. I'm hoping that I'm just missing something simple and somebody can help me. Here is a walkthrough to reproduce the issue:

  1. Create a new Windows application
  2. Drop a RadRibbonBar onto the form
  3. Click "Add New Tab" and name it "Test"
  4. Click "Add New Chunk..." under Test
  5. Right click the New Chunk and click "Add an item" > "Horizontal Button Group"
  6. Right click the space inside the new group and click "Add an item" > "RadSplitButtonElement"
  7. Select the new "RadSplitButtonElement1" and from the Properties window, click the ellipsis button for the Image property.
  8. Pick a 32x32 bitmap. For example, Common7\VS2008ImageLibrary\1033\Objects\png_format\WinVista\Annotation_New.png that comes with Visual Studio 2008
  9. Change the TextImageRelation property to "ImageAboveText"

You can now see the button in the ribbon. The image is there, but the text has disappeared - it is (I assume) beneath the image, but the button has sized itself to the height of the image alone (rather than the image height plus the text height), so the text cannot be seen.

When I change the image to a 16x16 image (for example, Common7\VS2008ImageLibrary\1033\Objects\24bit_bitmaps\camera.bmp), the top of the text can now be seen but it still appears to be cropped as if the button is being resized based on the height of the image alone.

I put the RadSplitButtonElement into a RadRibbonBarButtonGroup because I couldn't find a way for the UI to offer me the option of adding a RadSplitButtonElement except for into a RadRibbonBarButtonGroup.

Is there a bug at work here or (more probably) am I doing something wrong?

Thanks!

Cheers,

FRASER TUSTIAN



Specs:
OS: Windows Vista SP1
.NET Version: 3.5
Telerik Libraries Referenced:
Telerik.WinControls.dll   8.0.0.0
Telerik.WinControls.UI.dll  8.0.0.0
TelerikCommon.dll   8.0.0.0

Nick
Telerik team
 answered on 22 Jan 2009
1 answer
129 views
Greetings!

I'm trying to mimic the look and feel of ribbon buttons in Office 2007 that have the same functionality as the RadSplitButton or the RadDropDownButton. The key difference is that in the Office 2007 ribbon, these buttons have their drop down arrow at the bottom of the bottom - beneath the text and/or image - rather than to the right.

For example, if you open Word 2007, the first button on the toolbar is Paste, which is the functional equivalent of a RadSplitButton, but the arrow is at the bottom rather than the right.

Similarly, if you open an existing e-mail in Outlook 2007, the "Move To Folder" and "Other Actions" buttons are equivalent to RadDropDownButtons, but with the arrow at the bottom - although notably in these cases the arrow is drawn to the right of the text rather than on its own horizontal band.

I haven't been able to find such behaviour in the RadSpliButton or RadDropDownButton. Is this correct (they are unable to do this) or have I missed some property settings? I admit, I'm yet to follow get my head around the full styling capabilities of the Rad Controls for Windows Forms.
Nick
Telerik team
 answered on 21 Jan 2009
1 answer
90 views
Hello,

I'm developing a Windows application with VS2008, SQL Server 205 and other more... under WXP

I have a GridView with GridViewDateTimeColumns and GridViewComboBoxColumns and works fine. Then, I setup my application on W Vista and everything works but GridViewDateTimeColumns. I push button to display calendar panel, but anything is show. Other columns are displayed as I want, but nothing with GridViewDateTimeColumns. I have data in my DD.BB. that is displayed in GridViewDateTimeColumn, but when I want to change or insert a new row, GridViewDateTimeColumns don't display nothing.

What's the matter?? Thanks.
Boyko Markov
Telerik team
 answered on 21 Jan 2009
3 answers
209 views
Hi there,

I just started using Telerik RadControls for WinForms. I have crated a Shaped Form and tried setting the backcolor of the titlebar at runtime. Following is the code which sets the backcolor at runtime, but the color doesnt get effected.

this

.radTitleBar1.backcolor = Color.Blue;

 


Then, I tried using the following code to acheive the same.

((Telerik.WinControls.Primitives.FillPrimitive)(

this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor = Color.Blue;

 

((Telerik.WinControls.Primitives.FillPrimitive)(

this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor2 = Color.Blue;((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor3 = Color.Blue;((Telerik.WinControls.Primitives.FillPrimitive)(this.radTitleBar1.GetChildAt(0).GetChildAt(0))).BackColor4 = Color.Blue;

 

Why the previous code didnt work?

Thanks
Raj

Victor
Telerik team
 answered on 21 Jan 2009
3 answers
159 views
Top-level Exception
Type:        System.ArgumentOutOfRangeException
Message:     Value of '1' is not valid for 'Value'. 'Value' must be between 'Minimum' and 'Maximum'.
Parameter name: Value
Source:      Telerik.WinControls.UI
Stack Trace: at Telerik.WinControls.UI.RadScrollBarElement.set_Value(Int32 value)
   at Telerik.WinControls.UI.RadScrollBar.set_Value(Int32 value)
   at Telerik.WinControls.UI.RadTreeView.ScrollBy(Int32 delta)
   at Telerik.WinControls.UI.RadTreeView.OnMouseWheel(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseWheel(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at Telerik.WinControls.RadControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

The issue had been encountered both in 8.0.0.0 and 8.1.0.0 versions

It occurs when the TreeView is very short...

Any suggestions for workarounds?
Victor
Telerik team
 answered on 21 Jan 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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?