Dec 27, 2013, 8:02 AM
[CLOSED] My message error is not with ActiveError in ServerSide
Good night
It is my code, When I load the first time the page I can to see the Msg of ActiveError
But, When I active the error with ActiveError in ServerSide, the Msg (with MsgTarget = "Under"), It's not
What is the problem?
Thanks Ext.Net
It is my code, When I load the first time the page I can to see the Msg of ActiveError
But, When I active the error with ActiveError in ServerSide, the Msg (with MsgTarget = "Under"), It's not
<ext:ResourceManager ID="ResourceManager1" runat="server">
</ext:ResourceManager>
<ext:ComboBox ID="ComboBox1" runat="server" ActiveError="Sin seleccionar elemento" MsgTarget="Under">
<Items>
<ext:ListItem Index="0" Text="Pechuga de pavo" Value="0" />
<ext:ListItem Index="1" Text="Pechuga de pollo" Value="1" />
<ext:ListItem Index="2" Text="Carne de res" Value="2" />
<ext:ListItem Index="3" Text="Tilapio" Value="3" />
</Items>
<DirectEvents>
<Select OnEvent="ComboBox1_Select" />
</DirectEvents>
</ext:ComboBox>
protected void Page_Load(object sender, EventArgs e)
{
}
protected void ComboBox1_Select(object sender, DirectEventArgs e)
{
if (Convert.ToInt32(ComboBox1.SelectedItem.Value) == 2)
ComboBox1.ActiveError = "Error al seleccionar carne de res";
}
What is the problem?
Thanks Ext.Net
Last edited by Daniil; Dec 31, 2013 at 11:42 AM.
Reason: [CLOSED]