Scheduler Encryption

2 posts, 0 answers
  1. Jay
    Jay avatar
    3 posts
    Member since:
    Jan 2011

    Posted 04 Jun 2011 Link to this post


    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?

  2. Ivan Todorov
    Ivan Todorov avatar
    688 posts

    Posted 09 Jun 2011 Link to this post

    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.

    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.
Back to Top