-
Robert Cathey
6
posts
Member since:
Feb 2008
Posted 05 Mar 2008
Link to this post
I'll be using a lot of calendar controls in my application, so I thought the most efficient thing to do was to create a shared calendar on my Master Page that I can reference via Date Picker on all the other pages.
This works great, except that I get the calendar showing up where I have the place holder tag.
I attempted to modify the style of the calendar to display:none, but then the calendar doesn't show up when I click a Date Picker.
Is there a way to hide the shared calendar, but still have it show up when a Date Picker is clicked? Thanks
-
-
Robert Cathey
6
posts
Member since:
Feb 2008
Posted 05 Mar 2008
Link to this post
I was playing around and figured out a solution. Instead of changing the style of the control to display:none, I put the placeholder in a div and changed the style of the div to display:none. This way it doesn't show on the page, but can still be accessed by the Date Pickers. If there's a different way of doing it that would be better, please let me know. Thanks.
-