Jan 20, 2015, 10:52 AM
[CLOSED] Show Button ONLY in certains case
In this code:
In all other cases the button "ButtonTest" must be hidden.
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title></title>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />
<ext:Window runat="server" Width="200" Height="70" Title="Insert value..." Closable="false" Layout="Form" BodyPadding="5">
<Items>
<ext:TextField runat="server" FieldLabel="Number:" LabelWidth="50" >
<RightButtons>
<ext:Button runat="server" ID="ButtonTest" Icon="Add" />
</RightButtons>
</ext:TextField>
</Items>
</ext:Window>
</form>
</body>
</html>
How do you show the button "ButtonTest" only if you press the key "1" ?In all other cases the button "ButtonTest" must be hidden.
Last edited by Daniil; Jan 20, 2015 at 6:27 PM.
Reason: [CLOSED]