public Button(string id, string resx, Page.Actions action, bool submitForm) : this(id, resx, action) { this.SubmitForm = submitForm; }
/// <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)); }
public Button(string id, string resx, Page.Actions action) : this(id, resx) { _action = Action; }