Telerik Forums
UI for WinForms Forum
2 answers
377 views
Hello, I just wanted to know if there is any difference between the SelectedPageChanging and PageIndexChanging events.  I can't think of a single scenario where one would be used but not the other. 

Is there one that is suggested over the other? 

Is one deprecated but not the other? 

Thanks

PS, see attached screenshot - looks like some API Documentation may need some updating...
Stefan
Telerik team
 answered on 19 Aug 2014
5 answers
373 views
Dear Telerik Team

         see the screen dump
         how to set orange border of new RadButton disappear as old RadButton do.
because orange border will make theme of dialog look no perfect.

Regards
DiWu
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 19 Aug 2014
3 answers
92 views
Telerik Members:

How can I click date number to change to day view mode in month view mode?

Thank you.
Stefan
Telerik team
 answered on 19 Aug 2014
13 answers
655 views
Hello Telerik
today I saw CompositeFilterDescriptor in radgridview it is very amazing ,I have a question a bout it ,I want to use it in GridViewMultiComboBoxColumn so I wrote this code

private void GrdItm_CellBeginEdit(object sender, GridViewCellCancelEventArgs e)
        {
           if (GrdItm.CurrentColumn is GridViewMultiComboBoxColumn)
            {
                if (!isColumnAdded)
                {
                    isColumnAdded = true;
                    RadMultiColumnComboBoxElement editor = (RadMultiColumnComboBoxElement)GrdItm.ActiveEditor;

                    CompositeFilterDescriptor compositeFilter = new CompositeFilterDescriptor();
                    compositeFilter.FilterDescriptors.Add(new FilterDescriptor("Title", FilterOperator.Contains, string.Empty));
                    editor.AutoFilter = true;
               
                }
editor.EditorControl.FilterChanged += new GridViewCollectionChangedEventHandler(EditorControl_FilterChanged);
              }
          }

  void EditorControl_FilterChanged(object sender, GridViewCollectionChangedEventArgs e)
        {
        
                
                if (e.NewItems == null || e.NewItems.Count == 0 )//|| e.NewItems[0] is FilterDescriptor)
                {
                    return;
                }
                RadMultiColumnComboBoxElement editor = (RadMultiColumnComboBoxElement)GrdItm.ActiveEditor;
                editor.EditorControl.FilterChanged -= new GridViewCollectionChangedEventHandler(EditorControl_FilterChanged);
                CompositeFilterDescriptor MainCompos=e.NewItems[0] as CompositeFilterDescriptor;
                if (MainCompos.FilterDescriptors.Count > 0)
                {

                    FilterDescriptor desc = MainCompos.FilterDescriptors[0] as FilterDescriptor;

                    if (desc != null && desc.Operator == FilterOperator.Contains && desc.Value != null)
                    {
                        editor.EditorControl.FilterDescriptors.Clear();
                        string[] values = (desc.Value as string).Split();
                        CompositeFilterDescriptor compositeDescriptor = new CompositeFilterDescriptor();
                        compositeDescriptor.LogicalOperator = FilterLogicalOperator.And;
                        for (int i = 0; i < values.Length; i++)
                        {
                            FilterDescriptor newDescriptor = new FilterDescriptor(desc.PropertyName, desc.Operator, values[i]);
                            compositeDescriptor.FilterDescriptors.Add(newDescriptor);
                        }

                        editor.EditorControl.FilterDescriptors.Add(compositeDescriptor);
                    }
                }
                editor.EditorControl.FilterChanged += new GridViewCollectionChangedEventHandler(EditorControl_FilterChanged);
       
        }

now I need to Know is that a correct way or is there a better way to do this kind of filtering on GridViewMultiComboBoxColumn?
I am waitting eagerly for your response.
Dimitar
Telerik team
 answered on 18 Aug 2014
2 answers
153 views
I have the results of a WCF class feeding as the data binding source into my RadListView Details type list.

[code]
List<WcfService.MyClass> _MyClassList = _WcfClient.MyResults_List(ID);
rlstResults.DataSource = _RandomPrizeRecipientList;
rlstResults.ValueMember = "ResultID";
rlstResults.DisplayMember = "FirstName";
[/code]

My fields are in a specific order in the class, but it appears to take them all and alphabetize them in the list.
The ROWS are sorting by the specified ValueMember, but the COLUMNS shift into alphabetical order.

Instead of:

ResultID  >  FirstName  >  LastName  >  Address  >  Contact

They show up in the list as:

Address  >  Contact  > FirstName  >  LastName  >  ResultID

How can I make the data view keep the columns in the original order, or alternatively set them manually according to the column names from the class?







Stefan
Telerik team
 answered on 18 Aug 2014
1 answer
67 views
Hi I want to selected any row to get where customerID value. 
            foreach (GridDataItem item in radGridView1.SelectedItems)
            {
                Response.Write(item["CustomerID"].Text.ToString()); 
                string custoID = item.GetDataKeyValue("CustomerID");
            }

'Telerik.WinControls.UI.RadGridView' does not contain a definition for 'SelectedItems' .....
Stefan
Telerik team
 answered on 18 Aug 2014
18 answers
2.1K+ views
Hi,

the MS DataGridView supports readonly on cell-level. I haven't found the same property on the RadGridView. Is it possible?

Ben
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Aug 2014
0 answers
178 views
Is it possible to have paging in RADLISTVIEW?
jayanthi
Top achievements
Rank 1
 asked on 15 Aug 2014
1 answer
106 views
Hi,

We are currently evaluating the trial version of Winforms GridView and we see that its binding only 300 columns.
Is this a restriction with trial version only?


Thanks
Nisha Suvarna
Lance | Senior Manager Technical Support
Telerik team
 answered on 15 Aug 2014
2 answers
113 views
hello everybody , i'm new user of telerik winforms 2012 Q2 and when i want use chartView i cant find PropertyBuilder , and i want to connect my chartView type pie with my request ==> select count(*) as expr1,candidat.sourcing from candidat, sourcing where candidat.sourcing=sourcing.sourcing group by candidat.sourcing.
 i wana show the percentage nombre of candidat per her sourcing . so how can i do that because i'm so begginer and i dont know how to do it . and thank's for help :)
Free_Mind
Top achievements
Rank 1
 answered on 15 Aug 2014
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
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
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
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
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?