Telerik Forums
UI for WinForms Forum
3 answers
107 views
Hi

I'm new to the Telerik Libs.
I rewriting a program to use the Telerik Libs.

The Program should show the strucure of a CAD Structure as a "TreeListView". My Problem is that NOT the complete structure is loaded on startup. So it's only the first level loaded. The other data are laoded, when the tree is collapsed.

So I'm using the GridView as a SelfReference to have the Tree View.

The Problem is how can I show the "+" Icon even if I only loaded the first level. On loading the first level I know if there a sub Items or not.
I have tried it with Me.RadGridView1.Rows(rownum).HasChildRows = True but thats readonly.

And the next thing is, how can I react on collapsing the tree, and reload the sub items

Thanks
Br Flo

PS: I'm using VB.net ad VS2010
Julian Benkov
Telerik team
 answered on 04 May 2012
2 answers
376 views
We have several raddropdown controls on a form, and they are set to use Windows 7 theme. 
Some of these need to have a different background color to indicate that they are required. 

We have tried
1.  setting the BackColor property in the Properties window - does not change the color. 
2.  setting it in the code (rddVendor.BackColor=color.yellow)....does not change the color. 

I'm sure we are missing something rather simple....can anyone point us in the right direction? 
Other info....VS 2010, vb.net, framework 4.03xxxx, Telerik Q1 2012 SP1

Thanks.

UPDATE.....using the following lines of code, we can get a fully colored background.....but if there is a way to fully color the background with only one line, that would be preferrable.  Since BackColor is a property of the control, I would expect that to do it....

rddVendor.DropDownListElement.TextBox.BackColor = Color.Yellow
rddVendor.DropDownListElement.TextBox.Fill.BackColor = Color.Yello

Stefan
Telerik team
 answered on 04 May 2012
2 answers
163 views
Hi,

Is there a way to access the "Click here to add new row" in runtime? i want to add a command button for a new record. in the click event, I want to set focus the in the "Click here to add new row" as if the user  clicked it manually.?


Thanks
Emilio
Top achievements
Rank 1
 answered on 04 May 2012
1 answer
187 views
Hi,

Using RadScheduler binding via schedulerBindingDataSource with an appointment table of an access.mdb with over 22000 appointments takes an enormous long time. When I filter to just one month in the Select statement of the TableAdapter resulting to about 200 appointments it takes about 4 seconds. If I also use the field Description it takes about 7 secs. Surely I'm doing something wrong. Could you give me some ideas of possible causes of slow performance?

Thank you
Karl
Ivan Todorov
Telerik team
 answered on 04 May 2012
11 answers
1.0K+ views
Hello,
I would like to have a TreeView element as a selection in a combobox.
And this control should be embedded in a RadCommandbar.

Such an example, I've already found at the following link:

"http://www.telerik.com/community/forums/aspnet/combobox/placing-single-treeview-inside-combobox-dropdown.aspx"

Is there such a thing even for c#.net 2010 Windows Form ?
Thanks for any tip
Jack
Telerik team
 answered on 04 May 2012
4 answers
244 views
Hi, 
i am trying to specialize a RadPanel in order to use RoundRectShape and custom background color. 
There's something wrong with this code? At runtime it seems that my code does not have any effect on the Panel

Thanks 
Marcello


public class FooPanel : RadPanel
{
    public FooPanel()
        : base()
    {
        
    }
 
    protected override void OnLoad(System.Drawing.Size desiredSize)
    {
        RoundRectShape shape = new RoundRectShape();
 
        shape.BottomLeftRounded = true;
        shape.BottomRightRounded = true;
        shape.TopLeftRounded = true;
        shape.TopRightRounded = true;
        shape.Radius = 25;
        this.RootElement.Shape = shape;
 
        base.OnLoad(desiredSize);
    }
}
Tim
Top achievements
Rank 1
 answered on 04 May 2012
2 answers
354 views

The RadWizard has a couple of buttons by default added to the CommandArea of the RadWizard: the BackButton, the CancelButton, the FinalButton, the HelpButton, and the NextButton...

I would like to add another (custom) button (which has the look and feel of the buttons I just mentioned above / different text) which launches off a process and eventually returns.... I was wondering if there is an easy way to do this? I've been messing around for a few hours now and I'm able to add a "Test" button; however, it is not in the correct order (I would like it to appear between the Next/Back buttons and it's size is being changed during runtime (I'm assuming this is something to do with the CommandArea object's LayoutManager?)) - see the attached screenshot

I've also wondered if re-purposing (changing the text) of one of the buttons I've hidden may do the trick.... I have a few problems with this:

  • It seems a bit "hackish" 
  • I'm not sure if/how many more buttons we will need to add in the future; however, I do know there's the possibility of running out of buttons to "re-purpose" if we go above three custom buttons

 
Any help / suggestions would be greatly appreciated.

Regards,
Carl

Holger Boskugel
Top achievements
Rank 2
 answered on 03 May 2012
3 answers
102 views
The problem may be reproduced in example application in TreeView/First Look in v 2012.1.321.20.
The scenario is as follows:
-enter some text as a filter
-delete text - filter should be off
-add new node by context menu -> "New Node" appears twice in the tree view

I spent a moment with debugger and i found that in TreeNodeView.UpdateView()
when the filter is off the state[StateFiltered] is not set to false, that make the
following TreeNodeView.Insert() add new node to the "view" and "nodes" collection
which refers to the same list.

Is this a known bug? Is there any workaround for this problem?
Julian Benkov
Telerik team
 answered on 03 May 2012
3 answers
139 views
Hi,

To get the multi-day behavior we are after when using RadScheduler, through some other forum posts, we found that we can set the ShowAllDayArea to false on the WeekView, and it does what we want.  (RadScheduler.GetWeekView().ShowAllDayArea = false).  When dragging to select cells, you can click on say Monday at 2:00 pm, and drag to Wednesday at 10:00 am, and define an appointment for that time. Great.

However, we can't resize an existing appointment to extend it to multiple days.  So, if we have an appointment from Monday at 2:00 pm to Monday at 5:00 pm, we can drag the bottom of that to extend to Monday at 9:00 pm, but if we keep dragging to the right, it does not extend to Tuesday, etc.   And likewise, if we try to resize an appointment that was already multiple days, we can't change which days the start or end are on through drag resizing.  Whatever end you're dragging stays confined to the same day.

Is there anyway to enable the behavior to be able to resize to multiple days?  We're using RadScheduler from Q2 2010 SP2.

Thanks!
-Daniel
Ivan Todorov
Telerik team
 answered on 03 May 2012
1 answer
189 views
I just started working with the controls. And now i'm trying to find a way to change the height of commandbar control in theme editor. I think I checked everything but did not find a way to it. ALthough, i can see the the height is different in office2010 and office2007 themes. Can someone point me to the right way to do that customization?
Appreciate your support.
Boryana
Telerik team
 answered on 03 May 2012
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?