views:

72

answers:

1

Hi All,

i'm using this control for date picker. i want that when user click on button the calender will pop up next to the button and when the user pick date the date will save in hidden field or somthing like that.

the probelm is that the control need target control and he can't get hidden field i don't want to show the date the user pick. only to save this date somehow

thanks!!!!

+3  A: 

why not hidding the Textbox (target control ID)

<asp:TextBox CssClass="hide" ...

.hide { display: none; }

Works fantastic! Maybe you don't know how to implement it :)

for that:

here is a screen cast of it http://is.gd/2odZd

balexandre
it won't work. i tried this
avnic
I've just tried like <asp:TextBox Style="display:none;" and it works.
Biri
NEVER, EVER add styles directly ... use CSS, that is why they are available to you, it is not a good pratice and when you ned up with plenty of code it will be a nightmare. Remember: Always create Reusable Code!
balexandre
Thanks!!!!!!!!!!
avnic
I'm just glad to help
balexandre