Telerik Forums
UI for WinForms Forum
7 answers
266 views
Is there a way to create a ListView in which one of the columns is an image column (this is, a column in which to show an image)?. I would like also to be able to turn the visibility of the images on and off. Thank you!

Joaquín
Anton
Telerik team
 answered on 09 Aug 2013
2 answers
94 views
I'm currently evaluating Telerik Winforms controls for a project (specifically, the GridView).  I downloaded the installer yesterday so I believe I'm using the most recent version (RadControlsForWinFormsSetup_2013_2_724).  Everything is working fine except the TextAlignment on GridViewHyperlinkColumns.  I found an old forum post about this issue:

http://www.telerik.com/community/forums/winforms/gridview/gridviewhyperlinkcolumn-ignoring-textalignment-bug.aspx

I tried the workaround posted but it didn't work.  After some research, I found this page:

http://www.telerik.com/releasehistory.aspx?id=523

Which states the bug was fixed back in the "RadControls for WinForms 2012.3 1017 Oct 17, 2012" release.  However, I'm seeing the bug as described in the old forum post.  Here's a sample of the data bound to a text box and then bound to a hyper-link column, both with TextAlignment set to MiddleLeft:

http://imageshack.us/photo/my-images/818/yk3m.png/

Is this a regression issue?  Is there a work-around for this?  The workaround posted in the original thread no longer works.

Thanks.
Patrick
Top achievements
Rank 1
 answered on 09 Aug 2013
1 answer
130 views
I have a  rad grid which i am populating on from the context ie .


          BindingSource bs = new BindingSource();
            bs.DataSource = pamsContext.GetAppraisal(false).ToList();
            grvappraisal.DataSource = bs;

I have a list which contains apprisal id record id , next date  , apprisaed by

on the right on the same form I have notes and a couple of date drop down what I am wanting to no is using the entity frame work how do i store the values on the right hand side so I can later save them to the entity.

any help is appreciated 
George
Telerik team
 answered on 09 Aug 2013
3 answers
108 views
Hello, everybody.
Sounds strange, but i can't find event of maximisation button of radform.
I need to resize form content and i can't do it in maximisation mode. I created special method for resizing and it works when i resize form slowly by getting corner, but resizing events don't work after maximizing((
Who knows how to solve this issue?
Andrey Kipetcoff
Top achievements
Rank 1
 answered on 08 Aug 2013
2 answers
311 views

I have a List called “myResults”. When the list contains at least one item, I’m trying to populate a GridView w/ info for the list; the GridView is called “gvMyResults”. However, sometimes, during this update of the DataSource, I get an exception saying, “Bounds cannot be changed while locked”, and a red X is displayed across my GridView. I added this Dispatcher wrapper around my update, but I’m still seeing the same error. It’s difficult to troubleshoot, because it does not happen every time. Does anyone know how to stop this “bounds cannot be changed while locked” error?

I have tried to fix this two ways, but both still give the error. 

First attempt:

Dispatcher.CurrentDispatcher.Invoke(DispatcherPriority.Normal, (Action)delegate()
{
    this.gvMyResults.DataSource = myResults;
});

Second attempt:

_Context.Send(x =>
{
    this.gvMyResults.DataSource = myResults;
}, null);
Tim
Top achievements
Rank 1
 answered on 08 Aug 2013
2 answers
164 views
Hi,
I use raddock and as you know when show a form it becomes a tab in raddock.
these tabs(forms) have ContextMenu that show when right click on forms header
 that contains close , close all , close all but this  and other menu items
i need to add image for this menu items
how can i do that?
Mahvash
Top achievements
Rank 1
 answered on 07 Aug 2013
1 answer
93 views
Is it possible for a user to type a non-date value (e.g. [EMPTY]) in the DateTimePicker? I tried everything I could think of, but it always formats the first bracket to a date value.
Dimitar
Telerik team
 answered on 07 Aug 2013
2 answers
167 views
Version: 2013.2.612.20
I noticed a strange behavior when trying to change the column width.
Just copy and paste the code below to get the same environment.

Hold the line between columns and move the cursor to the left a little. The first column will reduce its width inappropriately. The cursor remains in the correct position.

The result can be seen in the attached files before.png and after.png.

private void Form1_Load(object sender, EventArgs e)
{
GridViewTextBoxColumn col1 = new GridViewTextBoxColumn();
col1.HeaderText = "Stretch1";
    col1.MinWidth = 100;
    col1.Width = 200;
 
    GridViewTextBoxColumn col2 = new GridViewTextBoxColumn();
    col2.HeaderText = "Stretch2";
    col2.MinWidth = 100;
    col2.Width = 200;
 
    GridViewTextBoxColumn col3 = new GridViewTextBoxColumn();
    col3.HeaderText = "Static";
    col3.MaxWidth = 200;
    col3.MinWidth = 200;
    col3.Width = 200;
 
Telerik.WinControls.UI.RadGridView grid = new RadGridView();
grid.Location = new Point(0, 0);
grid.Size = new System.Drawing.Size(600, 100);
    grid.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
            
    grid.MasterTemplate.Columns.AddRange(new GridViewDataColumn[] { col1, col2, col3});
 
    Controls.Add(grid);
}
konrad
Top achievements
Rank 1
 answered on 07 Aug 2013
1 answer
199 views
Dear all members and administrators as well,

I've downloaded the trial edition of the new Telerik, I've browsed and tried some new function as well.

Well, the question is simple, I've run the example of the RadPanorama, and when I try to click the Controls Tile such as GridView etc, I couldn't figure out how to do that exactly and properly.

Maybe, the RadPanel could be the solution, however, there are will be some kind of lack of performances, etc.

Can anyone here explain how to show the other form at the same radPanorama. In this study case I want to call other forms. Simple.

Thank you very much for help in advance. GBU
George
Telerik team
 answered on 07 Aug 2013
3 answers
1.1K+ views
Hey Guys,

I've been trying to alter the font of the column header text. (Bold it if the column is required) based on a flag in the data.  This must be done once the data has been loaded, and the requiredness of fields will change.

So 2 questions.....
1) Is there a way to set the Header font (bold/not bold) programmatically?
2) What event should I be using to capture databinding?
   The obvious DataBindingComplete event is not firing when I execute this code: DataGridView1.DataSource = list;
    BindingContextChanged is fired multiple times, but when DataGridView1.DataSource is inspected and is always null...
     So I'm a bit confused about the events...

thanks!!
Paul
Telerik team
 answered on 07 Aug 2013
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?