Solved

two calendars side by side

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 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

13 Experts available now in Live!

Get 1:1 Help Now