PDA

View Full Version : [CLOSED] Mandatory warning in FieldLabel



speedstepmem4
Jul 15, 2015, 11:34 AM
Hi,

We are using FieldLabel to set Label for TextBox and other controls. When Mandatory is checked, fieldlabel is also affected with the red colored warning indication. Please refer the screen shot attached.

We need to show the mandatory validation only for the control not for the FieldLabel.

Daniil
Jul 15, 2015, 2:34 PM
Hi @speedstepmem4,

I could not reproduce the issue with the test case below. Please provide your test case.

Example

<%@ Page Language="C#" %>

<!DOCTYPE html>

<html>
<head runat="server">
<title>Ext.NET v2 Example</title>
</head>
<body>
<form runat="server">
<ext:ResourceManager runat="server" />

<ext:FormPanel runat="server">
<Items>
<ext:TextField runat="server" FieldLabel="TextField 1" AllowBlank="false" />
<ext:TextField runat="server" FieldLabel="TextField 2" AllowBlank="false" />
</Items>
</ext:FormPanel>
</form>
</body>
</html>