c# - onchange attribute missing on one particular server -
i having issues asp.net webforms site seem related particular server. instance when try redirect user after successful login (as seen audit entry in database) returns them login page again. hint @ problem seems elements not rendering correctly in html.
source code:
<asp:textbox id="txtusername" runat="server" ontextchanged="txtusername_textchanged" autopostback="true" width="200px"></asp:textbox>
view-source on bad server:
<input name="ctl00$maincontent$txtusername" type="text" id="maincontent_txtusername" />
view-source on development server:
<input name="ctl00$maincontent$txtusername" type="text" onchange="javascript:settimeout('__dopostback(\'ctl00$maincontent$txtusername\',\'\')', 0)" onkeypress="if (webform_textboxkeyhandler(event) == false) return false;" id="maincontent_txtusername" style="width:200px;" />
any on issue appreciated.
you're running app on different framework versions , causing problems.
make sure server .net version , .net version developing in same.
Comments
Post a Comment