Telerik Forums
UI for WinForms Forum
1 answer
145 views
In case there are no explicit key tips specified, ribbon bar assigns numbers to commands/chunks. It works well if number of elements to be accessed by key tips is less than 10 at each hierarchical level. However, when there is more than 10, ribbon bar assigns those above 9 key tips 10, 11 and so on. But these are not accessible by user, as pressing "1" will trigger element with key tip 1.

Maybe making those key tips over 9 be "01", "02", "001" etc., as "0" doesn't trigger any element and pressing 0, then 1/2/... would clearly distinguish the command.
Dimitar Kapitanov
Telerik team
 answered on 04 Mar 2008
8 answers
297 views
I got the gridview datasource set to my collection of objects. One of the values is a decmal field. It show just fine (using the datavalueformat functions). But when I try to change the value and it updates against the object I get this error:

Header: RadGridView Default Error Dialog
Text: The follosing error has occured in the RadGridView: System.ArgumentException: Object of type 'System.String' connot be converted to type 'System.Decimal'. etc etc
Julian Benkov
Telerik team
 answered on 04 Mar 2008
1 answer
123 views
I'm using the following code to select rows in a control that I've derived from the RadGridView control that has already been populated with data:

public void SelectRows(DataTable tbl)  
{  
   foreach (DataRow row in tbl.Rows)  
      this.Rows[_KeyMappings[Convert.ToInt32(row[_KeyMember])]].IsSelected = true;  
   if (tbl.Rows.Count > 0)  
      this.CurrentRow = this.SelectedRows[0];  
   this.Update();  

_KeyMappings is a Dictionary<int, int> that maps primary key values to row indecies, and _KeyMember defines what the primary key is.  This works great, until the user tries to click on a row.  I'd LIKE the selected rows to clear out (since the user just picked a new one), as the code above is simply for setting the start up state of the control from data, but they don't.  When the user clicks a new row, any previously selected rows should become unselected.
Nordy
Top achievements
Rank 1
 answered on 03 Mar 2008
1 answer
211 views
I'm binding a grid to a collection and adding only the columns I wish the user to see from that collection in code.  I want to set the default filter for these columns to "Starts With".  I see that there is a Filter.Function property if I bring up the the column collection through the gridview control properties but how do I get at it to set in code? 

I would have assumed that I could have said something like:

MyGridView.Columns("EmployeeName").Filter...

but Filter isn't available there.

Sorry if the answer to this is obvious but I've only just begun learning to use the Telerik controls.

Thanks!
Doug Hamilton
Top achievements
Rank 1
 answered on 03 Mar 2008
2 answers
185 views
I have a DataTable with nested data (some row has a parent_id that should point to another row).  Is it possible to bind the data automatically to the TreeView DataSource?
Edward
Top achievements
Rank 1
 answered on 03 Mar 2008
0 answers
292 views
It is our greatest pleasure to announce the first beta of RadControls for WinForms Q1 2008!
 
This early Q1 2008 preview includes an appetizer of the anticipated major overhaul of RadGridView for WinForms as well as a new major version of RadMaskedEditBox and extended RTL language support. Q1 2008, when officially released in April, will also introduce a couple of new controls and several new versions of the current WinForms controls, which are not part of the current beta. 
RadGridView
Our extensive research on the new RadGridView version started back in October 2007 and focused exclusively on the needs of our customers, namely better usability and top-notch performance, and revealed several areas that needed our attention:
  • UI and painting improvements, based on the Telerik Presentation Framework (TPF)
  • Performance improvements in the data layer
  • Performance improvements in the data <-> UI communication
  • Stability and simpler API
The great news is that RadGridView’s performance has been optimized dramatically and the results are more than impressive*:
  • Based on the “high refresh” performance test with 13 rows x 13 columns, the new data layer offers outstanding refresh performance with flat data: 2-3 ms (vs. 460ms in Q3 2007!) 
  • Average time for loading 300,000 records of data: ~ 340 ms 
  • Average time for grouping 300,000 records: ~ 100 ms 

* Tested on a WinXP machine, 2GB RAM, Intel Core 2 @ 2.13GHz (just one core utilized during the tests)

Usability has also been greatly improved, and the API simplified.

There are several features which we left for a subsequent beta. We will suggest reviewing the list of Known Issues and the Backwards Compatibility log before using the RadGridView beta in production. You can download the docs below.

RadMaskedEditBox
The Q1 2008 beta also features a fully functional preview of the new major version of RadMaskedEditBox. It adds a new Numeric MaskType which allows the user to set culture-specific masks for inputting currency, decimal, and percent values.
RTL Language Support
We have added RTL Language support in RadDateTimePicker , RadPanelBar and RadScrollBar.
Download
You can test the Q1 2008 beta first-hand by downloading the trial version from here (right-click and select Save As):

 Build: RadControls for WinForms Q1 2008 Beta (trial) installer
 Docs: Known Issues and Backwards Comapatibility
 Help: RadControls_for_WinForms_Help_Q1_2008_Beta.zip
    (new versions of the help files will be posted as soon as they become available)

You can use the public WinForms Beta Forum to share your feedback and comments. Our developers will be addressing all questions posted.


The Telerik Team

Telerik Admin
Top achievements
Rank 1
Iron
 asked on 29 Feb 2008
2 answers
371 views
Hi

I am having difficulty binding a RibbonBar ComboBox to a DataTable. I have created the RibbonBar control at Design-Time but all other objects are created at Run-Time for various application reasons.

I am able to create a ribbonbar, tab, chunk and combobox objects. The radComboBoxElement does not display in my chunk unless i set the autosize property to False and manually set the size property. I set the datasource, displaymember and valuememeber properties to valid entries as I would a normal combobox, but at runtime the combobox does not populate.

I have recreated the problem in a sample project below. I would appreciate any assistance anyone is able to offer. I have searched the forums but cannot find any articles specific to this issue.

Regards

Brendan
Imports Telerik.WinControls  
Imports Telerik.WinControls.UI  
 
Public Class Form1  
 
Friend tab1 As New TabItem  
    Friend commandtab1 As New RadRibbonBarCommandTab  
    Friend chunk1 As New RadRibbonBarChunk  
    Friend combo1 As New RadComboBoxElement  
 
 
    Private Sub Form1_Load(ByVal sender As System.ObjectByVal e As System.EventArgs) Handles MyBase.Load  
 
        Dim conSQLConnection As New SqlClient.SqlConnection("DATA SOURCE=SQLSERVER.DOMAIN.COM;Integrated Security=SSPI;INITIAL CATALOG=Table1")  
        Dim adpTable1Adapter As New SqlClient.SqlDataAdapter("SELECT * FROM Table1", conSQLConnection)  
        Dim tblTable1 As New DataTable  
 
        conSQLConnection.Open()  
        adpExpressAdapter.Fill(tblExpressComputers)  
 
 
        tab1.Text = "Tab 1" 
        commandtab1.Tab = tab1  
        ribbon1.CommandTabs.Add(commandtab1)  
 
        chunk1.Text = "Chunk 1" 
        commandtab1.Items.Add(chunk1)  
 
        combo1.AutoSize = False 
        combo1.Size = New Drawing.Size(100, 20)  
        combo1.DataSource = tblTable1Computers  
        combo1.ValueMember = "computer_id" 
        combo1.DisplayMember = "name" 
        chunk1.Items.Add(combo1)  
 
 
 
    End Sub 



Brendan
Top achievements
Rank 1
 answered on 28 Feb 2008
2 answers
214 views
Hi,

I am writing an application where I restricting user access to certain components according to user's privilege by disabling or hiding the components. I am using ribbon bar and rad tab strip that contains different chunks and inside which there are rad button element. Now, the problem I am facing is when I hide buttons inside chuck or the whole chunk the chunks do not resize or relocate themselves. It shows empty spaces in between. AutoSize property is set to true and I have tried AutoSizeMode set to 'Auto' and 'WrapAroundChildren' but its still not working. Can you please help me out with this?

Thanks in advance for the help.

Par
Par
Top achievements
Rank 1
 answered on 28 Feb 2008
1 answer
162 views
I have a radgrid with binding list of objects:

motivoExlusionBindingSource.DataSource = Solicitud.MotivosExclusion.ListaMotivosTipo;

radGridView1.DataSource = motivoExlusionBindingSource;



in execution time:
i(like user) modify value from rad grid column,next i press save button of my form.

the column change was not visible in save button code.

if i after column change press another row or column then change is visible.
Julian Benkov
Telerik team
 answered on 28 Feb 2008
1 answer
122 views
Can screen tips only be added to ribbonbar elements ?

I see other controls like the radbuttons etc have a section under root element for screen tips but setting those doesn't seem to have any effect at all.

Is it possible to use the office 2007 style screen tips on other radcontrols ? If so which ? and why does it not work , following the same steps I followed
implementing them on the ribbonbar.

If not , will there be future support to use these tips across all the telerik controls ? (They far more desireable than the standard tooltips for sure)
Dimitar Kapitanov
Telerik team
 answered on 27 Feb 2008
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?