Solved

two calendars side by side

Posted on 2008-10-27
4
549 Views
Last Modified: 2012-06-27
want to be able to create two calendars that are side by side, one for one month, one for another
when a date is selected, it needs to be displayed in a text box
any ideas?
0
Comment
Question by:pyrokin
  • 3
4 Comments
 
LVL 21

Expert Comment

by:silemone
ID: 22816554
put two calendars in two different divs...give them different id's...then have them both point to the same events...but test the which one it is by sender.ID ...
0
 
LVL 21

Expert Comment

by:silemone
ID: 22816625
i would also use ajax update panels for text box so it only has a partial post back.  

other options:  put a textbox with a button for a cal popup and use ajaxModalPopUp for popupCalendar...do the same for the second calendar.  and again have text boxes in updatepanels so they they only have partial postbacks...
0
 
LVL 1

Author Comment

by:pyrokin
ID: 22818503
silemone,

 Thanks for the reply. In Visual Studio I am still having trouble getting the DIVs to be side by side. Could you please post some code?
0
 
LVL 21

Accepted Solution

by:
silemone earned 500 total points
ID: 22821626
well here's one way...

<div id="calHolder">
<span><asp:calendar id="Cal1"</span><span><asp:calendar id="Cal2"></span>
</div>


easiest way would be to put in a Table, one row and two columns...
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

805 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