Telerik Forums
UI for WinForms Forum
2 answers
134 views
Hi there,

I've been trying this for a couple of days without much success, when using the Visual Style Builder is it possible to alter the tab colours (and shape!) used by the DockingManager docking component?

At the moment I am trying to style the DockPresenterControl but when I select the individual Tabs and make changes (background color or border color for example) these changes are never reflected in the Design / Preview area.

If it is not possible with the Visual Style Builder is it possible to make these changes programatically?

Thanks very much!

-Antony
Antony
Top achievements
Rank 1
 answered on 17 Jul 2009
1 answer
195 views
Hi!

I've a RadComboBox wich is receiving data from database. I'd like know how to do for show images too?
I'm use this code:

Dim conn As New SqlCeConnection     
        Dim cmd As New SqlCeCommand     
        conn.ConnectionString = "datasource = " & System.AppDomain.CurrentDomain.BaseDirectory & "DSDB.sdf"    
        cmd.Connection = conn     
        cmd.CommandText = "Select Name from Visitas Where Enable = '1'"    
        Dim da As New SqlCeDataAdapter(cmd)     
        Dim dt As New DataTable     
        conn.Open()     
        da.Fill(dt)     
        conn.Close()     
        MDIParent1.RadComboBox1.DisplayMember = "Name"    
        MDIParent1.RadComboBox1.ValueMember = "ID"    
        MDIParent1.RadComboBox1.DataSource = dt   

Thank you!
Shinu
Top achievements
Rank 2
 answered on 17 Jul 2009
4 answers
222 views

I have a 

 

GridViewComboBoxColumn

 

in a radgridview. Could someone suggest to me how I could force the combobox column to show its drop down when a row is added?

Ryan

Phil
Top achievements
Rank 1
 answered on 17 Jul 2009
17 answers
240 views
Hi,

I've noticed that there are ALOT of bugs in the RadControls for WinForms suite, release after release.

How about adding more error checking, some code comments, less hard coding and stabilizing the core features?  Those would be good places to start.

Regards,

Matt
erwin
Top achievements
Rank 1
Veteran
Iron
 answered on 16 Jul 2009
1 answer
179 views
Hello all
I am using RadComboBox in a windows Form. I am adding Images for each name, but it is displaying the images in their original size. Can we resigze the Photos in the Radcombobox or not. If yes please send me the Solution ASAP
Thanks In Advance
Suresh Kharod
Victor
Telerik team
 answered on 16 Jul 2009
1 answer
92 views
Hello,
I drag and drop a radtreeView , i added my binding sources and datasets
but "this.radTreeViewExplorer.RelationBindings" return null.
Victor
Telerik team
 answered on 16 Jul 2009
2 answers
177 views
Hi:

I'm having trouble when I try to change my rad form location. I wrote a code to calculate the new form position by limit the x an y position to the screen boundaries. If the user try to put the form out of the boundaries, the code reasign the location to make my form fully visible. Here's my code:

  private void FormPrincipal_LocationChanged(object sender, EventArgs e)
        {
            if (!movedByCode)
            {
                movedByCode = true;
                Point puntoActual = DeviceAuxiliar.ChangeLocationForm(this.Location, this.Right, this.Bottom);
                this.Location = puntoActual;

                this.Location = puntoActual;
               movedByCode = false;
            }
        }

The issues are:
1- Do I have to code Fom_LocationChanged or Form_Move?
2- When my code runs, it doesn't change the form's location. It simply does not work, but if I duplicate de line this.Location = puntoActual;  it works, but with to much flickering. I'm trying to use the movedByCode flag in order to no execute twice this metod, but this does not happen neither.

Can you help me?

Thanks.


David
Top achievements
Rank 1
 answered on 16 Jul 2009
1 answer
131 views
Hi,

I have a docking manager with 6 DocumentPanes open. One of the DocumentPanes has a TableLayoutPanel with 100 controls on it. The DockingManager takes 4-5 seconds to switch between tabs, and 5 seconds to move from Closing to Closed on this tab. I also notice that closing the DocumentPane does not fire the Disposed events of the control on it - I have to manually fire the DocumentPanel.Dispose() method in the Closed event.

Any idea what I might be doing wrong ?

What is the typical life history of a DocumentPanel within a DockingManager ? Should I close it some other way other than the little X button ?

Thanks
Phillip
Vassil Petev
Telerik team
 answered on 16 Jul 2009
9 answers
378 views
Hello,
After working extensively with the controls for ASP.NET, I am new to the WinForm controls.  What I am looking for is a way to enable the "load on demand" functionality that is present in the Telerik radComboBox for ASP.NET. 

I have a web service that I would like to use to dynamically load data in a combobox.  So when the user types in some data (like "ab", I will call the webservice to find all matching items and then display them in the combobox).  This is very easy to accomplish in ASP.NET, but I have been searching the forums and struggling with this for several days. 

Here is the code that I have so far.  This pretty much gets me what I need, but sometimes the drop down does not display the items that were loaded from the web service (I can even step through the code and see that the .Items.Count property of the combo is greater than zero, but still no drop down).

 
    Private Sub DescriptionComboBox_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)  
        Dim descriptionComboBoxEditor As RadComboBoxEditor = New RadComboBoxEditor  
        Dim newDescription As String = Nothing 
        Dim pdHelperWebService As New pdhelper.PDHelper  
        Dim ds As DataSet  
        Dim dt As DataTable  
        Dim filter As String = Nothing 
        Dim comboItem As RadComboBoxItem  
 
        descriptionComboBoxEditor = CType(sender, RadComboBoxEditor)  
        descriptionComboBoxEditor.AutoCompleteMode = AutoCompleteMode.None  
        newDescription = descriptionComboBoxEditor.Text  
 
       descriptionComboBoxEditor.Items.Clear()  
          
       If Not String.IsNullOrEmpty(newDescription) AndAlso newDescription.Length >= 3 Then  
 
            'Call the webservice  
             ds = myWebService.GetItems(newDescription)  
             dt = ds.Tables("MY_RESULTS")  
 
            'Add each item to the combobox  
            For Each item As DataRow In dt.Rows  
 
                comboItem = New RadComboBoxItem  
                comboItem.Text = item("DESCRIPTION")  
                comboItem.Value = item("DESCRIPTION")  
 
                If Not (TypeOf (item("TOOLTIP")) Is DBNull) AndAlso _  
                    item("TOOLTIP") IsNot Nothing Then  
 
                    comboItem.ToolTipText = item("TOOLTIP")  
 
                End If  
 
                descriptionComboBoxEditor.Items.Add(comboItem)  
 
            Next  
 
            'Show the drop down if it's not already shown  
            If Not descriptionComboBoxEditor.IsPopupOpen Then  
 
                descriptionComboBoxEditor.ShowPopup()  
 
            End If  
 
        End If  
 
        pdHelperWebService.Dispose()  
 
    End Sub 

Is there a better way to handle this?  Is this functionality supported out of the box?  Any help is greatly appreciated.

Thanks,
Sean
Sean
Top achievements
Rank 1
 answered on 15 Jul 2009
7 answers
155 views
HI:
when I maximize a MDIChildForm the text of my RibbonBar should be change...but does not change.
Should read: ApplicationName - [FormName]
can you help me?
Deyan
Telerik team
 answered on 15 Jul 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
CheckedDropDownList
ProgressBar
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
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?