• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 657
  • Last Modified:

two calendars side by side

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
pyrokin
Asked:
pyrokin
  • 3
1 Solution
 
silemoneCommented:
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
 
silemoneCommented:
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
 
pyrokinAuthor Commented:
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
 
silemoneCommented:
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now