/// <summary>
 /// Creates a behavior.
 /// </summary>
 /// <param name="focusKey">The focus key, which you can use to autofocus on a region of the reloaded page by referencing the key from autofocus conditions.
 /// Do not pass null. Pass the empty string for no autofocus.</param>
 /// <param name="secondaryResponse">A secondary response, which will load in a new window/tab or as an attachment.</param>
 public PageReloadBehavior(string focusKey = "", SecondaryResponse secondaryResponse = null)
 {
     FocusKey          = focusKey;
     SecondaryResponse = secondaryResponse;
 }
Пример #2
0
 /// <summary>
 /// Creates an action that will send a secondary response in a new window/tab or as an attachment.
 /// </summary>
 /// <param name="response">The secondary response.</param>
 public PostBackAction(SecondaryResponse response)
 {
     secondaryResponse = response;
 }
 /// <summary>
 /// Creates an action that will send a secondary response in a new window/tab or as an attachment.
 /// </summary>
 /// <param name="response">The secondary response.</param>
 public PostBackAction( SecondaryResponse response )
 {
     secondaryResponse = response;
 }