Page Index Toggle Pages: [1] 2 3  Send TopicPrint
Very Hot Topic (More than 25 Replies) customize view in monthly calendar (Read 28686 times)
vijayalakshmi
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Mar 17th, 2014
customize view in monthly calendar
Mar 17th, 2014 at 11:11am
Print Post  
Hello,
I am developing month view calendar using mind fusion scheduling. I need to know whether the visual in the attachment can be built using mind fusion and also i need to display data in the cell. Which control can be used for that purpose??
waiting for your reply..

Thanks,
Vijayalakshmi Smiley
  

mothview_analysis.PNG (Attachment deleted)
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: customize view in monthly calendar
Reply #1 - Mar 17th, 2014 at 1:48pm
Print Post  
Hi,

A sample application implementing the desired appearance can be downloaded from the link below:

https://mindfusion.eu/_samples/_sample_CustomMonthCalendar.zip

The sample uses custom cell presenters and various settings provided by the control in order to style the month cells. The selection, the current date and the view headers can be improved further.

Regards,
Meppy
  
Back to top
 
IP Logged
 
vijayalakshmi
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Mar 17th, 2014
Re: customize view in monthly calendar
Reply #2 - Mar 18th, 2014 at 6:35am
Print Post  
The calendar is working fine in my project.

Thanks Meppy Smiley
  
Back to top
 
IP Logged
 
vijayalakshmi
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Mar 17th, 2014
Re: customize view in monthly calendar
Reply #3 - Mar 19th, 2014 at 6:29am
Print Post  
Hi,
How can i customize scrolling to next month in the monthly calendar view attached above. Can u please help me on this.

Waiting for your response.

Thanks,
Vijayalakshmi Smiley
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: customize view in monthly calendar
Reply #4 - Mar 19th, 2014 at 7:53am
Print Post  
Hi,

Check out the updated version of the sample:

https://mindfusion.eu/_samples/_sample_CustomMonthCalendar2.zip

It adds a new custom content control, which hosts the existing calendar. The content control displays a header with navigation buttons and a title. You can easily extend it further by adding a search box and so on.

Regards,
Meppy
  
Back to top
 
IP Logged
 
vijayalakshmi
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Mar 17th, 2014
Re: customize view in monthly calendar
Reply #5 - Mar 20th, 2014 at 6:08am
Print Post  
Hello Meppy,
I have created a strongly typed dataset through which i have to fetch data to the cells in the month view outlook calendar.
Is there any possibility to fetch data through typed dataset instead of randomly generating the values.
Please let me know on this. Waiting for your reply.

Thanks,
Vijayalakshmi Smiley
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: customize view in monthly calendar
Reply #6 - Mar 20th, 2014 at 6:59am
Print Post  
Hi,

You can use the regular techniques for loading data from a dataset, then create CellInfo objects from this data and assign these objects to the CellInfo property of the individual presenters.

Regards,
Meppy
  
Back to top
 
IP Logged
 
vijayalakshmi
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Mar 17th, 2014
Re: customize view in monthly calendar
Reply #7 - Mar 21st, 2014 at 6:12am
Print Post  
Hello Meppy,
I tried to use cellinfo property for binding data from xml to dataset and further dataset to labels in the cells. i am getting some compilation errors .
Can u please provide sample on this.

Thanks,
Vijayalakshmi Smiley
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: customize view in monthly calendar
Reply #8 - Mar 21st, 2014 at 9:13am
Print Post  
Hi,

I am not able to give you a specific code because I don't have a database. But basically you need to fetch the data manually, then, inside the CellPresenterCreating event handler, create a CellInfo object, populate its Now, Refill, Change, Extend and Total properties with the respective values from the database, and assign this object to the CustomCellPresenter representing the cell. You don't need databinding unless you plan to dynamically update the source. But in this case you have to extend the CellInfo class to implement INotifyPropertyChanged interface or inherit from DependencyObject or the databinding will not work.

Are the compilation errors you are experiencing related to the Calendar control?

Regards,
Meppy
  
Back to top
 
IP Logged
 
vijayalakshmi
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Mar 17th, 2014
Re: customize view in monthly calendar
Reply #9 - Mar 24th, 2014 at 3:47am
Print Post  
Hi Meppy,
I have attached the xml file for attributes which has to be displayed in the cells of month view calendar.
Please help me bind these attribute values to the controls instead of randomly generating in the cell info property.
Waiting for your response.

Thanks,
Vijayalakshmi Smiley
  

info.txt (Attachment deleted)
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: customize view in monthly calendar
Reply #10 - Mar 24th, 2014 at 7:23am
Print Post  
Hi,

The sample below illustrates how to load the cell information from XML rather than generating it randomly.

https://mindfusion.eu/_samples/_sample_CustomMonthCalendar4.zip

Regards,
Meppy
  
Back to top
 
IP Logged
 
vijayalakshmi
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Mar 17th, 2014
Re: customize view in monthly calendar
Reply #11 - Mar 25th, 2014 at 4:22am
Print Post  
Hi Meppy,
Thanks For the sample code. It was very helpful for me since i am fresher to this. Smiley
  
Back to top
 
IP Logged
 
vijayalakshmi
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Mar 17th, 2014
Re: customize view in monthly calendar
Reply #12 - Mar 25th, 2014 at 10:00am
Print Post  
Hi Meppy,
I had used to load the values using xml linq code given to me.
In the attached file, i created one DataSet1 to which i wana load the data in xml and retrieve the values through dataset to the cells of month view.
I tried to add dataview property, it din't work. Can u please help me on this.

Thanks,
Vij
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: customize view in monthly calendar
Reply #13 - Mar 25th, 2014 at 10:36am
Print Post  
What do you mean by 'add dataview property'?

Regards,
Meppy
  
Back to top
 
IP Logged
 
vijayalakshmi
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 37
Joined: Mar 17th, 2014
Re: customize view in monthly calendar
Reply #14 - Mar 25th, 2014 at 11:35am
Print Post  
Hi Meppy,

Instead of writing xml code in .cs file, i want to load xml file attributes to dataset and retrieve the attributes from dataset to cells of month view property with the same conditions.
Please help me on this.

Waiting for your response. Smiley

Thanks,
Vij
« Last Edit: Mar 26th, 2014 at 3:29am by vijayalakshmi »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 
Send TopicPrint