Welcome Guest Search | Active Topics | Sign In | Register

Present value is not Loading to DatePicker Options
Paresh
Posted: Wednesday, March 16, 2011 11:37:53 AM
Rank: Newbie
Groups: Member

Joined: 3/16/2011
Posts: 4
Hi All,

I am Dynamically creating Eo.Grid at code behind using vb.net.

One of the Grid Column is "DateTimeColumn as eoGridDateTimeColumn1"

I am assigning value to this column from Database using

eoGridDateTimeColumn1.DataField = ColumnId

I am getting the result into the grid ;but as soon as I click on the column to edit the Date;
Present value is not coming to DatePicker Text Box


Example:-
I am getting the value "06/03/2011"from database.When I click on the cell to edit Date DatePicker is load with no value .
I want my DatePicker with Present Value(i.e. 06/03/2011)

Can any one please help me regarding the same.



Thanks.
eo_support
Posted: Wednesday, March 16, 2011 12:33:29 PM
Rank: Administration
Groups: Administration

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

We can't think of anything that would cause this. Please try to isolate the problem into a test page (use code to create your data source --- such as a DataTable) and post the test page. Once we have that we will take a look and see what we can find.

Thanks!
Paresh
Posted: Wednesday, March 23, 2011 4:08:56 AM
Rank: Newbie
Groups: Member

Joined: 3/16/2011
Posts: 4
Hi,

I have created a test website. Can you plz tell me how to send it to you because I m not getting any Add attachment link on the Forum.

Waiting for your Reply.



Thanks & Regards,
Paresh
eo_support
Posted: Wednesday, March 23, 2011 10:52:09 AM
Rank: Administration
Groups: Administration

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

We have received your test project. However the db file in your App_Data folder are not correct. Both the mdf and ldf file are 0 bytes.

Thanks!
Paresh
Posted: Wednesday, March 23, 2011 11:01:02 AM
Rank: Newbie
Groups: Member

Joined: 3/16/2011
Posts: 4
I'll send you another mail with Database please replace the same into App_Data folder.

Regards,

Paresh


eo_support
Posted: Wednesday, March 23, 2011 11:33:35 AM
Rank: Administration
Groups: Administration

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

We looked into your code. The problem is your DOB field has a type of nvarchar, that will be a string in .NET code. The DatePicker only loads DateTime value. So you must either change the DOB field to one of the date/time type that would be represented by a DateTime value.

Thanks!
Paresh
Posted: Wednesday, March 23, 2011 11:44:38 AM
Rank: Newbie
Groups: Member

Joined: 3/16/2011
Posts: 4
Thanks a lot ... :) Actually I am dynamically creating the DB . I'll take care of the same.

Thanks again.


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.