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

Scheduler Encryption

1 Answer 47 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Jay
Top achievements
Rank 1
Jay asked on 05 Jun 2011, 01:08 AM
Hi,

If I have a scheduler binded to an access database, is it possible to have the Summary, Description and Location encrypted before going into the database?

Jay

1 Answer, 1 is accepted

Sort by
0
Ivan Todorov
Telerik team
answered on 09 Jun 2011, 07:51 AM
Hello Jay,

Yes, this is possible. This help article explains how to use callbacks to convert values when you retrieve or insert appointments to the database. Here is an example of how this should look in your case:
object ConvertSummaryToScheduler(object obj)
{
    if (!(obj is DBNull))
    {
        return Decode(obj);
    }
    return "";
}
 
object ConvertSummaryToDataSource(object obj)
{
    string summary = (string)obj;
    if (summary != null)
    {
        return Encode(obj);
    }
 
    return DBNull.Value;
}
 
Telerik.WinControls.UI.SchedulerMapping summarySchedulerMapping = appointmentMappingInfo1.FindBySchedulerProperty("Summary");
 
summarySchedulerMapping.ConvertToScheduler = new Telerik.WinControls.UI.ConvertCallback(this.ConvertSummaryToScheduler);
 
summarySchedulerMapping.ConvertToDataSource = new Telerik.WinControls.UI.ConvertCallback(this.ConvertSummaryToDataSource);

A bit off topic, I would like to remind you that denying to provide us with the requested information in thread "RadGridView Remove Rows" may result in denying support services for your account.

I hope you find the information provided useful.

Greetings,
Ivan Todorov
the Telerik team
Q1’11 SP1 of RadControls for WinForms is available for download; also available is the Q2'11 Roadmap for Telerik Windows Forms controls.
Tags
Scheduler and Reminder
Asked by
Jay
Top achievements
Rank 1
Answers by
Ivan Todorov
Telerik team
Share this question
or