Telerik Forums
UI for WinForms Forum
2 answers
158 views

I have one split container on my form.  It is set to DOCK=FULL.  In that container, I have 5 panels, stacked on top of each other. I want the 2nd Panel, 3rd Panel and 5 Panel not to resize vertically when my form resizes. I do however, want it to grow horizontally.  I want the 1st and 4th Panels to grow both vertically and horizontally.  How can I achieve this with this control?

 

 

Thanks

Dimitar
Telerik team
 answered on 19 Jan 2017
1 answer
206 views

We purchased the sources for a project that used the 2009 version of UI for Winforms. We are using the current version of Winforms. The original project was created with VS 2010. It has been upgraded to VS 2015. In the project, we have the current version of the assemblies selected yet we still get the build error as seen below:

 

Severity Code Description Project File Line Suppression State
Error CS1705 Assembly 'Telerik.WinControls.Themes.Breeze' with identity 'Telerik.WinControls.Themes.Breeze, Version=2016.3.1024.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e' uses 'Telerik.WinControls, Version=2016.3.1024.40, Culture=neutral, PublicKeyToken=5bb2a467cbec794e' which has a higher version than referenced assembly 'Telerik.WinControls' with identity 'Telerik.WinControls, Version=2009.1.9.311, Culture=neutral, PublicKeyToken=5bb2a467cbec794e' CannaPOS C:\Users\bigdo\OneDrive\Documents\GitHub\RPOS\420TechPOS\Retail\CSC 1 Active

We want to ship our product with the current version of WinControls.

Thanks!


Lance | Senior Manager Technical Support
Telerik team
 answered on 18 Jan 2017
5 answers
180 views

Hi,

I use the RadOffice2007ScreenTipElement to display some tooltip (with image) on a RadGridView column.
The original image is much to large to display in this tooltip.
Is there some way to (automatically) resize the image to the defined size of the tooltip (done with new System.Drawing.Size(200, 150))

Thanks
Didier

Hristo
Telerik team
 answered on 18 Jan 2017
1 answer
181 views

I have a grid with a ComboBoxColumn where each row will have a unique list. It is updated when the user clicks on a button.

As an example, Lets say each row represents a person and one of the columns is ComboBoxColumn has a header called, "Dept Worked". There is a static list of departments, but each person only has a subset of these departments.

Department List:  AP, AR, SA, IT, PU, MK, TR

Sally: aDept() =  {AP, AR, PU}

Nick:  aDept() = {SA, IT}

Julie:  aDept() = {MK, TR, SA}

 

I looked at the Telerik documentation on the ComboBoxColumn, but it only shows how to display a single list for all rows.

I also looked at the Cascading ComboBoxColumn How-To. It looked closer, but not sure because my event to populate the grid is under the Button event.

 

My columns were defined in VS visual editor, but I built code to dynamically fill an array for each combobox in the Dept column.

 

01.Private Sub btnApply_Click(sender As System.Object, e As System.EventArgs) Handles btnApply.Click
02. 
03.' data pulled from source here and placed in an array'
04. 
05. 
06.                    For x As Integer = 0 To aUserId.Length - 1
07.                        Dim rowInfo As GridViewRowInfo = MyGrid.Rows.AddNew()
08. 
09.                        Try
10.                             'Loading row data
11. 
12.                             'Column 1 : Combobox "Dept" - Each row will have a list of its own departments - aDept()

 

 

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Jan 2017
2 answers
112 views

Hi Telerik, is there a way to share a list of RadMenuItems over multiple menus? I would like a list of options for a selection in a treeview (left click) as well as the same options in a right click context menu on the tree.

I have setup the radmenuitems in the context menu, however if I clone those items and place them in the RadMenu, they disappear from the context menu and only appear in the radmenu.

radMenu1.Items.AddRange((RadItem[])radContextMenuBLTree.Items.ToArray().Clone());

The items are only RadMenuItems, and RadMenuSeparatorItems, and RadMenuHeaderItems.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Jan 2017
1 answer
236 views

Hi All-

The Bing! Maps accessible through the Telerik provider are VERY out of date and the OpenStreetsMap provider documentation does not illustrated how to perform the same functionality as is available for the Bing! provider.

