I have a table that has all the meeting schedules. I need to display the schedules in a Calendar on an Aspx page.
The calendar should:
allow the users to export the meetings to outlook
display time in different time zone specified in a dropdown list box.
have security based on different users' level of access (a field in the user table)
display in day, week, month, year.
display meetings in different colors for different meeting committees.
I use C#, .net 2.0, jQuery. Is there any existing code/add on that has already done this?
Thanks,
Fullcalendar will provide some of that functionality. I had to implement a similar calendar, and I used FullCalendar to provide the base functionality.
Day Pilot (Light) is free and open source. It doesn't do everything you need but at least you can expand on it. http://www.daypilot.org/demo/Lite/
DevExpress' Scheduler control would do most of this for you. It's not free though. Demos can be found here.
Related
We have a shared excel file at work that we use as our shift planning roster, I would like to make a C# application that would query the file and depending on a selection, it would somehow send several entries/events to that particular users's outlook calendar.
I haven't had too much luck searching for how to do this, could someone please point me in the right direction? I can figure out the excel part but I have no idea how to make that work seamlessly with Outlook.
Thanks in advance :)
Use Application.CreateItem to create entries in the user's default Calendar. You can obtain their default Calendar by getting a Folder object reference from NameSpace.GetDefaultFolder.
See also: "Create an Appointment as a Meeting on the Calendar"
I currently have a client that needs to generate a report on the user's changes on the documents on every Document Library on every site collection.
I know I can use the Audit module OOB, but it doesn't show enough detailed data on the changes made on each item.
I was thinking about the detailed version history on the documents, but I would have to populate through every item of every list on every site collection. Something like this.
I was thinking about doing a custom page that combines both. I can filter the audit info of a particular user on a particular date range, and use the ItemId to get it's versioning details up to the audit date.
What do you think? could that be possible? is there a better way?
Thank you!
I recommend you develop a EventReceiver implemented in sitecollection level, so you can save "custom-made" any changes in elements of lists or libraries. So you can have your custom audit log in alternate database.
See also: http://msdn.microsoft.com/es-ec/library/ee231563.aspx
The EventReceiver is a good feature to keep high control in SharePoint Functionality.
Sorry for my bad english.
I have two tables Confirm_orders and Tentative Orders that have Start Date and End Date..
How can I implement these dates in calendar in my .aspx page?
All I want is the Start and end date (that represent event dates), to appear in calendar in the from of Red Color.. Those dates must be marked in the calendar, so that the Employee who logs in, can view those Tentative dates and can confirm those dates..
I'd start by figuring out what calendar control you want to use. There's a million of them, whether you want standard HTML, jQuery, YUI, MooTools, or whatever floats your boat.
ASP.NET has a very basic one built in. You can read about it here. It doesn't require any script or anything and you can manipulate the styles with server side code. The Microsoft AJAX Control Toolkit (Microsoft's more modern web control framework) also has a Calendar control.
Usually when I'm looking for a control that has a certain feature, in your case the ability to highlight certain dates, I find a tutorial or sample that indicates exactly how to do that first. Then I'm not tied down to a certain control. I searched around a bit and found this StackOverflow question that is very similar, using a jQuery based control. Once you read your data from your database, you can write the start and end dates out as JavaScript variables and follow the example from there.
You need to use a javascript DatePicker. There is no built-in C# HTML helper that displays a calendar.
Calendar Class
.NET Framework 2.0 Other Versions
Displays a single-month calendar that allows the user to select dates and move to the next or previous month.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Questions
By default which calender type does it use? (english,german,western,eastern etc i guess, or the servers bios settings time/date?)
Is it fully dependent on the systems clock settings? (well no explanation here yes or no? if yes then answer point 3)
Any way to provide web synchronization? (so that dependency on server time and date is removed)
1.not 100% what you mean, you can return it to string or datetime
2. dependent on the server time
3.not sure what you mean, you can store a date in a database and use that to set what date your calendar starts
I'm working on a portal/CMS project and (unfortunately) build the foundation on WebParts platform.
However I need to provide an option for admin to choose whether a webpart should be display in all pages or not. Finally I've found a nice article from Damon Armstrong that describes a way to store all personalization data of a group of pages into one record. Thus every changes the admin made for a webpart, affect whole pages.
But it doesn't seems to be a solution for me because of these reasons:
1- The above solution works for a group of pages; in fact we can select which pages to display all webparts, but we expect reverse: select which webpart to display in all pages.
2- After some data entry and adding webparts on pages, we'll face an issue about massive data size of personalization record that should be serialize and deserialize to display contents of each page.
May be it would be solved by writing another custom personalization provider or some hacking on webparts system, but I don't now how.
Any Ideas about the problem?
Thanks
Could you use a master page that always loads certain web parts into a particular zone, and which prevents the user from removing them from the zone?