Telerik Forums
UI for WinForms Forum
16 answers
1.1K+ views
I'm trying to do something similar to Richard Slate's Row Details Grid, only instead of trying to use a "details" column, I'd like to be able to format the "Details" space with info more like the RadControls example "Custom Views". Is this possible? Basically formatted like the Custom View example, but shown under the row like the Details Grid example.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Feb 2017
1 answer
328 views

Hi I am a new user of telerik,

I am currentlying using the grid view extension make by Richard http://www.telerik.com/forums/details-view-under-row-in-gridview

I have a radbutton which will delete a row of data after pressed. I have no issue with deleting a row of data in the master view. I just cannot get my head around with deleting a row of data in the child view. Secondly, I want a check box to appear next to each row both in master and child view. After each check box is checked and the delete button is pressed I would like the checked row to be delete. My data is loaded directly from a local Microsoft sql server

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Feb 2017
1 answer
199 views

This is for a tablet and I'm sizing things for fat fingers or that wand.  What property do I reference in order to make the drop down button wider (DropDownList)?  

(I'm open to a suggestion for a better approach - like a different control - for a touch screen where the user may need to select from a small list of choices.)

Thank you,

Gary

 

Dimitar
Telerik team
 answered on 28 Feb 2017
13 answers
346 views

Hi Telerik

We have been using RadGridView for ages. Some of our customers have approx 100.000 rows of customers displayed in the grid. We have always gotten good remarks because of the fast filtering in the grids (isLike filtering on Textboxcolumns), however, as of lately it has gotten much slower, even though we have not made changes in code.

Have you made any changes  in grid, that could cause it to slow down?

 

Should it not be lightning fast with 100.000 rows?

 

I have tried  implementing a delayed filtering, so that if the user types "Test" fast, it will only filter once. However, it is giving me a lot of headache - have you seen any examples of people accomplishing this?

Dimitar
Telerik team
 answered on 28 Feb 2017
2 answers
112 views

Hi.

Is it possible to change the circle gauge yo make it ovaladed?

Hristo
Telerik team
 answered on 27 Feb 2017
6 answers
196 views

In this application we are running around the warehouse and picking items for an order.  The user gets to select any row in the gridview of items either by clicking that row or entering a search field and the program will find a row from that..

What I want to do is this:

1. When a row is selected, show only that row and show a panel where the user takes an action.

2. When the user completes the action for that row, restore the gridview to showing all of the rows and make that panel disappear.

How I think of this is:

  • A split container with two panels (and 0 for the splitter width).  One panel contains the gridview.  The other panel contains the controls for the user to execute the action for the selected gridview row.
  • When a row is selected, that panel and gridview will decrease their size to contain only the header row and the selected row.  The other panel will expand into the vacated space in the split container.  Reverse this when the action for that row is completed.  (That other panel won't be visible.)
  • When the row is selected, no scrolling, no touching, nothing.  It's there to show you what you have selected to work on.  That's all.

I'm doing fine with collapsing the panels in the split container.  I'd like help with

  1. Either setting the current row as the first visible row or making the current row the only visible row (other suggestions are welcome).
  2. Hiding the scroll bar and other things to keep the user out of the gridview when a row has been selected.
  3. Calculating the height to set the gridview so that it is tall enough to show the header and one row (I think I've been there before).

Thank you.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Feb 2017
1 answer
325 views

   Hi Telerik Team,

i begin to developing a telerik UI by using c#. i added a CommandBarDropDownButton for language selection (English & Arabic). When i set currentculture as arabic and RightToLeft to Yes, CommandBarDropDownButton items, are onthe right side of screen, show up shifted position, in a wrong position. i attached the screenshots for clarifying problem. 

Here is my code:

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Globalization;
using System.Threading;
using System.Windows.Forms;
using Telerik.WinControls;
using Telerik.WinControls.UI;
  
namespace TelerikWinFormsApp2
{
    public partial class Form1 : RadForm
    {
        private static RightToLeft right2Left = RightToLeft.No;
        private readonly object _locker = new object();
  
        public static CultureInfo CurrentCulture { get; set; }
  
        private RightToLeft Right2Left
        {
            get { return right2Left; }
            set {
                if (!(right2Left == value))
                {
                    lock(_locker){
                        right2Left = value;
                        CultureChangeFunc();
                    }
                }
            }
        }
  
        public Form1()
        {
            InitializeComponent();
        }
  
        private void Form1_Load(object sender, EventArgs e)
        {
            InitializeToolbar();
        }
  
        private void InitializeToolbar()
        {
            bseLayout.Grip.Visibility = ElementVisibility.Collapsed;
            bseActions1.Grip.Visibility = ElementVisibility.Collapsed;
            bseLanguage.Grip.Visibility = ElementVisibility.Collapsed;
  
            bseLanguage.DesiredLocation = new PointF(10000, 0);
  
            this.commandBarDropDownButton2.Image = Image.FromFile("icons\\32x32\\icon_list.png");
            this.commandBarDropDownButton3.Image = Image.FromFile("icons\\32x32\\icon_settings.png");
            this.commandBarDropDownButton4.Image = Image.FromFile("icons\\32x32\\icon_lang.png");
            this.commandBarButton7.Image = Image.FromFile("icons\\32x32\\icon_info.png");
            this.commandBarButton4.Image = Image.FromFile("icons\\32x32\\icon_help.png");
  
        }
  
        private void rmiLanguage_Click(object sender, EventArgs e)
        {
            var selectedItem = (RadMenuItem)sender;
            if (selectedItem.Tag == null)
                return;
  
            try
            {
                if (selectedItem.Tag.Equals("rmiEnglish"))
                {
                    CurrentCulture = new CultureInfo("en-US");
                    Right2Left = RightToLeft.No;
                }
                else if (selectedItem.Tag.Equals("rmiArabic"))
                {
                    CurrentCulture = new CultureInfo("ar-SA");
                    Right2Left = RightToLeft.Yes;
                }
                else
                {
                    return;
                }                  
            }
            catch (Exception ex)
            {
                MessageBox.Show("Change Language Error : "+ ex.Message.ToString());
            }
        }
  
        private void CultureChangeFunc()
        {
            try
            {
                Thread.CurrentThread.CurrentCulture = CurrentCulture;
                Thread.CurrentThread.CurrentUICulture = CurrentCulture;
                RightToLeft = Thread.CurrentThread.CurrentCulture.TextInfo.IsRightToLeft ? RightToLeft.Yes : RightToLeft.No;
            }
            catch (Exception ex)
            {
                MessageBox.Show("Change Language Error : ", ex.Message.ToString());
            }
        }
  
  
  
    }
}

 

Best Regards..

 

Dimitar
Telerik team
 answered on 27 Feb 2017
2 answers
232 views

Hi,

I would like to add a Dropdown in one of my Filtercells. Every entry in the Column should be displayed in this dropdown so the user can choose just elements which are already in the column of the grid. Is there a property to achieve this behaviour or do I have to create a Customcontrol to handle this?


Could you please send me a simple example how to solve this task?

 

Sincerely,

Dominik Zöbl

Dominik
Top achievements
Rank 1
 answered on 27 Feb 2017
1 answer
161 views

here is the scenario..  

I am trying to create some wrapper classes for controls that display text such as labels, etc.  What I am seeing is that I am copy and pasting the same font override function for each control.  

 

Is there a recommended way of overriding the RadControl.Font and utilize that?  The problem, is the wrapper class can only have a single base class..  MyRadLabel : RadLabel

 

any pointers would be nice.  I hope I am just missing something small that I am not thinking of..

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Feb 2017
2 answers
273 views

How can I center image and text of RadMenuItem when AutoSize is false? See attached screenshot.

 

Thanks..

Renbert
Top achievements
Rank 2
 answered on 24 Feb 2017
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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
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
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?