 | |  | |  | |  | |  |  | |  | |  | |  | |  | |  | |  | |  | |  | |  | |  | |  | |  | |  | |  | |  | |  | | .NET 2.0 IButtonControl New |
|
|  | |  | |  | |  | |  | |  | |  | |
| |
| Command buttons
|
Example code
private void CommandBtn_Click(object sender, CommandEventArgs e){
Message.Text = "Command name: "+e.CommandName+", Command argument: "+(String)e.CommandArgument;
}
...
<osb:SuperButton id="Button1" isSubmit="true" SkinStyle="amazon" Text="Sort Ascending" CommandName="Sort" CommandArgument="Ascending" OnCommand="CommandBtn_Click" runat="server"/> <osb:SuperButton id="Button2" isSubmit="true" SkinStyle="amazon" Text="Sort Descending" CommandName="Sort" CommandArgument="Descending" OnCommand="CommandBtn_Click" runat="server"/> <br /><br /> <osb:SuperButton id="Button3" isSubmit="true" SkinStyle="amazon" Text="Submit" CommandName="Submit" OnCommand="CommandBtn_Click" runat="server"/>
| | |
Click one of the command buttons.
| | |
| "I have downloaded the grid and I enjoy working with it.
I was also evaluating the Infragisticts package,
but found your product easier to get going and easier to configure." |
Henrik Kristensen. |
| Lumina Systems Delivery |
| | |
|
|
|
|