Telerik Forums
UI for WinForms Forum
6 answers
299 views
Hi,

I am usiong RadScheduler for winforms trial version. I am trying to add multiple resources in a scheduling controls by using below code. But still these resouces are not visibale in the calendar. Please note; i am using same code as in documentation:

 

Private Sub AddResources()

 

 

Try

 

 

Dim names As String() = New String() {"Alan Smith", "Anne Dodsworth", "Boyan Mastoni", "Richard Duncan", "Maria Shnaider"}

 

 

Dim colors As Color() = New Color() {Color.LightBlue, Color.LightGreen, Color.LightYellow, Color.Red, Color.Orange, Color.Pink, _

 

Color.Purple, Color.Peru, Color.PowderBlue}

 

Dim i As Integer = 0

 

 

For Each Name As String In names

 

 

Dim oResource As New Telerik.WinControls.UI.Resource

 

oResource.Id =

New Telerik.WinControls.UI.EventId(i)

 

oResource.Name = Name

oResource.Color = colors(i)

oResource.Visible =

True

 

oResource.Image =

Me.ilstIcons.Images(0)

 

RadScheduler1.Resources.Add(oResource)

System.Math.Max(System.Threading.Interlocked.Increment(i), i - 1)

oResource =

Nothing

 

 

Next

 

RadScheduler1.GetDayView().ResourcesPerView = 2

 

 

Catch ex As Exception

 

MessageBox.Show(ex.ToString())

 

Finally

 

 

End Try

 

 

End Sub


Thanks,

 

Ivan Todorov
Telerik team
 answered on 06 Dec 2012
3 answers
253 views
Hi,
i'm trying to make a grid look like the attached image.  i want the total part at the bottom to look like the image.  i've tried various things and i can't even get it to pin to the bottom.  
i found code on another thread that said to do this to get it to the bottom:
grdTxCodes.MasterView.SummaryRows[0].PinPosition = PinnedRowPosition.Bottom;
but that doesn't work for me unless the grid has a bunch of rows in it.  when there's no rows or only a couple, the summary row is right under them.  I need it at the bottom and also need it to only show for a couple columns.  i added summary items for those columns and i do get totals, but all the other columns have what look to be cells under them that are just blank.  can those be removed?

i blacked the data in it out for security reasons.

Thanks!
Ivan Todorov
Telerik team
 answered on 06 Dec 2012
1 answer
63 views
If you have multiple appointments on one day at one time they appear beside each other.

If you have 3 appointments on 13u00, 2 of these appointments stop at 14u00 and the tird one at 17u00
If you then have another appointment that starts on 14u30 and stops at 15u30 the width of this appointment is 1/3 of the total with for the day. But there is room for this appointment to be 2/3 of the width of that day.

Has somebody an idea about how i can fix this that i can use the fully width of the column?
 
thx!
Ivan Todorov
Telerik team
 answered on 06 Dec 2012
2 answers
149 views
http://www.telerik.com/help/winforms/gridview-viewdefinitions-html-view.html

i'm copy everything in this page to my VS.

but not working TT.

someone help me please.


now i understand already thank :D
Stefan
Telerik team
 answered on 06 Dec 2012
1 answer
90 views
Before calling my report, I generate a generic list of business objects. The processing is quite complex and I do not want to try to use Telerik's parameter facility to do this. 

How can I pass this List<BusinessObject> to Telerik Reporting at runtime? What do I use as a datasource in order to design the report?
Steve
Telerik team
 answered on 05 Dec 2012
4 answers
307 views
I am using RadGridView in my project and to automate the testing we are looking  the option of using Ranorex.

One of the issue we are facing is that we are not able to locate the elements within the grid view.

In Ranorex forum , It is mentioned that MSAA implementation for RadGridView is not correct. can you please comment on this like is it an issue and if so in which version it will be addressed?

http://www.ranorex.com/forum/difficulties-with-telerik-grid-view-t3228.html

Peter
Telerik team
 answered on 05 Dec 2012
1 answer
336 views
Hi all,

I have 2 problems with Multi Column Combobox:

1. There is an event like "SelectionChangeCommitted" (in the normal combobox)? Because I need to fire an event to catch the value selected when the user selects the row on multi column combobox. I can't use SelectedIndexChanged event because my combo have a datasource.

2. Everytime i click for the first time on combo to open, that don't display correctly as I coded (ex. .AutoSizeDropDownToBestFit = True). It just displays correctly after the first click.

Sorry for my bad English.
I'm using Q3 RadControls.
I'm programming in VB.NET 2010.

Thanks for supporting me :)
Anton
Telerik team
 answered on 05 Dec 2012
0 answers
111 views
I have included an image of th eline that I am spekaing of.  How do I remove it? 
Eric Klein
Top achievements
Rank 1
 asked on 05 Dec 2012
2 answers
161 views
I have a RadRibbonBar with some tabs. This RadRibbonbar is set:
radRibbonBarTemplate.Expanded = false;

but when the app is started it does not display the tabs. if I expand and collapse it again, it works properly.

Not sure if this is a default behavior, a bug or any missing setting. Any idea?

Thanks,
Ezequiel
Ezequiel
Top achievements
Rank 2
 answered on 05 Dec 2012
5 answers
131 views
Hi,

I used the code hereunder.
I need to make my Radrichtextbox read only therefore is used the Ireadonly property.
Problem is that when I click inside the Radrichtextbox, and the Delete key is pressed, text is removed.
If I press the Backspace key, nothing happens, correctly so.
If I press any other key, nothing happens, correctly so.
The problem therefore appears to relate to the Delete key only.

Anything I could be doing wrong, or is this a bug?
If it is a bug, is there any work-around?

Many thanks.


Me.RadRichTextBox1.Document = New RadDocument()
Dim provider As New HtmlFormatProvider()
Me.RadRichTextBox1.Document = provider.Import(Me.DataSetBindingSource.Current("TEXT2")) 'html from database
Me.RadRichTextBox1.Document.CaretPosition.MoveToFirstPositionInDocument()
Me.RadRichTextBox1.IsReadOnly = True

Stefan
Telerik team
 answered on 05 Dec 2012
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?