diff options
author | christophe.boulain <> | 2008-12-03 14:22:03 +0000 |
---|---|---|
committer | christophe.boulain <> | 2008-12-03 14:22:03 +0000 |
commit | 6228873cf9d6471463d2413e7dfd7447f759baf2 (patch) | |
tree | 496a0e658330c39d4caa35602ba9f783b6f24f9c /tests/FunctionalTests/tickets/protected/pages/Ticket900.page | |
parent | e8f239fea7351b248302a593a8e5eaa2a88c3e80 (diff) |
Merge from trunk
Diffstat (limited to 'tests/FunctionalTests/tickets/protected/pages/Ticket900.page')
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket900.page | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket900.page b/tests/FunctionalTests/tickets/protected/pages/Ticket900.page new file mode 100644 index 00000000..41c0fbc2 --- /dev/null +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket900.page @@ -0,0 +1,45 @@ +<com:TContent ID="Content"> + +Current Command:<com:TLabel ID="CommandName" Text="None." /><br /> + +<com:TDataGrid + CellPadding="2" + ID="DataGrid" + DataKeyField="title" + AutoGenerateColumns="false" + OnEditCommand="editItem" + OnUpdateCommand="saveItem" + OnCancelCommand="cancelItem" + OnDeleteCommand="deleteItem" + > + + <com:TTemplateColumn > + <prop:ItemTemplate> + <com:TLabel Text=<%# $this->Parent->Data['title']%>/> + </prop:ItemTemplate> + <prop:EditItemTemplate> + <com:TTextBox ID="TextBox" Text=<%# $this->Parent->Data['title']%>/> + <com:TRequiredFieldValidator + ControlToValidate="TextBox" + ErrorMessage="*" + Text="Field required."/> + </prop:EditItemTemplate> + </com:TTemplateColumn> + <com:TEditCommandColumn + ButtonType="ImageButton" + HeaderText="Edit" + EditText="Edit" + UpdateText="Save" + CancelText="Cancel" + /> + <com:TButtonColumn + ID="DeleteColumn" + HeaderText="Delete" + HeaderStyle.Width="50px" + ItemStyle.HorizontalAlign="Center" + ItemStyle.Font.Italic="false" + Text="Delete" + CommandName="delete" + /> +</com:TDataGrid> +</com:TContent> |