Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

two calendars side by side

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

861 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