Welcome Guest Search | Active Topics | Sign In | Register

eo.dialog with eo.datepicker Options
sai
Posted: Thursday, January 29, 2015 7:11:51 AM
Rank: Newbie
Groups: Member

Joined: 1/29/2015
Posts: 4
Hi guys!

We have been using eo.web since 2011. Updated 2013 version.

Now Question.

I want to use eo.dialog with eo.datepicker in asp.net. i added datepicker inside dialog and initicalize it today date and time.

And then i called that dialog to edit datetime and save.

But the datetime picker never picked the new date from user but today date from loading initialize page.

How can i get datetime that user pick from that dialog?

Any idea? Need argent please!

With regards,

Sai
eo_support
Posted: Thursday, January 29, 2015 10:22:07 AM
Rank: Administration
Groups: Administration

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

You would use the SelectedDate property to set the DatePicker's initial date. This would not have anything to do with the dialog.

Thanks!

sai
Posted: Friday, January 30, 2015 12:52:27 AM
Rank: Newbie
Groups: Member

Joined: 1/29/2015
Posts: 4
Can you show me how to do it?
I add like this when loading page, initial it today date.

private void initilize()
{
if (IsPostBack) return;
movedocdialog_datepicket1.SelectedDate = DateTime.Now;

}

But when user changes date in the dialog, the datepicker not pick what the user changed and get today date from initial.

Datepicker in inside eo.dialog and it is on the control ascx page.
and i call that dialog from cs code like this.

string plandate = movedocdialog_datepicket1.SelectedDate.ToShortDateString();

got only today date but not the date from user.

Thanks
sai
Posted: Friday, January 30, 2015 1:14:35 AM
Rank: Newbie
Groups: Member

Joined: 1/29/2015
Posts: 4
oh now it is ok. :D 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.