Telerik Forums
UI for WinForms Forum
9 answers
513 views
I'm using the RadUpload control from the Silverlight toolkit along with the RadUploadHandler on the server to upload files from my browser app.  I'd like to do the same thing from a WinForm using the same RadUploadHandler.  Is there a WinForm version of the RadUpload control that I can use?

Thanks
Peter
Telerik team
 answered on 29 Apr 2013
5 answers
148 views
Using 2013 Q1 controls.  I have items in the suggestion list for an AutoCompleteBox that have spaces (similar to the example in your documentation that uses first and last names).  The AutoCompleteBox ignores spaces typed in the textbox.  I can paste a partial value with spaces into the text box and the suggestion list displays the correct matching entries.  The suggestion list contains thousands of items, so first word often does not provide a close enough match.

I saw that there is another question regarding the same issue.  In that thread, it is implied that the question was answered in another thread, but the hyperlink goes to an unrelated topic. I cannot find an answer to this question by browsing or searching the forum.
Ivan Petrov
Telerik team
 answered on 29 Apr 2013
3 answers
167 views
Hi,

I'm about to migrate from RadChart to ChartView.
Really like the clean design and as I think more .net like API of the new ChartView.
However, a couple of questions arise:

Pie Charts:

When I add PieData Points to a Series specifing value/name, I'd expect the name to be used in the legend by default. Using the forum I found a work-around, but what's the reasoning behind not displaying the name in the Legend?

foreach(LegendItem li in this.groupingChartView.ChartElement.LegendElement.Items)
{
   PiePointElement ppe = li.Element as PiePointElement;
   PieDataPoint pdp = ppe.DataPoint as PieDataPoint;
   li.Title = pdp.Name;
}

The Pies do not always seem to paint correctly in the center of the Pie

Bar Chart

Is there a way to use Timespan  Values on the Y Axis and format them correctly?
I have days on X Axis and Timespan on Y. Currently I display duration is in minutes, I would like to format the labels on the Y axes as "hh:mm",  Is that possible?

When I use a DateTimeCategoricalAxis for X, and there are no data points for a particular day, the day is left out. I worked around this by generating empty Datapoints with the Value 0, but that requires additional iteration over the data. Is there a more elegant way?

Is there a way to display bars for several series slightly overlapping on the same category?

I have attached the pictures of the same Graph in RadChart and ChartView. Currently the smaller area of bars in the chartview version gives a wrong impression.

For all Charts: "smart" Labels would help a lot.

Kind regards and Happy New Year everyone!

Erwin
Ivan Petrov
Telerik team
 answered on 29 Apr 2013
1 answer
258 views
Hi all,
I don't know how to bind data to comboboxes columns in gridview control.
I'm using this to bind data to grid view:
private void Form1_Load(object sender, EventArgs e)
{
            model = new DataModel.Entities();
            dataSource = new BindingSource();
 
            radGridView1.TableElement.BeginUpdate();
            dataSource.DataSource = model.Items.ToList();
            radGridView1.DataSource = dataSource;
            radGridView1.TableElement.EndUpdate();
}

Two of data field are foreign keys to another table. I would like to bind data from another table to my combo box editor.
To get data from database I'm using OpenAccess ORM for PostgreSQL.

Regards,
Maciek
Stefan
Telerik team
 answered on 29 Apr 2013
3 answers
194 views

Hello, 

I have a form with 4 grid controls on it, using office2010black theme. Each one is based on the one before it in a hierarchy mode but for work flow reasons I am not wanting to use a single grid. 

It's working beautifully so far but the only complaint is the user doesn't know which grid has the focus before using arrows or enter for navigation. If I could change the row selection colour or even just stick a coloured border round the grid that has focus that would be great. 

I tried changing the grid border in the grid's enter event but nothing changed I'm assuming as all the visual style examples I found in the forums seem to fire off the grid formatting event which by the time my user is clicking round the grids is long over. 

Is there something I can change after the form is loaded and the grids are filled with data to indicate which one has focus that will fire off when the user clicks on or tabs into a grid?
Paul
Telerik team
 answered on 29 Apr 2013
2 answers
839 views
Hello,

I would like to compose an aggregate user control and have it be Telerik theme-capable, etc, all those things. I am familiar with how to compose using the build-in UserControl, but is there an analog in the Telerik library? RadControl doesn't seem to be quite it, or there's no User Interface component.

Thank you...

Regards,

Michael Powell
Stefan
Telerik team
 answered on 29 Apr 2013
3 answers
186 views
how can I change the theme for just the current form at runtime and not the whole application 

This is for a dialog form that opens in front of the main form that has a different theme

ThemeResolutionService.ApplicationThemeName = ThemeName
 This changes the theme for the whole application not just the open dialog and the following seems to not work at all 

Private Sub ApplyTheme()
 
       Dim mytheme As New Telerik.WinControls.Themes.Office2010BlackTheme
 
       Me.ThemeClassName = "Telerik.WinControls.UI.RadForm"
       Me.ThemeName = mytheme.ThemeName
 
   End Sub

Anton
Telerik team
 answered on 26 Apr 2013
1 answer
135 views
In raddock, i open a form in new tab. Right click on tab and context menu opens. I want to know is it possible to add keyboard shortcuts for different options available in menu. For example, I want to add keyboard shortcut for New Vertical Tab Group.

PFA
Peter
Telerik team
 answered on 26 Apr 2013
1 answer
597 views
Hi, I am really struggling to cope with the object structure in GridView. I have a checkbox column which allows the user to tick to indicate that the row will be deleted when the whole grid is saved. I need this strikeout to occur immediately when the checkbox is ticked and thus have to use the RadGridView1_ValueChanged event. Trouble is that I just don't understand how I can access the font attributes of the cells on the current row and set the strikeout attribute. What is the difference between GridViewCellInfo and GridViewCellElement?

This is my VB code:

    Private Sub RadGridView1_ValueChanged(ByVal sender As Object, ByVal e As System.EventArgs) _
Handles RadGridView1.ValueChanged
        If RadGridView1.CurrentColumn.HeaderText = "Del" Then
            If CBool(RadGridView1.CurrentCell.Value) = True Then
                Dim rowInfo As GridViewRowInfo = RadGridView1.CurrentRow
                For Each cellInfo As GridViewCellInfo In rowInfo.Cells
                    cellInfo.font()  'Doesn't work!
                Next
            End If
        End If
    End Sub

All the examples show using a CellElement object returned by an event but the ValueChanged event does not return this kind of object!

I am really struggling with the power of these grids in VB.Net having been used to a simpler life in VB6!

Thanks
Ivan Petrov
Telerik team
 answered on 26 Apr 2013
1 answer
189 views
Hi,

I am using PivotGrid (Q1 2013 SP1) and I have some questions about it:

1) Is possible to translate "Grand Total" header text?
2) I am grouping table data using of DateTimeGroupDescription. Is possible to format date as dd.MM.yyyy (now it is Apr-22, but I want 22.04.2013) in group cell?
3) How can I react on user clicked on cell? I can not find some CellClick or DoubleCellClick event.
Peter
Telerik team
 answered on 25 Apr 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?