Telerik Forums
UI for WinForms Forum
2 answers
158 views
Hi,

I have the following

provider.ColumnGroupDescriptions.Add(new PropertyGroupDescription() { PropertyName = "DispatchDate", GroupComparer = new GroupNameComparer() });
provider.ColumnGroupDescriptions[0].SortOrder = Telerik.Pivot.Core.SortOrder.Ascending;

DispatchDate is a Datetime field.

So far so good.

But can I format the date field to read MM YY (May 14) in the column header?

I tried to change the DispatchDate to a string, but that messes up the sort, so if I could format the date field that would be great.

Thanks
Shaun.





Shaun
Top achievements
Rank 1
 answered on 19 Aug 2014
1 answer
110 views
Hi,

When creating a new solution with an empty RadForm, the initial memory usage is around 30-40MB.
Is there anyway to reduce this memory usage?

Thanks in advance.

~ Erez
Dimitar
Telerik team
 answered on 19 Aug 2014
2 answers
387 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
394 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
98 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
669 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
163 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
75 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.2K+ 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
183 views
Is it possible to have paging in RADLISTVIEW?
jayanthi
Top achievements
Rank 1
 asked 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
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
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
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?