Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
but doing a postback just to show a calendar.......
I would use the jquery datepicker, all clientside and much slicker
the solution TheRefactornator posted used javaScript to call a pop up calender window, which then returns the date to which ever textbox you specify when calling the Javascript.
No postback involved.
for stuff like this i often put the control inside a div or span or whatever, and toggle the visibility using javascript. no postbacks, popups or ajax required and it's dead easy: http://blog.movalog.com/a/javascript-toggle-visibility/
Originally posted by BolshieBastard
You're fulfilling a business role not partaking in a rock and roll concert.
for stuff like this i often put the control inside a div or span or whatever, and toggle the visibility using javascript. no postbacks, popups or ajax required and it's dead easy: http://blog.movalog.com/a/javascript-toggle-visibility/
for stuff like this i often put the control inside a div or span or whatever, and toggle the visibility using javascript. no postbacks, popups or ajax required and it's dead easy: http://blog.movalog.com/a/javascript-toggle-visibility/
but your still rendering the calendar regardless if the user will want to see it or not. Why go through the overhead of sending the extra k's down the wire only for the user to never use it.
Comment