Telerik Forums
UI for WinForms Forum
2 answers
245 views

HI,

I am using RadCheckedDropDownList.

I want to disable edit possibility in EditableElement.

User can only check options by opening list (arrow button).

So i change DropDownListElement.EditableElement.Enabled to false.

But how can i remove "X" button next to each option in EditableElement?

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

Hi.

I've got a text column that has multiple lines in some of the cells.  When I auto-size the rows those rows show up very tall to display all the text, but I prefer to show just the top line and keep the row height the same as the rest.  My first problem is that I can't find out what that height should be.  Every time I look at Rows[n].Height I see -1.

It's not a perfect solution anyway, but I'm still curious about that value.  For a better solution, I'd like some way of finding out the proper height of a single row given the font I'm using.

Thanks in advance for any help.

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

Hi,

I'm using the PdfViewer with succes but when a pdf is loaded that pdf is also locked in the filesystem.
is there some way to prevent that?
So I would like to load the pdf and then disconnect form the file while the content is still in de PdfViewer.

Regards
Didier

Dimitar
Telerik team
 answered on 19 Jan 2017
2 answers
194 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
214 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
188 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
188 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
119 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
245 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
315 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
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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?