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

Drag n Drop from grid to scheduler

6 Answers 67 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Marc Plaxton-Harrison
Top achievements
Rank 1
Marc Plaxton-Harrison asked on 27 Mar 2009, 07:31 AM
Hi, i am trying to drap a row from my radGrid and drop it onto a the radScheduler, i am using the code in the demo "Scheduler Drag and Drop", but i am having a problem, i am going to be populating the grid with data from sql and then dragging it onto the scheduler.

in the sample code it states "SchedulerDataSource" and "GridDataSource", can i ask for someone to please elaborate on how this works and maybe give me an example on how to use the it.

thanks in advance.

I noticed the SessionDataSource in the HTML, it contains the SchedulerDataSource and GridDataSource. but when i try and add it to my page then i get this error:

Error 2 Unknown server tag 'sds:SessionDataSource'.

I have the tag inserted, is there something im missing?

6 Answers, 1 is accepted

Sort by
0
Marc Plaxton-Harrison
Top achievements
Rank 1
answered on 30 Mar 2009, 12:19 PM
Hi, never mind my first question i got it working, but now i have the SessionDatasource but the application is giving me an error about:

The AccessDataSource ConnectionString property cannot be set, it is automatically generated.  

i am trying to use the ConnectionString i have stored in my Web.Config, is there something that needs to be done before i put in the ConnectionString?
0
Accepted
Veselin Vasilev
Telerik team
answered on 31 Mar 2009, 11:57 AM
Hello Marc Plaxton-Harrison,

Please find attached a sample project which uses SQLDataSource.

Regards,
Veselin Vasilev
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Marc Plaxton-Harrison
Top achievements
Rank 1
answered on 31 Mar 2009, 12:14 PM
Hi Veselin Vasilev,

Thanks for the reply, ok i added the SQl Database to my application and then added the ConnectionString and added the SqlDataSource but i get the following error:

An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Shared Memory Provider, error: 40 - Could not open a connection to SQL Server)

is there something else that i should do?
0
Marc Plaxton-Harrison
Top achievements
Rank 1
answered on 31 Mar 2009, 12:51 PM
Hi Veselin Vasilev,

ok i got the database issue sorted out, but i am having trouble with another part of the process, everything seems to work well, no exceptions or javascript errors, but for some reason the dragged item wont bind to the scheduler or unbind from the grid.

What should i do?
0
Marc Plaxton-Harrison
Top achievements
Rank 1
answered on 02 Apr 2009, 12:49 PM
Hi Veselin Vasilev,

i am having another problem with the drag & drop, i have added all the controls and all the stuff. But everytime i drag & drop an item from the grid to the scheduler i get an error "Object reference not set to an instance of an object" on the radAjaxManager, is there a way to eliminate this?
0
Veselin Vasilev
Telerik team
answered on 03 Apr 2009, 02:19 PM
Hello Marc Plaxton-Harrison,

I believe the best way to proceed is to send us a sample project which we will examine. Just open a new support ticket and attach it there.

Thanks

All the best,
Veselin Vasilev
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
Tags
Scheduler
Asked by
Marc Plaxton-Harrison
Top achievements
Rank 1
Answers by
Marc Plaxton-Harrison
Top achievements
Rank 1
Veselin Vasilev
Telerik team
Share this question
or