Ejemplo n.º 1
0
 public Button(string id, string resx, Page.Actions action, bool submitForm)
     : this(id, resx, action)
 {
     this.SubmitForm = submitForm;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Action and IDs to post with form when button is clicked
 /// </summary>
 public void PostOnClick(Page.Actions a, Guid id, Guid subID)
 {
     this.OnClick = string.Format("Page.Post({0}, {1}, {2})",
                                  (int)a, this.ScriptGuid(id), this.ScriptGuid(subID));
 }
Ejemplo n.º 3
0
 public Button(string id, string resx, Page.Actions action)
     : this(id, resx)
 {
     _action = Action;
 }