Telerik Forums
UI for WinForms Forum
5 answers
348 views
Someone has probably already reported this one, but the Scroll event does not seem to be getting fired.

Best regards

Marek
Boyko Markov
Telerik team
 answered on 06 Jul 2007
5 answers
713 views

Hi,

I have a DateTime column on a RadGridView. How do I set formatting for that column?
I have tried adding GridViewDataColumn and GridViewDateTimeColumn to the MasterGridViewTemplate, then seting the DataTextFormatString property of the column to "{0:dd/MMM/yyyy}";
but that doesn't work.

Currently I am doing a work-around, where I subscribe to the OnGridViewCellFormatting event, detect if it's a date value and re-format it there, but this solution isn't really ideal.

Please advise!

Regards,
Phi Le

Peter
Telerik team
 answered on 05 Jul 2007
3 answers
160 views
We're using RadTitleBar and wish to prevent the application from maximizing.
Normally overriding DefWndProc works just fine but not in this case.
Any suggestions?
Jordan
Telerik team
 answered on 04 Jul 2007
3 answers
262 views

Hi,

I want to know how to use the GetNodeByKey() method.
It doesn't appear to work, so can you tell me if I'm missing something.

Here is the code I use:

RadTreeNode node = new RadTreeNode("node1");
node.Key = 1;
this.radTreeView1.Nodes.Add(node);

node = new RadTreeNode("node2");
node.Key = 2;
this.radTreeView1.Nodes.Add(node);


// Won't be able to find the node with key = 2, messagebox will appear
RadTreeNode selected = this.radTreeView1.GetNodeByKey(2);
if (selected == null)
 MessageBox.Show("couldnt find selected node with key=2 using GetNodeByKey()");

// this should find it ok.
foreach (RadTreeNode radNode in this.radTreeView1.Nodes)
{
 if (Convert.ToInt32(radNode.Key) == 2)
  MessageBox.Show("Found node with key = 2");
}

Regards,
Phi Le

Boyko Markov
Telerik team
 answered on 04 Jul 2007
2 answers
129 views

Hi,

Create an empty form. Place a RadTabStrip there, and add a new tab. Place a RadComboBox within the newly added tab.
Close the form window, and then re-open it. You will notice that the designer code changes (there is an asterisk indicating the file has changed).

When I look at the designer generated code, I notice that the following line is added
Me.RadComboBox.FormatString = Nothing

If I save, close the form window and re-open, the designer code changes again and the previous line is no longer there. Everytime I close and re-open the form, that line appears and re-appears.

It doesnt make a difference to to the functionality but its annoying that the designer code always changes even if I havent touched the form.
I also notice that there's a slight pause, everytime I re-open the form, it seems to be regenerating the designer code. Does this happen with all forms & controls, or is it a behaviour of the VS2005 designer or is it unique to the Telerik controls?

Regards,
Phi Le

Phi
Top achievements
Rank 1
 answered on 03 Jul 2007
3 answers
186 views
Hello everyone,

    Not sure if this has been discussed before, But I am using a code mentioned in the Help to add multiple chunks.

Dim RadRibbonBarChunk1 As RadRibbonBarChunk = New RadRibbonBarChunk()
Dim RadRibbonBarChunk2 As RadRibbonBarChunk = New RadRibbonBarChunk()
Dim RadRibbonBarChunk3 As RadRibbonBarChunk = New RadRibbonBarChunk()
RadRibbonBarChunk1.Text = "Options"
RadRibbonBarChunk2.Text = "Text"
RadRibbonBarChunk3.Text = "Alignment"
Dim RadRibbonBarCommandTab1 As RadRibbonBarCommandTab = radRibbonBar1.CommandTabs(0)
RadRibbonBarCommandTab1.Items.AddRange(New Telerik.WinControls.RadElement() { _
    RadRibbonBarChunk1, RadRibbonBarChunk2, RadRibbonBarChunk3})

Unfortunately it gives me an Error in the above statement, 
System.InvalidCastException was unhandled
  Message="Unable to cast object of type 'Telerik.WinControls.RadElement[]' to type 'Telerik.WinControls.RadItem[]'."

Can someone help me to add multiple chunks or tell me what am I doing wrong here...

Regards
Clatonh
Clatonh
Top achievements
Rank 1
 answered on 03 Jul 2007
2 answers
124 views
Hello everyone,

    Not sure if this has been discussed before, But I am using a code mentioned in the Help to add multiple chunks.

Dim RadRibbonBarChunk1 As RadRibbonBarChunk = New RadRibbonBarChunk()
Dim RadRibbonBarChunk2 As RadRibbonBarChunk = New RadRibbonBarChunk()
Dim RadRibbonBarChunk3 As RadRibbonBarChunk = New RadRibbonBarChunk()
RadRibbonBarChunk1.Text = "Options"
RadRibbonBarChunk2.Text = "Text"
RadRibbonBarChunk3.Text = "Alignment"
Dim RadRibbonBarCommandTab1 As RadRibbonBarCommandTab = radRibbonBar1.CommandTabs(0)
RadRibbonBarCommandTab1.Items.AddRange(New Telerik.WinControls.RadElement() { _
    RadRibbonBarChunk1, RadRibbonBarChunk2, RadRibbonBarChunk3})

Unfortunately it gives me an Error in the above statement, 
System.InvalidCastException was unhandled
  Message="Unable to cast object of type 'Telerik.WinControls.RadElement[]' to type 'Telerik.WinControls.RadItem[]'."

Can someone help me to add multiple chunks or tell me what am I doing wrong here...

Regards
Clatonh
Clatonh
Top achievements
Rank 1
 answered on 03 Jul 2007
1 answer
93 views
Hello,

Please, when the 2007 Q1 SP2 is ready to download ?

Regards

Lionel
Mike
Telerik team
 answered on 03 Jul 2007
7 answers
200 views
i'm trying to do a splash screen that's elliptic in shape, but i can't figure out how to set a background image for it.

thanks...

-
john
Jack
Telerik team
 answered on 03 Jul 2007
5 answers
1.4K+ views
Ok,

I'm having a problem that is driving me crazy.

I have a RadTreeView that is updated each time someone changes rows in a DataGridView that is besides the RadTreeView. Now the thing is that on some ocations, there are no entries to be displayed on the RadTreeView. I use clear each time a row change occurs, but the RadTreeView still keeps the values of the old entries, even after calling the RadTreeView.Clear() function and then RadTreeView.Refres().

Now, shouldn't this clear the RadTreeView and leave it with NO nodes?

Thanks,

Ricardo
Jordan
Telerik team
 answered on 03 Jul 2007
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
ScrollablePanel
DataEntry
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?