Telerik Forums
UI for WinForms Forum
1 answer
348 views
I have a radmenu inside a user control. I had set the autosize=true and autosizemode=GrowAndShrink for the user control. For the RadMenu I had set autosize=true and Orientation=Horizontal. I am adding menu items dynamically. But the usercontrol that holds the RadMenu is not growing automatically and RadMenu grows into a second row. How can I make the usercontrol grow automatically as RadMenu add new Items horizontally. Please advice. Please see the attachment.

Ivan Petrov
Telerik team
 answered on 01 Feb 2011
3 answers
258 views
Hello,
I am trying to follow along with webinars to learn the RadScheduler.  I successfully was able to create an application that had no resources, create schedules etc...I can save appointments and the Appointments table in the Telerik provided example database populates fine and all..when I have one resource only.

The problem comes when I try to save to a RadScheduler with more than 1 resource.
AppointmentsResources table in database does not seem to populate.  Also, newly created schedule item you just tried to save disappears.  No appointments load up on initial load either.
I tried to emulate it working by creating a manual entry in AppointmentsResources table, to no avail, so I deleted entry.
However, Appointments table still populates correctly.

Code is simple
Using Telerik provided database. Thank you very much!
Imports Telerik.WinControls.UI
  
Public Class Form1
  
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'SchedulerDataDataSet.Resources' table. You can move, or remove it, as needed.
        Me.ResourcesTableAdapter.Fill(Me.SchedulerDataDataSet.Resources)
        'TODO: This line of code loads data into the 'SchedulerDataDataSet.Appointments' table. You can move, or remove it, as needed.
        Me.AppointmentsTableAdapter.Fill(Me.SchedulerDataDataSet.Appointments)
  
  
  
        RadScheduler1.ActiveView.ResourcesPerView = 5
        RadScheduler1.GroupType = GroupType.Resource
  
  
  
  
    End Sub
  
    Private Sub SaveToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SaveToolStripMenuItem.Click
  
        Dim appointmenttableadapter As New SchedulerDataDataSetTableAdapters.AppointmentsTableAdapter()
        Dim resourcetableadapter As New SchedulerDataDataSetTableAdapters.AppointmentsResourcesTableAdapter()
  
  
        Try
  
            appointmenttableadapter.Update(SchedulerDataDataSet.Appointments)
            resourcetableadapter.Update(SchedulerDataDataSet.AppointmentsResources)
  
            SchedulerDataDataSet.AcceptChanges()
  
  
        Catch ex As Exception
            Throw ex
        Finally
  
        End Try
  
  
    End Sub
End Class
Joseph
Top achievements
Rank 1
 answered on 01 Feb 2011
1 answer
103 views

In building a user control where a ToolWindow hosts a RadCommandBar with a CommandBarDropDownList.
When browsing the associated events, I'm missing the SelectedValueChanged, SelectedIndexChanged. Even when I tried to add event handlers programmatically, they do not show up.

I’m using version v.2010.3.10.1109, with Visual Studio 2008 sp1 + .NET Framework 3.5 sp1, in a WinForms application.

I've tested this in another clean project, and the events do show up, however, the environment is Visual Studio 2010 + .NET Framework 3.5 sp1, and the suite's version is v.2010.3.10.1215.

Is the problem located on such diference of versions?

UPDATE:

YES, the issue is fixed on v.2010.3.10.1215 which contains the missing events. I just upgraded the tools and the project is now showing the events.

Drewanz
Top achievements
Rank 1
Veteran
 answered on 31 Jan 2011
5 answers
443 views
Hi,

I have a multicolumn combobox. on the first time click of the combobox the sizing is not correct, it doesn't render itself properly and all the details are not visible.

but when you type some search text in auto filter text box, it does auto size it properly and all the text is visible.

please have a look @ screen shot attached.

regards,
Khizar

Harsh Dara
Top achievements
Rank 1
 answered on 31 Jan 2011
4 answers
93 views
I am using Gridview (Hierarchy) to display data from the database Northwind with a small modification:
- table Orders has following columns: OrderID, OrderDate
- table Details has: DetailsID, OrderID, ProductID, Quantity, UnitPrice, Total (Total is one column in Gridview using expression)
- table Products has: ProductID, ProductName, TaxID
- table Tax has: TaxID, Tax
The Orders table is parent table and the Details table is child table. With the ProductID and GridviewComboboxColumn I can display ProductName from the Products table, but I don't know how to get the Tax value from table Tax using the same method to complete the goal: Total=Quantity*UnitPrice*(1+Tax).
Do you have any idea to do that?
Any help would be appreciated.
Thanh Ho
Thanh
Top achievements
Rank 1
 answered on 31 Jan 2011
1 answer
145 views
I've created a new project and am trying to do the following:

1. created a ShapedForm as MDI Parent
2. put a radPanel at the top of the ShapedForm
3. put a radMenu on the radPanel
4. set all of the above to Windows7 theme
5. in page load of the MDI (ShapedForm), i want to display a login form (Login) in the center of the MDI (Shaped form) via code below:
Dim fLogin As Form
        fLogin = New Login
        fLogin.MdiParent = Me
        fLogin.StartPosition = FormStartPosition.CenterParent
        fLogin.WindowState = FormWindowState.Normal
        fLogin.Show()

PROBLEMS:
1. the radmenu has no theme
2. in the radmenu, i have a radmenuHeaderItem - it is aligned on the top no matter what i try - so does not line up with the menu items (not aligned middled like the menu items).
3. the login page appears in the upper top left corner not centered.

i've looked for examples but none of what i'm trying to accomplish.
please help. i've been on asp.net for the past 5 years so it's frustrating.
thanks!

Ivan Petrov
Telerik team
 answered on 31 Jan 2011
3 answers
88 views
Hello,

I am using the windows 7 theme. I want my application color to be red so I use color blending. I am not totally satisfied with the result, so I would like to edit the generated red theme in the VSB as it is mentioned in this blog post :

http://blogs.telerik.com/blogs/posts/08-10-31/chameleon_skinning_coming_up_to_winforms_in_q3_2008.aspx
"And finally if the resulting skin still needs some touches, you can export the modified theme data to xml files, and tweak them using the Visual Style Builder app, as much as you wish. "

To export the theme I used the code attached in this thread, that uses XmlStyleBuilderRegistration objects.
http://www.telerik.com/community/forums/winforms/themes-and-visual-style-builder/theme-and-addcolorblend-not-working.aspx

This code generated 56 Xml files. I start the VSB and hit "Open directory" to load all xml file but VSB says that these files are old and no more supported.

How can I export a color blended theme to edit it in the new VSB?

Thank You
Regards
Thibaut
Thibaut
Top achievements
Rank 1
 answered on 31 Jan 2011
13 answers
290 views
Hi,
how can we add custom controls other than the ones provided with the RAD Suite?
thanks.
Peter
Telerik team
 answered on 31 Jan 2011
8 answers
198 views
Hello,

I use "Hide Column" from GridView->Header->Pop-up menu.
Is there some event to get information about column which was hidden?

Thanks
Stefan
Telerik team
 answered on 31 Jan 2011
19 answers
242 views

I really liked Kaspersky's User Interface.

Is it possible to create some UI like that, using Telerik controls for WinForms ?

Thanks

Akhil
Top achievements
Rank 1
 answered on 29 Jan 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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?