blob: 1f61c0afb8756fc762909b621aabe67267b5174b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<%@ Title="Edit Category" %>
<com:TContent ID="Main">
<h2>Update Post Category</h2>
<span class="input-label">Category name</span>
<com:TRequiredFieldValidator
Display="Dynamic"
ControlToValidate="CategoryName"
ErrorMessage="...is required"
ValidationGroup="category" />
<com:TCustomValidator
ControlToValidate="CategoryName"
ValidationGroup="category"
Display="Dynamic"
OnServerValidate="checkCategoryName"
Text="...must be unique"
ControlCssClass="input-error1" />
<br/>
<com:TTextBox ID="CategoryName" Columns="50" MaxLength="128" />
<br/>
<span class="input-label">Description</span>
<br/>
<com:TTextBox
ID="CategoryDescription"
TextMode="MultiLine"
Columns="50"
Rows="5" />
<br/>
<br/>
<com:TLinkButton
Text="Save"
OnClick="saveButtonClicked"
CssClass="link-button"
ValidationGroup="category" />
</com:TContent>
|