New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

This Class defines the Reminder object.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class Reminder : StateManager, IMarkableStateManager, IStateManager, ICloneable

Inheritance: objectStateManagerReminder

Implements: ICloneableIMarkableStateManagerIStateManager

Inherited Members StateManager.IsTrackingViewStateStateManager.ViewStateobject.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public Reminder()
C#
public Reminder(int triggerMinutes)
Parameters:triggerMinutesint
C#
public Reminder(TimeSpan trigger, string id)
Parameters:triggerTimeSpanidstring
C#
public Reminder(TimeSpan trigger)
Parameters:triggerTimeSpan

Properties

Gets the collection of arbitrary attributes that do not correspond to properties on the reminder.

C#
[Browsable(false)]
[ScriptIgnore]
public AttributeCollection Attributes { get; }
Property Value:

A AttributeCollection of name and value pairs.

Gets or sets the ID.

C#
public string ID { get; set; }
Property Value:

The ID.

Gets or sets the trigger.

C#
public TimeSpan Trigger { get; set; }
Property Value:

The trigger.

Methods

Creates a new Reminder object that is a clone of the current instance.

C#
public virtual Reminder Clone()
Returns:

Reminder

A new Reminder object that is a clone of the current instance.

C#
protected override void LoadViewState(object state)
Parameters:stateobject

Overrides: StateManager.LoadViewState(object)

C#
protected override object SaveViewState()
Returns:

object

Overrides: StateManager.SaveViewState()

Returns a string that represents the current object.

C#
public override string ToString()
Returns:

string

A string that represents the current object.

Overrides: object.ToString()

C#
protected override void TrackViewState()

Overrides: StateManager.TrackViewState()

Creates a list of reminders from their string representation.

C#
public static bool TryParse(string input, out IList<Reminder> parsedReminders)
Parameters:inputstring

The string to parse.

parsedRemindersIList<Reminder>

Output parameter that contains the list of reminders if the parsing succeeded or null (Nothing in Visual Basic) if the parsing failed.

Returns:

bool

True if input was parsed successfully, false otherwise.

Creates a list of reminders from their string representation.

C#
public static IList<Reminder> TryParse(string input)
Parameters:inputstring

The string to parse.

Returns:

IList<Reminder>

List of reminders if the parsing succeeded or null (Nothing in Visual Basic) if the parsing failed.