Welcome Guest Search | Active Topics | Sign In | Register

Show and hide a datepicker Options
EPC DB
Posted: Monday, August 12, 2013 3:22:45 AM
Rank: Member
Groups: Member

Joined: 3/4/2008
Posts: 24
Hello,

Is it possible to show and hide a datepicker control from the client side?

I have three objects in a grid custom cell (datepicker, textarea and select) and I want display one of them depending of the data type.

I have try to put the datepicker in a div, but I can't get the parent by his name.
The name of the parent div is fransformed in "Grid1_edit_ctl01_panelCustValueDate" for "panelCustValueDate" but the number inside the new name seems to change!

Best regards.

Patrice
eo_support
Posted: Monday, August 12, 2013 8:44:46 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

You have to put it in a NON server side DIV, then you can give it a fixed name/id so that your client side script can reference directly.

Thanks!
EPC DB
Posted: Tuesday, August 13, 2013 12:26:47 AM
Rank: Member
Groups: Member

Joined: 3/4/2008
Posts: 24
Hi,

Thanks
I'm stupid not to have thought

Bonhomme
Posted: Tuesday, August 13, 2013 1:56:10 PM
Rank: Newbie
Groups: Member

Joined: 8/13/2013
Posts: 2
Ok I am new to this forum. I am about to purchase the datepicker I am using Visual Studio 2012 I am asking myself if this won't be a compatibility issue.

Thanks for your answer.
eo_support
Posted: Tuesday, August 13, 2013 2:49:27 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

EO.Web fully supports Visual Studio 2012. So there won't be a compatibility issue.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.