Solved

How to link two Calendar Views in Share Point?

Posted on 2014-12-30
1
165 Views
Last Modified: 2015-01-09
First of all I would like to express my gratitude to rawsteak for his help. Thank you!

Now I am facing another problem. I added another Web Part and modified the view. But how can I link my lower Web Part that contains list view data to my upper Calendar. Right now it contains the events from beginning of this year till end of next, 2015. If I go to "Edit the current view" and manually enter time frame it will show the data I want to see: All events for December 2014. So I guess I have two questions:

1. Can I program the filter for a current Month?
2. If not, is there any way I can link lower and upper Views?

I would appreciate your help and advise.
0
Comment
Question by:Burzhuin
1 Comment
 
LVL 8

Accepted Solution

by:
Jayaraja Jayaraman earned 500 total points
ID: 40533951
SPWeb web = SPContext.Current.Web;
string[] monthViewUrls = { "url1", "url2", ... };
string currentMonthUrl = monthViewUrls[DateTime.Now.Month-1];
Response.Redirect(currentMonthUrl );
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is a fairly complicated script that will install the required prerequisites to install SCCM 2012 R2 on a server.  It was designed under the functional model in order to compartmentalize each step required, reducing the overall complexity.  The …
User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question