简体   繁体   中英

RadScheduler Reminder get description issues

I using Telerik RadScheduler Reminder ,when reminder is popUp's i need to check the Name and description of this event.I find the way to get Name , but i can't get description.I debuged and i see description, but i can't get to it.

Here the picture of the object:

在此处输入图片说明

My code:

  private void radSchedulerReminder1_RemindObjectShown(object sender, RadShowRemindObjectArgs e)
        {
            string Subject = e.RemindObject.Subject.Trim();//Name i found.
            string  des = e.RemindObject.GetType().;//here i stuck with description
}

Any ideas how to Get the description ?

I realize this is an old question, but for others that stumble across it: You can cast the RemindObject as an IEvent and get description:

private void radSchedulerReminder1_RemindObjectShown(object sender, RadShowRemindObjectArgs e)
{
    string des = ((IEvent)e.RemindObject).Description;
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM