[thelist] ASP.NET Calendar: prev/next month posts back, hides calendar

Anthony Baratta anthony at baratta.com
Fri Oct 5 23:42:54 CDT 2007


Why not on post-back change the visibility to what you want server side?

Joel D Canfield wrote:
> I'd love to use this from Stephen Walther's book/site
> 
>  
> http://www.superexpert.com/Books/AspNet2Unleashed/Chapters/Chapter4/Code
> /VB/CalendarJS.aspx
> 
> except when you change the month, it posts back, and the calendar is
> hidden again because the CSS is set to visibility:none. The month does
> indeed change, but it won't work to have to keep popping the calendar up
> again for each month ;)
> 
> I'm using this in the edit template of a gridview. In every other way
> it's working as expected.
> 
> Thanks.
> 
> joel





More information about the thelist mailing list