|
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.
|
|
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!
|
|
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
|
|
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!
|
|
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
|
|
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!
|
|
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.
|
|