Displaying posts categorized under

ASP.NET datetime popup

The download of the ASP.NET date and time server control

This is a part of an article serie where we create a ASP.NET 2.0 server control providing date (and time) selection popup . Please start from the beginning.
Finally – just download and test it out. The solution contains one testproject – and the control is inside its own dll project.
Weak points as I know of right now:
1. not [...]

Javascript vs .NET Datetime formatting issues – part 5

This is a part of an article serie where we create a ASP.NET 2.0 server control providing date (and time) selection popup . Please start from the beginning.
Being a .NET developer I am used to do datetime formatting the .NET way, using datetime.ToString(…) code.
However the problem is that JavaScript has it’s own formatting – and even worse for us - [...]

ASP.NET Server control code – part 4

This is a part of an article serie where we create a ASP.NET 2.0 server control providing date (and time) selection popup . Please start from the beginning.
As I said – I want a readonly textbox and an image triggering the popup. So we start off by inheriting from TextBox.

namespace JSCalendarControl
{
[DefaultProperty("Text")]
[ToolboxData("<{0}:JSCalendar runat=server></{0}:JSCalendar>"), [...]

How the control is used from ASPX file – part 3

This is a part of an article serie where we create a ASP.NET 2.0 server control providing date (and time) selection popup . Please start from the beginning.
So lets start from the other side. How is the control used:
I have implemented some basic designtime support – pretty much you are able to decide where the control should [...]