|
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
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
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!
|
|
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
|
|
Rank: Newbie Groups: Member
Joined: 1/29/2015 Posts: 4
|
oh now it is ok. :D thanks!
|
|