 |
|
 |
First Absolutley love the look, feel and speed of the control. The only problem I am having is that I'm trying to use it in a multi view and because there is no designtime view of the control it wont allow me to work with the other objects in the multi-views. Is there a way to display the control in design mode?
Thanks in advance,
Lloyd
|
|
|
|
 |
|
 |
Stephen, I am testing your date picker but when I use it for today April 24, 2007 it shows it as being Monday and not the correct day of Tuesday when the calendar is displayed. Can you help me?
Thank You
rtomaska
|
|
|
|
 |
|
 |
Help!
How do I make the function return mm.dd.yyyy instead of dd.mm.yyy?
TIA
a
|
|
|
|
 |
|
 |
Hello Patrik,
do the following steps:
1. in DataPicker.js Function callback change to your format
2. in DataPicker.js Function DatePickerShow change the parsing of given date inclusive the setting of this date to internal date object
3. in DatePicker.js Function CheckDatePickerDate change the validation of user input OR write your own validation function and pass it to the parameter CheckFunc of the control
Regards
Stephan
\\\| \\ - - ( @ @ )
+---------------oOOo-(_)-oOOo-----------------+
| Stephan Pilz stephan.pilz@stephan-pilz.de |
| <a href=http:| ICQ#: 127823481 |
+-----------------------Oooo------------------+
oooO ( )
( ) ) /
\ ( (_/
\_)
|
|
|
|
 |
|
 |
Help!
How do I make the function return mm.dd.yyyy instead of dd.mm.yyy?
TIA
|
|
|
|
 |
|
 |
First of all Thank you for the good work. It works awesome and looks great!! I've a few questions though.
1) How can I make the text-box read-only? I only want users to click on the image next to the text-box and pick a date. I don't want them to be able to manually enter anything in the text-box.
2) How can i delete those little images on the bottom of the calendar?
Thank you.
|
|
|
|
 |
|
 |
Okay,
I figured out how to get rid of the bottom buttons but still couldn't figure out how to make text-box read-only.
Also, I can't see the control in design-time. It gives error rendeding control. How can i view it in design time?
Cheers,
|
|
|
|
 |
|
 |
Thank you for the compliments. Please vote my article.
Answer for point 1:
Goto DatePickerDynObject.vb Line 39: This line generates the input. Set it to disabled or readonly and remove the onChange-Event. But be careful. Maybe you got a problem to send the current date to the server, because the IE transfer not all elements to server, if it disabled/readonly.
If this case true, maybe a good other idea is to catch the events (onChange,onKeydown,onKeyup) of the input field and let the input enabled.
Answer for point 2:
Goto DatePicker.js Line 170: Remove all lines from here to the end of the method (Line 235).
Regards
Stephan
\\\| \\ - - ( @ @ )
+---------------oOOo-(_)-oOOo-----------------+
| Stephan Pilz stephan.pilz@stephan-pilz.de |
| <a href=http:| ICQ#: 127823481 |
+-----------------------Oooo------------------+
oooO ( )
( ) ) /
\ ( (_/
\_)
|
|
|
|
 |
|
 |
Hi
I can't make it work under vs2005 web application.
after the <%@ register....
can not drow the control
doesn't recognize |
|
|
|
 |
|
 |
Sorry Yosef,
no idea. It's not possible for me to test the control with VS2005. It's developed with VS2003 und .NET1.1
BR
Stephan
\\\| \\ - - ( @ @ )
+---------------oOOo-(_)-oOOo-----------------+
| Stephan Pilz stephan.pilz@stephan-pilz.de |
| <a href=http:| ICQ#: 127823481 |
+-----------------------Oooo------------------+
oooO ( )
( ) ) /
\ ( (_/
\_)
|
|
|
|
 |
|
 |
I ran the demo in VS 2005 and it worked perfectly fine for me :-s
|
|
|
|
 |
|
 |
Hi
Whenever I user your datepicker in disabled mode, the value of the custom control will not be saved on server roundtrips.
Also, the issue about the Z-index isn't fully fixed: If I have a dropdownlist just below the datepicker, the popup calendar will be covered by the dropdownlist.
|
|
|
|
 |
|
 |
Sorry for the late answer, I'm not in house.
Please try to change the file DatePickerDynObject.vb at line 26. Replease here at the end "disabled" with "readonly".
Your problem with dropdownlist I can not retrace.
Regards
Stephan
\\\| \\ - - ( @ @ )
+---------------oOOo-(_)-oOOo-----------------+
| Stephan Pilz stephan.pilz@stephan-pilz.de |
| <a href=http:| ICQ#: 127823481 |
+-----------------------Oooo------------------+
oooO ( )
( ) ) /
\ ( (_/
\_)
|
|
|
|
 |
|
 |
I've just tried your datepicker-control, great job!
Now I have a little problem when using it on my pages: the datepicker (not the text box) doesn't show up on top of all other controls. Do you have any hint on how to solve this?
Thanks, Jan
|
|
|
|
 |
|
|
 |
|
 |
Hello Jan,
a new version is available, based on my post before. Hope that helps.
Regards
Stephan
\\\| \\ - - ( @ @ )
+---------------oOOo-(_)-oOOo-----------------+
| Stephan Pilz stephan.pilz@stephan-pilz.de |
| <a href=http:| ICQ#: 127823481 |
+-----------------------Oooo------------------+
oooO ( )
( ) ) /
\ ( (_/
\_)
|
|
|
|
 |
|
 |
Great, problem fixed!
Greetings from Switzerland
|
|
|
|
 |
|
 |
Referncing the control on the page <DP:MyOwnControls.DatePickerControl id="DP_whatever_date" Width="100px" RelPath="../" runat="server"></DP:MyOwnWebControls.DatePickerControl> Should be <DP:MyOwnWebControls.DatePickerControl id="DP_whatever_date" Width="100px" RelPath="../" runat="server"></DP:MyOwnWebControls.DatePickerControl>
|
|
|
|
 |
|
 |
Yes. That's right. I have fix it.
Thank you very much.
Stephan
\\\| \\ - - ( @ @ )
+---------------oOOo-(_)-oOOo-----------------+
| Stephan Pilz stephan.pilz@stephan-pilz.de |
| <a href=http:| ICQ#: 127823481 |
+-----------------------Oooo------------------+
oooO ( )
( ) ) /
\ ( (_/
\_)
|
|
|
|
 |