Telerik Forums
UI for WinForms Forum
1 answer
183 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
533 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
176 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
373 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
76 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
88 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
223 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
772 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
1 answer
84 views
Hi,

We use a gridview with a gridviewrelation.

The Case:

We have a list of projects, for each project we have employees working on a specified project.
For each week they have to put amount of hour(s), W1 -2014, etc... (see picture)
We have also a column W1Description2014 etc... we want to add this below the column of W1-2014, etc...

See picture for more information.

This is de code we use to add the grid relation:

Dim MyProjectRelation As New GridViewRelation(MyBase.SearchGrid.MasterTemplate, template)
MyProjectRelation.RelationName = "ProjectRelations"
MyProjectRelation.ParentColumnNames.Add("projectnr")
MyProjectRelation.ChildColumnNames.Add("projectnr")

In telerik screenshot we see difrent styles, but we can't find this issue in code.

Do you have any solution for this issue ?

With friendly regards.











Dess | Tech Support Engineer, Principal
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)
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
Bronze
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
Bronze
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?