Telerik Forums
UI for WinForms Forum
5 answers
253 views
Hi,

I have GridView which is a flat structure allowing the user to group by most of the columns.

for e.g. i am trying to show the task list of the user where I have

Priority, Task Name, Task Desc, Source, Count as columns
High, Process A, Account:123, Mobile, 20 as row
High, Process A, Account 124, Web, 40 as row
Low.....
Med....

my questions are:
1. can we disqualify some of the columns to be used by groupby by the user.
2. When I group by priority column, I shoud get the count next to the group by column, I have enclosed the ping with the image and what I want (marked in red). I want to get rid of the count column in the display and the summary row.

any advice with sample program will of great help and thanks in advance.

Regards,
Khizar
Khizar Khan
Top achievements
Rank 1
 answered on 19 May 2010
5 answers
216 views
I cant get my custom appointment class to be related with my resources.
I follow the forum examples about custom appointment class.

In the form  I do the following:
public frmScheduler() 
        { 
            InitializeComponent(); 
 
            this.schedQuickTasks.AppointmentFactory = new QuickTaskFactory(); 
             
            this.schedQuickTasksBindingSource.EventProvider.AppointmentFactory = schedQuickTasks.AppointmentFactory;       
            #region QuickTask custom dialog mappings 
            AppointmentMappingInfo appointmentMappingInfo = schedQuickTasksBindingSource.EventProvider.Mapping as AppointmentMappingInfo; 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("ID""ID")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("ProjectID""Project_ID")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("Description""Description")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("TaskTypeID""TaskType_ID")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("CustomerDeadline""CustomerDeadline")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("OurDeadline""OurDeadline")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("UserID""User_ID")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("CustomerImportance""CustomerImportance")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("OurImportance""OurImportance")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("OrderForUser""OrderForUser")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("TimeEstimation""TimeEstimation")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("Comments""Comments")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("TaskStatus""Status")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("DateEntered""DateEntered")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("AssignerID""AssignerUser_ID")); 
            appointmentMappingInfo.Mappings.Add(new SchedulerMapping("Start""DateEntered")); 
             
            appointmentMappingInfo.ResourceId = "User_ID"
            #endregion 
            #region Resources custom mapping 
            ResourceMappingInfo resourceMappingInfo = new ResourceMappingInfo(); 
            resourceMappingInfo.Id = "User_ID"
            resourceMappingInfo.Name = "FullName"
            schedQuickTasksBindingSource.ResourceProvider.Mapping = resourceMappingInfo; 
            #endregion 
 
        } 

the Appointment class is the "QuickTask" and  the Users are the resources.
If I disable resource grouping the Appointments are displayed.If I enabled it,only the resources are shown.
Am I missing something?

Thank you very much for your time





Anastasios
Top achievements
Rank 1
 answered on 19 May 2010
1 answer
131 views
Hi,

I have a problem when I try to create pie chart. I have two series in my chart. Each series have data from January to December.  That is say when the series type is Bar, there are 12 labels on XAxis. It's correct. But when I try to change the type to Pie. The RadChart can only display two pies, each pie displays the value of the 12 months. That is not what I want...

My scenario is the pie chart can display 12 pies, each pie can display the value of the two series data of the month.

For example: I have two series "Series1" and "Series2", the value in May is "50" and "30". The pie chart should display 12 pies and in the fifth pie, it should display the percentage of 50 and 30.

Could anyone help me? Thank you very much.
Dwight
Telerik team
 answered on 19 May 2010
3 answers
95 views
Hi,

We have some list boxes with several thousand (some over 100,000) retuned records. Obviously this can be very slow to load all these items in a list box (and a straight list of this many items is pretty hard to navigiate!). What we would like is a sublist to return after an X numbers of chars have been typed and only the matching results returned.

Could you advise on how this could be acomplished.

Thanks
Victor
Telerik team
 answered on 18 May 2010
7 answers
195 views
Does an event who fires when an Appointment is created  exists? For example, when the Appointment Factory creates an appointment based in Database data.
My purpose is to calculate dynamical the start date of an appointment based on the end date.


Dobry Zranchev
Telerik team
 answered on 18 May 2010
1 answer
139 views
I know i saw this somewhere and now i can't find it.

