Telerik Forums
UI for WinForms Forum
11 answers
418 views
Hi There

I tried to implemented the code on the forum for the getting the current resource, as detailed in the link below
Previous Thread on this topic

but this code does not return the current resource it provides the first of the group of resources 
So when you try to obtain the second resource and select that one the code returns the first one

It does not seem to cater to the fact that more than one resource can be displayed at once
Sub GetResource()
 
    'Get the Resource
    Dim point As Point = frmMain.rsdDiaryMain.PointToClient(Cursor.Position)
    Dim groupedDayViewElement As SchedulerDayViewGroupedByResourceElement =
            TryCast(frmMain.rsdDiaryMain.SchedulerElement.ViewElement, SchedulerDayViewGroupedByResourceElement)
    Dim cellElement As SchedulerCellElement = SchedulerUIHelper.GetCellAtPoint(point,groupedDayViewElement.GetDayViewElements())
    Dim dayViewElement As SchedulerDayViewElement = TryCast(cellElement.Parent.Parent.Parent.Parent.Parent.Parent, SchedulerDayViewElement)
    Dim resource As EventId = dayViewElement.View.GetResources(0).Id
 
    'Set the ATP dropdown for this resource
    Me.ddlResources.SelectedIndex = CType(resource.KeyValue, Integer)
End Sub

Any idea on how to select the current resource even when you have 2 or more resources showing on the scheduler?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Nov 2014
8 answers
719 views
Hi,
How to get appointment id of a selected rad scheduler appointment  ?
I want the appointment id or can i get the datarow of a selected appointment ?
Gaston
Top achievements
Rank 1
 answered on 19 Nov 2014
3 answers
167 views
I have a class with 32 properties. When i use the  TypeConverter(typeof(ExpandableObjectConverter)) it displays all the properties under the expandable name of the object which is perfect. But some of my project will have less than 32 properties. So i want to be able to dynamically remove/add attributes and have them displayed in the property grid as expandable. So is that something that is possible to do with the PropertyGrid. If that is not possible, is there a way to do this with ICollection object that i can just pass as a dataSource.

Thanks.
Hugues
Top achievements
Rank 1
 answered on 19 Nov 2014
14 answers
431 views
The 2010 Q2 release notes says that "RadGridView can be transposed' but cannot find information on how to actually achieve this.
Dimitar
Telerik team
 answered on 19 Nov 2014
2 answers
70 views
Hi

Could you tell me if UI for Winforms Q3 2014 (version 2014.3.1104) released November 5th is effectively SP1?

If so, have you dropped the Service Patch (SP1, SP2 etc) convention?

The reason I ask is that we normally wait for SP1 releases before upgrading Telerik controls and I want to know what to look out for in the future.

Many thanks.

Adrian
AdrianG
Top achievements
Rank 1
 answered on 19 Nov 2014
2 answers
280 views
Hi, 
Please refer the the image to understand the scenario:

Image  t01.png: I have 3 tiles [red colspan=2 rowspan=2] [green 1, 1] [ping 1 1]
Image t02.png: I right click on the red tile to change the size from large to small (colspan 1, rowspan 1)
image t03.png: After resize, the is a need to refresh RadPanorama you may notice the text under the red tile
image t04.png: when trying to move the green tile, the Panorama control auto refresh and remove the text.
image t05.png: I manually arranged the tiles, then I need to make the red tile Large (colspan 2, rowspan 2)
image t06.png: After red tile size change, layout is corrupt, HOW CAN WE REARRANGE TILES, without implementing our own logic, which is complex as I think
image t07.png: trying to reposition.
image t08.png: that's what I expected.


Code used to resize:

Private Sub RadMenuItem1_Click(sender As Object, e As EventArgs) Handles RadMenuItem1.Click
       'Small
 
       'RadPanorama1.SuspendUpdate()
       tileBig.ColSpan = 1
       tileBig.RowSpan = 1
       tileBig.Size = New Size(200, 200)
       'RadPanorama1.ResumeUpdate()
       RadPanorama1.Refresh()
       'ReArrange()
   End Sub


Private Sub RadMenuItem3_Click(sender As Object, e As EventArgs) Handles RadMenuItem3.Click
       'Large
       tileBig.ColSpan = 2
       tileBig.RowSpan = 2
 
       ' tileBig.Size = New Size(400, 400)
 
       RadPanorama1.Refresh()
       'ReArrange()
   End Sub


Please advise.














Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Nov 2014
3 answers
252 views
ToolWindow tool = new ToolWindow();
                       tool.Text = form.Text;
 
                       this.radDock1.FloatWindow(tool, new Rectangle(new Point(this.DesktopBounds.X + this.DesktopBounds.Width / 2 - formWidth / 2,
                       this.DesktopBounds.Y + this.DesktopBounds.Height / 2 - formHeight / 2), new Size(formWidth, formHeight)));
      
                       form.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
                       form.TopLevel = false;
                       form.Dock = DockStyle.Fill;
                       form.Show();
                       foreach(DockWindow dock in this.radDock1.DockWindows)
                       {
                           if(GesHelper.Equals(dock.Name, tool.Name))
                           {
                               dock.Controls.Add(form);
                               dock.CloseAction = DockWindowCloseAction.CloseAndDispose;
                               break;
                           }
                       }
But the MdiChildActivate is not fired, am i missing something on it?
Dimitar
Telerik team
 answered on 18 Nov 2014
1 answer
399 views
Hi,

I am at a loss of how to add images to specific columns in listview from an imagelist. 

For  example in the following column structure  :    Column A, Column B, Column C
I would like to populate "Column A" with a string, "Column B" with an image from my imagelist, "Column C" with a string.

I am not sure if this is possible, could anyone provide me with an example of how to achieve this ?

Many thanks in advance !

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Nov 2014
1 answer
108 views
     Hello, how can i set a child template in Load on Demand as Self Referencing or is this possible? i attached an image i created as a workaround. It is nicer to show this as Load on Demand.  Thanks in advance.
Dimitar
Telerik team
 answered on 17 Nov 2014
1 answer
246 views
I cannot find the wrap text or multiline property of a RadMultiColumnComboBox control?  I mean the control itself...not its radgridview or drop down.....rather the displayed text of the control?  I have strings of 250 characters that display fine in the drop down, but then they center on a single line in the control's display (see attached png.
Dimitar
Telerik team
 answered on 17 Nov 2014
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?