Telerik Forums
UI for WinForms Forum
2 answers
89 views
Is there any way to manipulate the required speed needed for the RadDropDownListEditor to auto select an item while the user is typing in the text?  We are using the DropDownList style and the auto select works when typing over a certain speed (maybe 50 WPM?).  Otherwise the auto select stops searching after the first or second character typed.
Adam
Top achievements
Rank 2
 answered on 29 Jul 2013
3 answers
152 views
Is there a way to group by date then resources.
So if I have four resources each day will have four resources.

Thank you,
Troy
Dimitar
Telerik team
 answered on 29 Jul 2013
3 answers
142 views
1)in the property  PivotGroupNode Implement a name of field associate.

2)when you double click a cell in RadPivotGrid, to get all the data used to calculate this value, and populate a new RadGridView with this data.

 

Paul
Telerik team
 answered on 29 Jul 2013
2 answers
137 views
I've trawled the web and have exhausted troubleshooting. Despite others asking very similar questions nothing seems to allow me edit a Checkbox in a Template Column.

I've attached a screenshot and what I'm doing is possible as its shown here: http://www.telerik.com/help/winforms/gridview-hierarchical-grid-tutorial-binding-to-hierarchical-data.html

  protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            this.radGridView1.BeginUpdate();
            LoadData();
            this.radGridView1.UseScrollbarsInHierarchy = true;
            this.radGridView1.AutoExpandGroups = true;
            this.radGridView1.ShowGroupPanel = false;
            this.radGridView1.AllowAddNewRow = false;
            this.radGridView1.EndUpdate();
        }

 private void LoadData()
        {
            latestRevisions = DAL.GetTemplatesLatestRevisionsBySearchCrtieria(...);
            pastRevisions = DAL.GetTemplatesPastRevisionsBySearchCrtieria(...);

            latestRevisionsBindingSource.DataSource = latestRevisions;
            pastRevisionsBindingSource.DataSource = pastRevisions;

            radGridView1.DataSource = latestRevisionsBindingSource;

            radGridView1.MasterGridViewTemplate.Columns["Name"].Width = 150; 
            radGridView1.MasterGridViewTemplate.Columns["TemplateID"].IsVisible = false;
            radGridView1.MasterGridViewTemplate.Columns["ParentTemplateID"].IsVisible = false;
            radGridView1.MasterGridViewTemplate.Columns["Description"].Width = radGridView1.Width - twoHundred;
            radGridView1.MasterGridViewTemplate.Columns["ImagePreview"].IsVisible = false;

            foreach (GridViewDataColumn column in this.radGridView1.Columns)
            {
                column.ReadOnly = (column.Name != "Compare");
            }

            LoadDetailsTable();
        }

        void LoadDetailsTable()
        {
            GridViewTemplate template = new GridViewTemplate();
            template.Caption = "Latest Revisions";
            template.DataSource = pastRevisions;
            template.AllowRowResize = false;
            template.ShowColumnHeaders = false;
            template.Columns["ImagePreview"].Width = 100;
            template.ReadOnly = true;

            template.Columns["Description"].Width = 245;
            template.Columns["Description"].DisableHTMLRendering = false;

            template.Columns["Compare"].Width = 60;
            template.Columns["Compare"].ReadOnly = false;   //<-- Read-Only is false!!!

            this.radGridView1.Templates.Insert(0, template);
            
            GridViewRelation relation = new GridViewRelation(this.radGridView1.MasterTemplate);
            relation.ChildTemplate = template;
            relation.ParentColumnNames.Add("TemplateID");
            relation.ChildColumnNames.Add("ParentTemplateID");
            this.radGridView1.Relations.Add(relation);

            HtmlViewDefinition viewDef = new HtmlViewDefinition();
            viewDef.RowTemplate.Rows.Add(new RowDefinition());
            viewDef.RowTemplate.Rows.Add(new RowDefinition());

            viewDef.RowTemplate.Rows[0].Cells.Add(new CellDefinition("ImagePreview", 0, 1, 2));
            viewDef.RowTemplate.Rows[0].Cells.Add(new CellDefinition("Description", 0, 1, 2));
            viewDef.RowTemplate.Rows[0].Cells.Add(new CellDefinition("Compare", 0, 1, 2));
            template.ViewDefinition = viewDef;
        }

