Telerik Forums
UI for WinForms Forum
1 answer
125 views

Hi,

 If I place a RadLayoutControl into a UserControl, then trying to add any toolbox controls into it,

Visual Studio will crash.

 Using Visual Studio 2013 Update 4

Telerik Winforms version: 2015.2.728.40

If I place RadLayoutControl into a WinForm/RadForm, then try to add controls into it will be fine.

 Looks like the RadLayoutControl needs to reside in a form instead of UserControl? Don't know this is a bug or it is meant to be.

What I'm trying to do is design UserControls which can be loaded into RadDock's document windows at runtime. 

 

Best Regards,

 

Dimitar
Telerik team
 answered on 04 Jan 2016
5 answers
2.1K+ views
I have a Winforms app with a Telerik RadGridView. Our HR dept has employee pictures in a known location on our file server. I am trying to include the employee picture on my RadGrid using the picture file.

I created a column of type ImageColumn as shown:

Dim imageColumn As New GridViewImageColumn
imageColumn.Name = "ImageColumn"
 imageColumn.HeaderText = "Picture"
 imageColumn.ImageLayout = ImageLayout.Zoom
 RadGridView1.MasterTemplate.Columns.Add(imageColumn)

Then I tried to loop through each row of the radGrid and assign a picture to the imageColumn:

For i As Integer = 0 To RadGridView1.Rows.Count - 1
    RadGridView1.Rows(i).Cells("ImageColumn").Value = "c:\myPicture.jpg"
Next

 

Note: In this example I'm simply trying to assign the same picture to every row. Later I will add logic to add the specific picture required.

Running this code produces a blank image column. No error is returned.

I have tried image values of c:\myPicture.jpg, c:\\\myPicture.jpg, and @c:\myPicture.jpg

What am I doing wrong?

I have a Winforms app with a Telerik RadGridView. Our HR dept has employee pictures in a known location on our file server. I am trying to include the employee picture on my RadGrid using the picture file.

I created a column of type ImageColumn as shown:

Dim imageColumn As New GridViewImageColumn
imageColumn.Name = "ImageColumn"
imageColumn.HeaderText = "Picture"
imageColumn.ImageLayout = ImageLayout.Zoom
RadGridView1.MasterTemplate.Columns.Add(imageColumn)

Then I tried to loop through each row of the radGrid and assign a picture to the imageColumn:

For i As Integer = 0 To RadGridView1.Rows.Count - 1
    RadGridView1.Rows(i).Cells("ImageColumn").Value = "c:\myPicture.jpg"
Next

Note: In this example I'm simply trying to assign the same picture to every row. Later I will add logic to add the specific picture required.

Running this code produces a blank image column. No error is returned.

I have tried image values of c:\myPicture.jpgc:\\\myPicture.jpg, and @c:\myPicture.jpg

What am I doing wrong?

I have a Winforms app with a Telerik RadGridView. Our HR dept has employee pictures in a known location on our file server. I am trying to include the employee picture on my RadGrid using the picture file.

I created a column of type ImageColumn as shown:

Dim imageColumn As New GridViewImageColumn
imageColumn.Name = "ImageColumn"
imageColumn.HeaderText = "Picture"
imageColumn.ImageLayout = ImageLayout.Zoom
RadGridView1.MasterTemplate.Columns.Add(imageColumn)

Then I tried to loop through each row of the radGrid and assign a picture to the imageColumn:

For i As Integer = 0 To RadGridView1.Rows.Count - 1
    RadGridView1.Rows(i).Cells("ImageColumn").Value = "c:\myPicture.jpg"
Next

Note: In this example I'm simply trying to assign the same picture to every row. Later I will add logic to add the specific picture required.

Running this code produces a blank image column. No error is returned.

I have tried image values of c:\myPicture.jpgc:\\\myPicture.jpg, and @c:\myPicture.jpg

What am I doing wrong?

Hristo
Telerik team
 answered on 31 Dec 2015
3 answers
578 views

Hi,

 

My goal is putting a flow diagram into our software in accordance with the values that came. It has to be via code. But i couldn't find any documentation about it.

I can put shapes programmatically. However,i have no idea about creating bindings between them by lines, setting up positions without ruining.

If you may give some hints, examples or lead me .i'll be thankful.

 An example attached.

 Regards,

 Onur

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Dec 2015
1 answer
116 views
How can I show some text within RoundRectShape? See the attached image.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Dec 2015
1 answer
85 views

By default, when in Weekview, the scheduler groups by resources, and then days.

Is there a way (or could a way be added) to do the reverse? That is, group by day *first*, and then have each resource under each day?

Thanks!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Dec 2015
1 answer
2.4K+ views

Hi

Unfortunately all Telerik tool box items have disappeared from my tool box

This occurred after I did the following

In place upgrade to windows 10

Installed VS studio Enterprise 2015  (original Dev platform was VS 2013 Premium)

I have tried a number of methods to fix

1:Reset Tool box...results in toolbox items from other vendors showing (As expected)

2:Deleted .tbd files and restarted VS..VS studio advises it rebuilding the tool box. Other vendors tool box items are shown (As expected)

3: Manually added Telerik controls for frame work 4. Each time VS starts the toolbox items need to be re-added

How can I sort this issue?

Andre

Andre
Top achievements
Rank 1
 answered on 30 Dec 2015
2 answers
685 views

 

hello.

Please teach me the way.

 

GridView SourceData : Binding : List, DataTable...

 1. Binding Data  Index => GridView Row Index

2. GridView Row Index => Binding Data Index

 

 

Kim
Top achievements
Rank 1
 answered on 29 Dec 2015
4 answers
249 views
How I can change the values ​​of the Style Settings section programmatically?
Aref
Top achievements
Rank 1
 answered on 25 Dec 2015
1 answer
241 views
For most of our RadGridViews, we set the ContextMenuStrip to a Windows.Forms.ContextMenuStrip. This is no longer working in the latest RadGridView. In another thread, you suggested using RadContextMenu instead. However it would be a big job to change all of our Windows.Forms.ContextMenuStrips to RadContextMenus. Is there a workaround we can use to get our Windows.Forms.ContextMenuStrips working?
Ralitsa
Telerik team
 answered on 23 Dec 2015
1 answer
109 views

Hi,

I have an existing C#.Net application that requires modification. To update it I will basically re-write it with radControls which is all fine.

I am wondering if anyone has created a class library Telerik Winforms project and then have it referenced and consumed by an existing VB6 MDI application?

I have done this before with standard C#.Net and would like to do so again but using the excellent radControls.

There may be issues with theming (I would probably not use any theme) but I would like to check if there may be any issues with references to Telerik files and so on.

Many thanks,

Martin.

Hristo
Telerik team
 answered on 23 Dec 2015
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)
Chart (obsolete as of Q1 2013)
Form
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?