I don't want to show the Description or the location on the appointment from the day view. 

I just want time, subject.

How can i change this?
Dobry Zranchev
Telerik team
 answered on 18 May 2010
1 answer
166 views
Hey you all, I'm having trouble displaying appointments in the scheduler !!! :( this is my code ...
I used the video and I'm doing exactly as its done in the video but mine doesn't work and I'm frustrated !!! :((
        private void BindToDataSet() 
        { 
            if (this.SDS == null) 
            { 
                this.SDS = new SchedulerDataDataSet(); 
                ClassesAdapter.Fill(SDS.Classes); 
                ClassroomsAdapter.Fill(SDS.Classrooms); 
                ClassClassroomAdapter.Fill(SDS.ClassClassroom); 
            } 
            SchedulerBindingDataSource datasourse = new SchedulerBindingDataSource(); 
            AppointmentMappingInfo appointmentMappingInfo = new AppointmentMappingInfo(); 
            appointmentMappingInfo.Start = "StartOfClass"
            appointmentMappingInfo.End = "EndOfClass"
            appointmentMappingInfo.Summary = "ClassName"
            appointmentMappingInfo.Description = "Description"
            appointmentMappingInfo.MasterEventId = "MasterEventID"
            appointmentMappingInfo.Location = "Location"
            appointmentMappingInfo.BackgroundId = "BackgroundID"
            appointmentMappingInfo.RecurrenceRule = "RecurrenceRule"
            appointmentMappingInfo.Resources = "FK_ClassClassroom_Classes"
            appointmentMappingInfo.ResourceId = "ClassroomID"
            datasourse.EventProvider.Mapping = appointmentMappingInfo
            datasourse.EventProvider.DataSource = SDS.Classes; 
 
            // create and assign resource mapping 
            ResourceMappingInfo resourceMappingInfo = new ResourceMappingInfo(); 
            resourceMappingInfo.Id = "ClassroomID"
            resourceMappingInfo.Name = "ClassroomName"
            datasourse.ResourceProvider.Mapping = resourceMappingInfo
            datasourse.ResourceProvider.DataSource = SDS.Classrooms; 
 
            radScheduler1.DataSource = datasourse
 
            radScheduler1.GetDayView().RulerStartScale = 8
            radScheduler1.FocusedDate = DateTime.Today; 
            radScheduler1.GetDayView().RulerEndScale = 22
            radScheduler1.GetDayView().ShowRuler = true
            radScheduler1.GetDayView().DayCount = 1
            radScheduler1.GroupType = GroupType.Resource; 
            radScheduler1.ActiveView.ResourcesPerView = 5
 
        } 



Dobry Zranchev
Telerik team
 answered on 18 May 2010
5 answers
252 views

Can Not install package RadControlsWinforms_Q3_2006_SP1_trial.exe Mistake 1335

Peter
Telerik team
 answered on 18 May 2010
1 answer
132 views
Why do I have to every time select 'Edit' from the context menu for filter cell, in order to input a value into filter cell?
I have 'EnableFiltering' property set to true for both radGridView1 and radGridView1.MasterGridTemplate.
Jack
Telerik team
 answered on 18 May 2010
1 answer
278 views

I have a GridViewTextBoxColumn in RadGridView. The column honors CultureInfo during display, however when it goes into the edit mode, the RadBoxTextEditor inside the cell, doesn't honor culture info. This is true with any column - GridViewTextBoxColumn or GridViewDecimalColumn.

We want the editor to show same culture info as the grid. How can set the editor to have same cultureinfo...

I am using following during grid intialization but it is not working.

private void radGridAdjustments_Initialized(object sender, EventArgs e)

 

 {

 

 

radGridAdjustments.Columns.Add(

 

 

new GridViewTextBoxColumn("AdjAmount"));

radGridAdjustments.Columns[

"AdjAmount"].FieldName = "AdjAmount";
radGridAdjustments.Columns["AdjAmount"]).FormatInfo = CultureInfo.CurrentCulture

 

radGridAdjustments.Columns["AdjAmount"].FormatString = "{0:c}";

radGridAdjustments.Columns[

"AdjAmount"]).FormatInfo.NumberFormat.CurrencyDecimalDigits = 2;
}

Jack
Telerik team
 answered on 18 May 2010
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?