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

Combination RadGrid and RadScheduler

1 Answer 32 Views
Grid
This is a migrated thread and some comments may be shown as answers.
K.
Top achievements
Rank 1
K. asked on 07 Nov 2008, 10:35 AM
Hello Telerik-Team,

i would like to design a webpage that behaves like this:

first, select an item from a list of items (e.g. RadGrid-items)
second, select a time-setting from a RadioButtonList
(e.g.
time setting 1: 03:00h-15:00h
time setting 2: 15:00h-03:00h)
then, select a day (or several days) in RadScheduler (in month view).
With this last click, the selected RadGrid-item is inserted into
the Scheduler with the selected timesetting (at each selected day).

While trying to implement this design, i had also difficulties
adjusting the height of the cells in the scheduler. I was
only able to adjust the height of all cells.
Instead, I'd rather like to adjust the cells in the
corresponding rows only.

Also, this should all happen clientside. The data is not to be inserted
into a Database before the User is done inserting items to the scheduler.

Any suggestions or examples is appreciated.

Kind regards,
K.

1 Answer, 1 is accepted

Sort by
0
Pavel
Telerik team
answered on 10 Nov 2008, 11:43 AM
Hi,

Please refer to the following links for more details on how to access the values of the Grid's cells client-side:
http://www.telerik.com/help/aspnet-ajax/grdextractkeyvaluesclientside.html
http://demos.telerik.com/aspnet/prometheus/Grid/Examples/Client/Keys/DefaultCS.aspx

How to access them server-side you can read here:
http://www.telerik.com/help/aspnet-ajax/grdaccessingcellsandrows.html
http://demos.telerik.com/aspnet/prometheus/Grid/Examples/Programming/AccessingCellsAndRows/DefaultCS.aspx

Then you can use the RadScheduler's InsertAppointment(app) method to insert the values. You can also check this KB article which explains how you can modify the visual appearance of the Scheduler.

Let us know if you have additional questions.

Kind regards,
Pavel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
K.
Top achievements
Rank 1
Answers by
Pavel
Telerik team
Share this question
or