ajax - Calls through UpdatePanel cause ASP.NET validations (css) to not show up -


I have an ASP.NET AJAX form where ASP.NET verification is baked. When I push the code into a production environment and use the form, beliefs are not shown after an AJAX call (Validation is still working, but not showing CSS - eg * Field Required Message). If I do not call an AJAX, then the legalization just looks fine. I have read that there is a bug in UpdatePanel: and I read this blog for which there is an alternative solution for this - which does not work for me:

Can someone put some light on it? ? Thank you.

It is easy to put the style in the update pinal.

XMple directly taken from the link

  & asp: UpdatePanel id = "TheUpdatePanel" runat = "server" & gt; & Lt; ContentTemplate & gt; & Lt; Style type = "text / css" & gt; Div {display: block; Overflow: Auto; }. Collapsed {Height: 50px; }. Expended {height: heirs; } & Lt; / Style & gt; & Lt; ASP: Panel CssClass = "collapsed" run = "server" id = "pnlMain" & gt; 1 & lt; Br / & gt; 2 & lt; Br / & gt; 3 & lt; Br / & gt; 4 & lt; Br / & gt; 5 & ​​lt; Br / & gt; 6 & lt; Br / & gt; & Lt; / ASP: Cell & gt; & Lt; Asp: button id = "btnExpCol" runat = "server" text = "extension" /> & Lt; / ContentTemplate & gt; & Lt; / ASP: UpdatePanel & gt;  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -