Telerik Forums
UI for WinForms Forum
2 answers
221 views
Hi, I'm working with two monitors. When I move the treeview to the secondary monitor, the context menu of every node is displayed in the main monitor. It occurs too with the control demo installed with the components, so, I suposs that it's a bug.

Another thing, text displayed in the context menu are not aligned. I change every TextAlignment of each item, but what are displayed at runtime is very different.

Thanks.
Stefan
Telerik team
 answered on 21 Mar 2011
4 answers
222 views
Hi
I have placed a RadTreeView on a form and then in the load event have the following:

            for (int i = 0; i < 10; i++)  
            {  
                RadTreeNode treeNode = new RadTreeNode(i.ToString());  
                treeNode.ShowRadioButton = true;  
 
                radTreeView1.Nodes.Add(treeNode);  
            }  
 

The problem is that when I click on one item in the list and then another, the first one is not deselected and I end up with all the radio buttons selected.  The sample you provide does not have this problem.

Please could you explain how to achieve the effect I want - a list of (top level) radio buttons.

Thanks

Best regards

Marek

Stefan
Telerik team
 answered on 21 Mar 2011
4 answers
263 views
Hi.
I am using the Rad Treeview for Win Forms.
I am trying to bind the tree to a datatable.
The table consists of columns that include ID and ParentID
However, the ID and ParentID are GUID's. Am I correct in assuming that the columns need to be integers? As the binding is giving me weird errors (Unable to cast object of type 'System.Windows.Forms.RelatedPropertyManager' to type 'System.Windows.Forms.CurrencyManager'.)

What do you suggest I do to fix this? Is my only option to go and create a method that will loop through each of these rows in my table and convert their GUID's into integers and match up the related ParentID's?

Thanks for any help,
Kris
Stefan
Telerik team
 answered on 21 Mar 2011
2 answers
174 views
Hello,

i have an issue with exporttopdf.
even when i set the scale, fittopagewidth properties the result (pdf) looks everytime the same.
my code:

ExportToPDF pdf = new ExportToPDF(this._rg);
          pdf.ExportVisualSettings = true;
 
          pdf.Scale = 0.4f;
          pdf.FitToPageWidth = true;
 
          //pdf.TableBorderThickness = 0;
          pdf.RunExport(path);


thx for help
Richard Slade
Top achievements
Rank 2
 answered on 21 Mar 2011
8 answers
680 views
Has anyone been able to get a RadTreeView to bind to custom business objects?
I followed the example in the help but it only seems to show my first level artist nodes.  In fact it doesn't even show the top level 'Artists' node.

I was also initially getting null object errors adding to the RelationBindings collection.  It seems the collection is not initialized until you call some other method like RadTreeView.DataSource.

The example also only seems to use a single binding source and then uses compound property references to navigate the sub-relationships e.g. "Albums.Songs", whereas the DataSet example sets up a different binding source for each type of data.

Also assuming I could get this to work, what is the liklihood that it will be two way.  I tried editing the name of a top level node and that seems to push the name back into the source data object.  But what will happen if I start dragging and dropping.  Is it to much to expect that it will handle this too?  I guess that would be problematic for the Artists/Albums/Songs example because you could drag a Song to an Artist.   However, I have a need for a generic type hierarchy where all nodes are the same type and so a node can be dragged pretty much anywhere.

Thanks for any input
Martin
Stefan
Telerik team
 answered on 21 Mar 2011
2 answers
210 views
Hi....

i have developed one software using telerik win form controls.but while running that software it takes more time to load each form...

why it takes more time?is it reason of loading dll files?

what is the problem and how can reduce the loading time.......


pls help me....
Richard Slade
Top achievements
Rank 2
 answered on 21 Mar 2011
3 answers
195 views
Hello,

I'm converting over to telerik controls from straight ms objects and I'm running into a problem with drop down lists. I have a simple class that I created for date selection and I currently use this in my project with combo boxes. With a regular combo box I am able to add the objects right into the combo box, however I don't see that with the rad drop down list and I'm unsure the best way to get the same functionality.

If it helps, the object has a text value and then 2 dates. It's used for a 'quick date' selection, so the drop down has items like "Today", "This Week", "This Month" etc. and when the user selects the item they want I can use the object to get the 2 dates that are attached to the object and filter my data.

Thanks for any help you can provide!
Richard Slade
Top achievements
Rank 2
 answered on 21 Mar 2011
1 answer
181 views
Is there a way to export the new theme Office 2010 black to a tssp ?

The visual style builder does not seem to be aware of it's existance, and "Export Built in Themes" does not export it.
Nikolay
Telerik team
 answered on 21 Mar 2011
1 answer
202 views
Hi,

I display RadMessageBox in a textbox's validating.  After I press OK button in the messagebox, the cursor is focus in the current control instead of next control.
However, if I use Visual Studio's messagebox, the cursor will stay in the next control after I press OK button.
So, how can I solve it?

p.s. The step to produce this problem as following:
1. Click on TextBox1 in form
2. Tab away from TextBox1
3. Message prompt out.
4. Use mouse to click [OK] button in message box.
5. After the message box disappear, the cursor stay in textbox1 (it should stay in textbox2).



 

Imports Telerik.WinControls
  
Public Class Form1
  
    Private Sub TextBox1_Validating(ByVal sender As Object, ByVal e As System.ComponentModel.CancelEventArgs) Handles TextBox1.Validating
        RadMessageBox.Show("Testing", Me.Text, MessageBoxButtons.OK, RadMessageIcon.Info)
    End Sub
End Class
Richard Slade
Top achievements
Rank 2
 answered on 20 Mar 2011
1 answer
203 views
Hi,

I want to use the mouse and select multiple rows in one column or use "Shift-select" a couple of rows.
When I release the mouse (the mouse_up event triggers) I want the selected cells to be editable or maby one of the cells.
When the new value is entered in the editable cell and I hit the Enter button, all marked cells should be updated with the new value.

Is this possible? In that case how?

Thanks!!
Ola
Richard Slade
Top achievements
Rank 2
 answered on 20 Mar 2011
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
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?