Telerik Forums
UI for WinForms Forum
3 answers
88 views
how can i bind 2fields of sql in combobox with id?
i want "name" and "family"  bind in comobox and id as value member
can i do this?
George
Telerik team
 answered on 20 Oct 2014
1 answer
173 views
I have a set of tabbed ToolWindows that are initially hidden when my application starts.  When I hover over one of them, and then select to pin the windows, is there a way to specify the width, and/or height, that I want them to be when pinned?

Thanks.

Dimitar
Telerik team
 answered on 20 Oct 2014
1 answer
524 views
Hi, I recently installed the Telerik Winform and using the RadGrid control. I am working with a database where the values get updated every second and I have to display the updated rows to RadGrid. Before that I was using the standard DataGrid but there was lot of flicking problem on assigning the data source again to refresh it.

RadGrid is better option but I am still facing the same issue with it. I am using background worker control with Async mode queries and on Timer control I am refreshing the data
1. Clearing the dataset
2. RadGrid datasource to Nothing
2. Filling the dataset again, 
4.and assigning the data source to RadGrid

All the above process causing the RadGrid to flick, can you please guide me to do this is better way. Example will be appreciated.

Thank you.
Dimitar
Telerik team
 answered on 20 Oct 2014
4 answers
167 views
Hi,

I want to achieve the same 'new row behavior' as the default windows gridview.
That means that if I edit a cell in the 'new row', the row is also added to the datasource and is a 'real' row instead of a 'new row'. Now this only can be achieved by pressing enter or set the focus to another row.

Best regards
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Oct 2014
4 answers
359 views
When I override Onclick on RadButton, the code first finishes the whole onclick method before firing base.OnClick.
For a standard Button, this works fine.
In the example below, the OnClick will first finish completely before the base.OnClick will be executed, but is should not.
How to fix this ?

public class QButton : RadButton
{
protected override void OnClick(EventArgs e)
{
var form = FindForm();
try
{
// set wait cursor 
form.Cursor = Cursors.WaitCursor;

// execute base click code
base.OnClick(e);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
finally
{
// set arrow cursor
form.Cursor = Cursors.Default;
}
}
}

Dimitar
Telerik team
 answered on 17 Oct 2014
3 answers
71 views
Hi,

I need to impelment the Y axis in center position of radchart programatically in C# winform.

Could you please advice the solution.
George
Telerik team
 answered on 17 Oct 2014
1 answer
77 views
Hi,

I have a project VS 20110 , with Telerik  . In my application , have radgrid. This Radgrid having some data. When I mouse out the data in the radgrid, it wiil disappear and if the the mouse over , the data  is diaplaying.The problem only in IE11 , But its working fine on Mozilla and IE8. How can I resolve this.?

Regards,
Dileep
Eyup
Telerik team
 answered on 17 Oct 2014
1 answer
206 views
Hello,

How can i add a rectangle (or a button) in the PDF viewer, only on the first page?

Thank you
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Oct 2014
2 answers
1.3K+ views
I have a RadListView, with a ViewType of Listview, and VerticalScrollBar set to AutoHide.  I simply want to get the width of the control including the scrollbar if visible.

I have tried ClientRectangle.Width - it did not take into account the scrollbar.width

So I tried checking the visibility of the scrollbar, if visible then subtract the scrollbar width.  Even when the scrollbar is visible, it always comes back as Visible=False.

Is this a bug or am I doing wrong something wrong? 
Dim iScroll As Integer = 0
 
'get scrollbar width if needed
If Me.lvwLoadForms.VerticalScroll.Visible = True Then iScroll = SystemInformation.VerticalScrollBarWidth
 
'resize items and group widths
With Me.RadListView1
    .GroupItemSize = New Size(.Width - iScroll, .GroupItemSize.Height)
    .ItemSize = New Size(.Width - .GroupIndent - iScroll, .ItemSize.Height)
End With

Brendan
Top achievements
Rank 1
 answered on 16 Oct 2014
5 answers
753 views
Hi,

I've already performed a search here, and I think I'm doing this right, but the fact is that my RadGridView does not show the image.
The only thing that the field shows is "System.Drawing.Bitmap"

'Loading image from file ( path in database )
     Dim img As Image = Image.FromFile(Reader("Imagem"))
 
'Attempt 1
     r.Cells(2).Value = img
 
'Attempt 2
'Writing to a memory stream
     Dim ms As New MemoryStream
     img.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg)
'passing the bytes to the value field
     r.Cells(2).Value = ms.ToArray
 
'Attempt 3
'Simply loading an image from resources to the value field
     r.Cells(2).Value = My.Resources.icon_fantasma_05


I know I'm doing something wrong, I just don't know what. These 3 attempts , are based / copy from examples given on the intermet..
I've attached a image, which shows what I'm getting at the GridView.

Could somebody please help?

Thank you very much !
Stefan
Telerik team
 answered on 16 Oct 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)
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
+? 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?