Telerik Forums
UI for WinForms Forum
3 answers
119 views
Hello,

I have a problem with a column filter. Please see the following code:
using System;
using System.Collections.Generic;
using System.Windows.Forms;
  
namespace GridTest1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
  
            List<Data> list = new List<Data>();
            list.Add(new Data() { Value = "A" });
            list.Add(new Data() { Value = "B" });
            list.Add(new Data() { Value = "C" });
            bindingSource1.DataSource = list;
        }
  
        private void btnChangeData_Click(object sender, EventArgs e)
        {
            List<Data> list = new List<Data>();
            list.Add(new Data() { Value = "A" });
            bindingSource1.DataSource = list;
        }
    }
  
    public class Data
    {
        public string Value { get; set; }
    }
}

The grid is bound to the BindingSource. The binding source is bound to a list. Initially a list contains 5 records. When I click the column filter, I see all 5 values there. Then I assign another list (with 3 records only) to the BindingSource's DataSource. The grid presents 3 rows. But when I click the column filter, it shows the previous 5 ones (please see the attached image).

This issue occurs in v.2011.1.11.315 and v.2011.1.11.427.

How should I "refresh" the filter in order to see the actual values only?

Thank you.
Svett
Telerik team
 answered on 14 Jul 2011
1 answer
149 views
Hello,
i want to change color in rows in grid, but i can't get RowsID by id of items in bingingsource.
Any idea ?
Stefan
Telerik team
 answered on 14 Jul 2011
5 answers
557 views
i have an app that has a RadWizard component on a tab.  the wizard deals with device interaction and connectivity.  on certain pages (panels) i need to check for certain states of the device.  dependent on the results of the state checks, i need to disable/enable the back/next/cancel buttons.  what i have set up is to "catch" the panel visibility changed event.  if the panel is visible, i do the checks, and possibly disable the next button - as well as other elements on the panel.  the other elements on the panel are disabled/enabled correctly, but the back/next/cancel buttons are still enabled.  i've stepped thru the debugger and verified that the Next Button is disabled, but it appears that there is a "higher" event that is re-enabling the button.enabled properties.  on some panels, i have actions that are controlled by "action" buttons (move, measure, set, etc.) and they disable/enable the buttons, and this works.

is the VisibilityChanged event the correct one for what i'm trying to do?  if not, how can i achieve this?

is this a bug for the control?

thanks,

pete.
Alexander
Telerik team
 answered on 14 Jul 2011
2 answers
132 views
Hi guys,

I have a unique problem, have no idea if it's caused by any settings in my project, I am using radScheduler on a form of my project which is a part of multi-project solution. I have tested radScheduler on an out of the solution project (a separate isolated project), it's working fine,

but within solution, when I drag and drop a scheduler control on my form, it doesn't initialize like other controls in form's designer

it appears abnormally as

Telerik.WinControls.UI.RadScheduler radScheduler1 = new Telerik.WinControls.UI.RadScheduler();

instead of the above, it should have been initialized as

this.radScheduler1 = new Telerik.WinControls.UI.RadScheduler();

neither it appears in form's class like other controls, for example, I have a Telerik pageview on the same form which appears as

private Telerik.WinControls.UI.RadPageViewPage myPageview;

but radScheduler has not been defined anywhere. Moreover, when I try to correct designer generated code, it changes it back again when I select the control on the form at design time, and neither it appears in intellisense window.

all other Telerik controls are working fine.
Ivan Todorov
Telerik team
 answered on 14 Jul 2011
1 answer
78 views
I'm trying to use "LoadFromXML" on RadChart with the following xml, but the XValue displays as 0, 1, 2... What am I missing?

          <RadChart DefaultType="Bar">
            <Series>
              <ChartSeries Type="Bar" Name="Fluxo de Caixa">
                <Items>
                  <ChartSeriesItem XValue="11/07/2011" YValue="64720.21"/>
                  <ChartSeriesItem XValue="15/07/2011" YValue="1916.23"/>
                  <ChartSeriesItem XValue="15/07/2011" YValue="9760.40"/>
                  <ChartSeriesItem XValue="15/07/2011" YValue="11900.57"/>
                  <ChartSeriesItem XValue="15/07/2011" YValue="14216.00"/>
                  <ChartSeriesItem XValue="20/07/2011" YValue="6006.40"/>
                  <ChartSeriesItem XValue="20/07/2011" YValue="7697.82"/>
                  <ChartSeriesItem XValue="20/07/2011" YValue="10511.20"/>
                  <ChartSeriesItem XValue="20/07/2011" YValue="11262.00"/>
                  <ChartSeriesItem XValue="20/07/2011" YValue="22524.00"/>
                  <ChartSeriesItem XValue="21/07/2011" YValue="7122.81"/>
                  <ChartSeriesItem XValue="25/07/2011" YValue="13327.50"/>
                  <ChartSeriesItem XValue="21/08/2011" YValue="7122.81"/>
                  <ChartSeriesItem XValue="21/09/2011" YValue="7122.81"/>
                  <ChartSeriesItem XValue="21/10/2011" YValue="7122.80"/>
                </Items>
              </ChartSeries>
            </Series>
          </RadChart>

Best regards!
Nikolay
Telerik team
 answered on 14 Jul 2011
3 answers
109 views
Hi,

in the RadControls for WPF Q2 2011 Demos on the right side there is a nice control that slides a little bit, when it get's the focus. Is this a control I can use or could you post an example code?

Thanks in advance

Greets Hans
Pana
Telerik team
 answered on 14 Jul 2011
0 answers
71 views
Hi,

In windows application i am using the Telerik controls for winforms.
In that a RadSplitButton has 2 events ArrowClick and ActionClick .

ArrowClick is fired when the arrow of the RadSplitButton is clicked .
ActionClik is fired when the RadSlitButton is clicked .This is working fine i saw it in a sample .



Biut my problem is i am not using a RadSplitButton instead i am using RadSplitButtonElement in a RadRibbionbar so now i dont have the Arrow Event and Action Event so how can i do it for RadSplitButtonElement .


Thanks
Divya


Divya
Top achievements
Rank 1
 asked on 14 Jul 2011
1 answer
160 views
Hi

I'm just evaluating the ribbon bar control, but what I'd like to do is not have a quick access toolbar, which I have changed the attribute value to collapsed, but the problem I have now is that the application menu button is wrongly positioned. (See Attached)

I've adjusted the offset to put it further up but the problem I have is that to click the button you still have to click where the button was previously and not the offset.

Is this a problem or is there a way around it?

Many Thanks

Paul

Boryana
Telerik team
 answered on 13 Jul 2011
1 answer
366 views
I have a RadGridView, I want to check for a new row.
Is there the IsNewRow properties  in RadGridView?

Svett
Telerik team
 answered on 13 Jul 2011
2 answers
111 views
Populating the timeline view from a Linq datasource and need to disable the deleting of an appointment using the Delete key

The appointments are not added individually so can't see where I would set .AllowDelete = False and implementing e.SuppressKeyPress doesn't seem to have any effect.

Any ideas how I can achieve this.

Thanks


MattL
Top achievements
Rank 1
 answered on 13 Jul 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)
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?