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

[Solved] Optimized queries

1 Answer 141 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 20 Feb 2008, 03:43 PM
Hello

I am trying to setup a session data source for a RadScheduler as provided by your example application for optimized queries. However, the example has

<%

@ Register TagPrefix="sds" Namespace="Telerik.Web.SessionDS" %>

and the compiler cannot find Telerik.Web.SessionDS.

Can you explain what I am doing wrong? I have tried using SessionsDataSource.dll and that won't work either.

Alternatively, is there another way to process the OnSelecting event without having to use a data source?

Thank you

Tony

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 22 Feb 2008, 03:06 PM
Hello Anthony,

The session data source is designed for our QSF framework. It is basically a SqlDataSource that does not commit changes to the database, but stores them in the Session. This way you can test the controls without actually modifying the database.

That said, it is fairly useless outside the scope of our examples. It should be replaced by a SqlDataSource. You only need to remove the "DisplayWarning" and "PrimaryKeyFields" properties and replace the "sds:SessionDataSource" tag with "asp:SqlDataSource".

Sincerely yours,
Tsvetomir Tsonev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Scheduler
Asked by
Tony
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or