diff options
author | wei <> | 2006-02-02 05:04:50 +0000 |
---|---|---|
committer | wei <> | 2006-02-02 05:04:50 +0000 |
commit | a2a030c3cfbb0249762fffa4159107bc13f8952d (patch) | |
tree | e8b2f97068cf92a314df360ccf8dfb1d37b92bd6 /tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.page | |
parent | 93f6933c39b2e1896ff781a8f839a3c73a7e56b1 (diff) |
Fixed #19
Diffstat (limited to 'tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.page')
-rw-r--r-- | tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.page | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.page b/tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.page index 753550d8..68b5445e 100644 --- a/tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.page +++ b/tests/FunctionalTests/protected/pages/UI/TestTPanelDefaultButton.page @@ -1,17 +1,16 @@ +<%@ Title="Test DefaultButton On Panel" %>
<com:TContent ID="Content">
-<com:TForm>
+ <h1>Test DefaultButton On Panel</h1>
<com:TPanel DefaultButton="Button2" Width="400px">
This is panel content with a <com:TLabel Text="label" Font.Italic="true" />
and two buttons: <br/>
- <com:TCheckBox />
- <com:TButton ID="Button1" Text="button1" Click="buttonClicked" />
- <com:TButton ID="Button2" Text="button2" Click="buttonClicked" />
+ <com:TCheckBox id="check1"/>
+ <com:TButton ID="Button1" Text="button1" OnClick="buttonClicked" />
+ <com:TButton ID="Button2" Text="button2" OnClick="buttonClicked" />
<com:TLabel ID="Result" ForeColor="red" />
<br/>
When you change focus to the panel and hit 'enter' key, <tt>button2</tt>
will be clicked because it is set as the default button of the panel.
</com:TPanel>
- <com:TLinkButton Text="button 3" Click="buttonClicked" />
- <com:TJavascriptLogger />
-</com:TForm>
+ <com:TLinkButton Text="button 3" OnClick="buttonClicked" />
</com:TContent>
\ No newline at end of file |