This is a migrated thread and some comments may be shown as answers.

[Solved] Set value of RadDateTimePicker in RadGrid In EditMode .

1 Answer 93 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Hrushikesh Mokashi
Top achievements
Rank 1
Hrushikesh Mokashi asked on 02 Apr 2009, 10:18 AM

Hi,

I am using RadGrid with inline insert/edit option.
Here i am using radgrid edit mode as EditMode="PopUp".
I am showing two date in grid as 'StartTime' and 'Endtime'.
In Edit mode i using RadDateTimePicker for 'Starttime' and 'EndTime' field.

Here I want to set the 'EndDate' same as "StartDate' , when 'StartDate' get selected in Editmode.


Thanks,

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 02 Apr 2009, 10:28 AM
Hello Hrushikesh,

How to access controls in grid rows/edit form and change their values based on end user selection made in another controls you can see from the following online resources:

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/accessingcellsandrows/defaultcs.aspx
http://www.telerik.com/help/aspnet-ajax/gridreferencecontrolsinroweditform.html

The same approach should be applicable for your case as well. Feel free to modify the solution accordingly to conform to your custom logic.

Best,
Sebastian
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
Hrushikesh Mokashi
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or