private void radGridView1_SelectionChanged(object sender, EventArgs e)
        {
            if (prevRow != null)
                prevRow.Cells["Compare"].Value = false;
            prevRow = this.radGridView1.SelectedRows[0];
            this.radGridView1.Columns["Compare"].ReadOnly = false;
            this.radGridView1.SelectedRows[0].Cells["Compare"].ReadOnly = false;
            this.radGridView1.SelectedRows[0].Cells["Compare"].Value = true;         /<- Throws an Error "Column 'Compare' is read only.!!!
        }

If anyone could tell me how to fix this it would be much appreciated. I've spent two days on this now.
George
Telerik team
 answered on 26 Jul 2013
7 answers
412 views
Hello,

I'd like to share with community a sample code that Telerik Support has send me to show the labels of each pie value.

I can't find nothing like it the RadChartView documentation. So, if someone will search for it ,  may use it.

Imports Telerik.WinControls.UI
Imports Telerik.Charting

Public Class Form1
Public Sub New()
InitializeComponent()
Dim table As New DataTable()
table.Columns.Add(
"Name")
table.Columns.Add(
"Value", GetType(Integer))
table.Rows.Add(
"Car", 100)
table.Rows.Add(
"Bicycle", 30)
table.Rows.Add(
"Truck", 53)
Dim series As New PieSeries()
series.Range =
New AngleRange(270, 360)
series.ValueMember =
"Value"
series.DataSource = table
series.ShowLabels =
True
Me.RadChartView1.AreaType = ChartAreaType.Pie
Me.RadChartView1.Series.Add(series)
Me.RadChartView1.ShowLegend = True
End
Sub

Protected
Overrides Sub OnLoad(e As EventArgs)
MyBase.OnLoad(e)
For
Each item As LegendItem In Me.RadChartView1.ChartElement.LegendElement.Provider.LegendInfos
Dim pointElement As PiePointElement = DirectCast(item.Element, PiePointElement)
Dim row As DataRowView = DirectCast(pointElement.DataPoint.DataItem, DataRowView)
item.Title = row(
"Name").ToString()
Next
End
Sub
End Class

Best regards
Ivan Petrov
Telerik team
 answered on 26 Jul 2013
1 answer
242 views
Hi, i need a control that looks like a button.  when clicked it drops down a list of items that have checkboxes next to them so the user can pick one or more.  I'm currently using the radsplitbutton.  it does most of that with the exception of the check box part.  can i add checkboxes to it?

thanks!
Dimitar
Telerik team
 answered on 26 Jul 2013
3 answers
240 views
I need to localize the text of the RadColorBox. Whats the right way to do this? Is there a LocalizationProvider?

Thanks,
Michael 
Stefan
Telerik team
 answered on 26 Jul 2013
3 answers
139 views
Hi, how can I automatically like the rows of the grid view have
Stefan
Telerik team
 answered on 26 Jul 2013
4 answers
399 views
Hi,
I have 2 questions

1-
   How do i make the grid view resize to fit the form size when click on the maximize   i.e something like width = 100%

2- How do I create a custom Context menu from a gridview?
 
Thanks
Stefan
Telerik team
 answered on 26 Jul 2013
5 answers
1.3K+ views
Looking for a simple way to turn off the border drawing for the RadTextBox; since the control is based on the Microsoft Textbox I expected there to be a BorderStyle property but there isn't, making a composite control and the looking at using the RadTextBox on the control to take advantage of some of the AutoCompleteXXX properties. Any help how to turn off the border wonder be appreciated.

Thank you in advance.
Stefan
Telerik team
 answered on 26 Jul 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)
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?