Telerik Forums
UI for WinForms Forum
9 answers
540 views
Hey there, having a performance issue when grouping is enabled. I do not believe it is the grouping logic, but perhaps a drawing issue. I have about 1800 items of 10 columns that are sorted and grouped (about 12 groups). When grouping is off, it runs very fast. With grouping on, it is painfully slow reacting to commands and changes in the bindinglist. However... if I keep most groups collapsed it runs fast again, which is what leads me to believe it may be redrawing (formatting, etc.) rows that are not visible to the user.

For now I will default the groups to collapsed, but would love some feedback on handling this performance issue when all groups are opened. I can only imagine a user with 5000+ items.

Thanks!
Brandon
Top achievements
Rank 1
 answered on 10 Jan 2011
5 answers
176 views
I had a radform with breeze extended theme. The I added a ribbonbar and it asked me to activate the radribbonbarform behaviour. But it told me that if i deleted the control it would reverse the automatically.

Now, I deleted the ribbonbar but the theme in the form and in all the other controls don't show the style ("breeze extended"). What can i do about it?

thanks a lot
Richard Slade
Top achievements
Rank 2
 answered on 10 Jan 2011
8 answers
171 views
Hi there. 

A few days ago, I upgraded from version 2010.3.1109 of the Windows Forms controls to version 2010.3.1215 (SP1). This was done to fix an issue with the RadButton.

However, now my sort descriptors I have added to a RadGridView are not being respected. Below is the code I am using which was working before the upgrade. 

private void sortGrid()
        {
            int sortOrder = byBradFordRadioButton.ToggleState == Telerik.WinControls.Enumerations.ToggleState.On ? 0 : 1;
            dataGrid.SortDescriptors.Clear();
 
            if ( sortOrder == 0 )
            {
                dataGrid.SortDescriptors.Add(new SortDescriptor("Bradford Factor", ListSortDirection.Descending));
 
                // select the first row
                dataGrid.setSelectedRowIndex(0);
            }
            else
            {
                dataGrid.SortDescriptors.Add(new SortDescriptor("Employee", ListSortDirection.Ascending));
            }
        }

Any clues on a workaround for this?
Richard Slade
Top achievements
Rank 2
 answered on 10 Jan 2011
1 answer
120 views
hi team,

After this event what is the next sequence of events fired.

    serviceDragDrop.PreviewDockPosition += new DragDropDockPositionEventHandler(serviceDragDrop_PreviewDockPosition);

For me the active document changed event does not fire sometime.

Thanks
suresh.
Julian Benkov
Telerik team
 answered on 10 Jan 2011
3 answers
118 views
Hi,
I am using a trail version.

I try to add a WaitingBar to a StatusStrip. I use following code to archive this :

            waitingBar = new RadWaitingBar();
            waitingBar.BeginInit();
            Size waitingBarSize = new Size(this.radLabelElement2.Size.Width, this.radLabelElement2.Size.Height);
            waitingBar.MinimumSize = waitingBarSize;
            waitingBar.MaximumSize = waitingBarSize;
            waitingBar.EndInit();
            host = new RadHostItem(waitingBar);
            this.radLabelElement2.Margin = new Padding(0);
            this.radLabelElement2.Children.Add(host);

I just add a radLabel to the StatusStrip named radLabelElement2 and it worked but the appearence look a little bit strange :

http://h-4.abload.de/img/unbenannt1oi3.png

I use the Desert Theme but the WaitingBar got a white border. I want is transparant. How can I archive this ?

Thanks
Dieter
Top achievements
Rank 1
 answered on 10 Jan 2011
2 answers
163 views
Hi,

I was using Q22009 version of Telerik control before in my project and everything was working fine. Few days back I downloaded latest version and replaced my existing refrences of telerik with new refrences .i.e. 2010.3.10.1109. All other controls are working fine but I am getting errors in gridview controls. I used new gridview in another sample project and observed that there is much difference in properties of old gridview and new gridview.

I used new and it was working fine also but as I said there are changes. So what I gues from this, I have to change all my grids now. But I have so many grids in my project and it require lot of time to change them now. I wanna to ask that is there any short way to make this chage.

Please recommmend me the easy and good solution to upgrades my controls with the latest version of Telerik.

Regards,

Ahmed Almousa
Jack
Telerik team
 answered on 10 Jan 2011
9 answers
806 views
The standard listbox supports multicolumn.  Is this soemthing the RadListbox will support?
Stefan
Telerik team
 answered on 10 Jan 2011
1 answer
531 views
Hi there....

I tried to select value from editor control then pass that to a textbox...
i'm already tried this from documentation:

    Dim test As String
    test = String.Format("Row changed, current Name = {0}", RadMultiColumnComboBox1.EditorControl.Rows(RadMultiColumnComboBox1.SelectedIndex).Cells("ContactName").Value)
textbox1.text = test

that code return me an error like this:

"Object reference not set to an instance of an object."

What should i do??

Jack
Telerik team
 answered on 10 Jan 2011
5 answers
216 views
Hello, I've got a problem with the grid position
In some specific case, the rows position in the RadGridView are too high.
So when the scroll bar is at the top, you are missing some rows
And when you are at the bottom, you have empty space.

So this happen when I call BeginUpdate();  EndUpdate(); while I'm scrolling.
And only scrolling with the left click (no wheel)
Use the sample code and left clic on the scrollbar, go all the way down, and Voila.
Everything go back to normal if you use the wheel all the way to the Top. But it's not acceptable for our user

const int CST_AUTO_EXPAND_START = 15; //Last %
bool m_alreadyScroll = false;
public Form1()
{
    InitializeComponent();
}
 
private void AddDatas()
{
    List<string> datas = new List<string>();
    for (int i = 0; i < 50; i++)
    {
        datas.Add("string" + i.ToString());
    }
        radGridView1.DataSource = datas;
}
 
public void ExpandPage()
{
    m_alreadyScroll = true;
    radGridView1.BeginUpdate();
    //Normally I would update my datasource here threw a background worker
    radGridView1.EndUpdate();           
}
 
private void Form1_Load(object sender, EventArgs e)
{
    radGridView1.GridElement.VScrollBar.ValueChanged += new EventHandler(VScrollBar_ValueChanged);
    AddDatas();
}
 
void VScrollBar_ValueChanged(object sender, EventArgs e)
{
    if (m_alreadyScroll)
        return;
    Telerik.WinControls.UI.RadScrollBarElement scrollBar = (Telerik.WinControls.UI.RadScrollBarElement)sender;
    int maxValue = scrollBar.Maximum - scrollBar.LargeChange;
    //if the scroll bar is in the bottom zone, we search for new data
    if (maxValue - maxValue * CST_AUTO_EXPAND_START / 100 < scrollBar.Value)
        ExpandPage();
}

Jack
Telerik team
 answered on 10 Jan 2011
7 answers
244 views
I am finding that if you have a sort on a colum and you edit that value so that it change position in the grid, that sometimes when you tab out of that field a completely different row is selected, and you are now editing the wrong cell.

I have been able to reproduce the behavior on the demo application - Gridview - Populate with data - select Dataset, sort by Postal Code 
 
Its doesnt happen every time on the demo, but it does on my application (Q3 2010)

ALastair
Richard Slade
Top achievements
Rank 2
 answered on 10 Jan 2011
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?