Hi,
Check the attached screen shot. The markup is shown below.
Is this a bug on your side or am I doing something wrong?
Thanks … Ed
<
TelerikWindow
Visible
=
"@(selectedUser != null)"
Modal
=
"true"
>
<
WindowTitle
>
@{
if (selectedUser.Id <
0
)
{
<strong>Add Employee</
strong
>
}
else
{
<
strong
>Edit Employee</
strong
>
}
}
</
WindowTitle
>
<
WindowContent
>
<
EditForm
Model
=
"@selectedUser"
OnValidSubmit
=
"@Save"
>
<
DataAnnotationsValidator
/>
<
div
class
=
"form-row"
>
<
div
class
=
"col"
>
<
TelerikTextBox
@
bind-Value
=
"@selectedUser.FirstName"
Label
=
"First Name"
></
TelerikTextBox
>
</
div
>
<
div
class
=
"col"
>
<
TelerikTextBox
@
bind-Value
=
"@selectedUser.LastName"
Label
=
"Last Name"
></
TelerikTextBox
>
</
div
>
</
div
>
@*<
div
class
=
"form-row"
>
<
div
class
=
"col"
>
<
TelerikDropDownList
Data
=
"@lstRoles"
@bind-Value=@SelectedRole
PopupHeight
=
"170px"
ValueField
=
"Id"
TextField
=
"RoleName"
>
</
TelerikDropDownList
>
</
div
>
</
div
>*@
<
div
class
=
"form-row"
>
<
div
class
=
"col"
>
<
TelerikTextBox
@
bind-Value
=
"@selectedUser.Email"
Label
=
"Email"
></
TelerikTextBox
>
</
div
>
<
div
class
=
"col"
>
<
TelerikTextBox
@
bind-Value
=
"@selectedUser.PhoneNumber"
Label
=
"Phone"
></
TelerikTextBox
>
</
div
>
</
div
>
<
div
class
=
"form-row"
>
<
div
class
=
"col"
>
<
TelerikTextBox
@
bind-Value
=
"@selectedUser.Address1"
Label
=
"Address 1"
></
TelerikTextBox
>
</
div
>
<
div
class
=
"col"
>
<
TelerikTextBox
@
bind-Value
=
"@selectedUser.Address2"
Label
=
"Address 2"
></
TelerikTextBox
>
</
div
>
</
div
>
<
div
class
=
"form-row"
>
<
div
class
=
"col"
>
<
TelerikTextBox
@
bind-Value
=
"@selectedUser.City"
Label
=
"City"
></
TelerikTextBox
>
</
div
>
<
div
class
=
"col"
>
<
TelerikTextBox
@
bind-Value
=
"@selectedUser.PostCode"
Label
=
"Post Code"
></
TelerikTextBox
>
</
div
>
</
div
>
<
div
class
=
"form-row"
>
<
div
class
=
"col"
>
<
div
style
=
"margin-top:20px;"
>
Is Active <
InputCheckbox
@
bind-Value
=
"@selectedUser.IsActive"
/>
</
div
>
</
div
>
<
div
class
=
"col"
>
<
span
class
=
"k-label"
style
=
"font-size:7pt"
>Role</
span
>
<
TelerikDropDownList
Data
=
"@lstRoles"
TextField
=
"Name"
ValueField
=
"Id"
@
bind-Value
=
"selectedRole"
Width
=
"100"
>
</
TelerikDropDownList
>
</
div
>
</
div
>
<
div
class
=
"form-row"
>
<
br
/>
<
ValidationSummary
/>
<
TelerikButton
Class
=
"mt-2"
Icon
=
"save"
Primary
=
"true"
ButtonType
=
"@ButtonType.Submit"
>Save</
TelerikButton
>
<
TelerikButton
Class
=
"mt-2"
Icon
=
"cancel"
OnClick
=
"@ClearSelection"
ButtonType
=
"@ButtonType.Button"
>Cancel</
TelerikButton
>
</
div
>
</
EditForm
>
</
WindowContent
>
</
TelerikWindow
>