Solved

two calendars side by side

Posted on 2008-10-27
4
545 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

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…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now