How do we access up-to-date maps in Bing! or where can I find documenation on how to implement search and route functionality using OpenStreetMaps provider?

Thank you!

-Scott

Hristo
Telerik team
 answered on 16 Jan 2017
8 answers
297 views
Hello,
I need a recurring functionality for my project. Also I have created a custom EditAppointmentDialog, as well as a custom Appointment class derived from Telerik.WinControls.UI.Appointment. I need one custom field for my appointment.

Everything works fine except two scenarios.

1. At first I create a recurrence appointment which generates a number of occurrences in the scheduler view. Then clicking on one of the occurrences in the scheduler I get a Message Box which allows me to select whether I would like to open  this occurrence or the whole series. I select "Open this occurrence". After that LoadSettingsFromEvent() method is called. In that method I have the following code.

 protected override void LoadSettingsFromEvent(Telerik.WinControls.UI.IEvent sourceEvent)
        {
            base.LoadSettingsFromEvent(sourceEvent);

            var workSchedule = sourceEvent as WorkSchedule;

            if (workSchedule != null && !string.IsNullOrEmpty(workSchedule.WorkScheduleType))
            {
                cbbxType.Text = workSchedule.WorkScheduleType;
            }
        }

The sourceEvent object could not be casted to WorkSchedule (a derived class from Telerik.WinControls.UI.Appointment which holds my custom field WorkScheduleType), however it is not null and is easily casted to Telerik.WinControls.UI.Appointment class. that's why I cannot read and set this WorkScheduleType field which I certainly need for this occurrence.

It happens only when a recurrence exception is generated. If it is a normal or recurring appointment everything works just fine.

2. I want the following scenario. I would like to create a recurring appointment (say each week on Mondays and Thursdays at 6 p.m. I would like to go to the gym). I create a recurring appointment which generates a number of occurrences in the scheduler view. Then I want to remove a single occurrence for the next week for Thursday (I have different plans for next Thursday). I click on that occurrence in the scheduler. After that I try to delete this occurrence. The view shows me that it is deleted, however when I recheck DB and then reopen scheduler nothing changes. However an exception in DB is created.

How may I properly implement the above mentioned process?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Jan 2017
9 answers
60 views

Hi

In the ribbonbar i have placed splitbuttonelement and it has several menuitems. I have problem with the value (or index) of menu item that selected by user.i need a code to learn how can i do this and what events need to use.

 Thanks.

Dimitar
Telerik team
 answered on 16 Jan 2017
1 answer
126 views

I noticed that my below code which associates event delegates with a cell textbox editor does not signal those events. Could you please assist ?

        private void Grid_CellEditorInitialized(object sender, VirtualGridCellEditorInitializedEventArgs e)
        {

            switch (column.Name)
            {
                case "Column1":

                        VirtualGridTextBoxEditor editor = (VirtualGridTextBoxEditor)e.Editor;
                        RadTextBoxElement elmnt = (RadTextBoxElement)editor.EditorElement;
                        elmnt.Tag = editor;
                        editor.Validated += Editor_Validated;
                        editor.Validating += Editor_Validating;

 

-----------------------------------

 

        private void Editor_Validating(object sender, CancelEventArgs e)
        {

                   // NOT TRIGGERED
        }
        private void Editor_Validated(object sender, EventArgs e)
        {

                   // NOT TRIGGERED
        }

Dimitar
Telerik team
 answered on 16 Jan 2017
4 answers
772 views

I would like to hide/unhide nodes based on a bound data source item value.  In my sample project, I can assign a full data source and a filtered data source from 'All Data Source' button click or 'Filtered Data Source' button click. But hide and unhide using the node visible property in radTreeView1_NodeFormatting event triggered from the 'Visible = Primary (Hide)' and 'All Visible Unhide' don't work.  Also, the first click of 'Visible=Primary(Hide)' only formats the first 5 nodes.  It seems once a node's visible property is false, you can not set it to true programmatically.  I do not want to refresh or reload the tree view. 

It would be really great if there was some way to filter tree view based on Tag versus Text property.  Then I could simply populate the tag with true or false and filter.

 

Kim
Top achievements
Rank 1
 answered on 13 Jan 2017
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
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
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
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
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?