Monday, 27 December 2010

how to find country from ip address in asp.net

Code For Default.aspx.cs Page Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes;...

Thursday, 23 December 2010

Server Error in '/' Application and Invalid postback or callback argument

Problem :Server Error in '/' Application. Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.ArgumentException:...

Client side validation using javascript

<script language="javascript" type="text/javascript">function validate2(){            if (document.getElementById("<%=txtName.ClientID%>").value=="")      {                 alert("Enter First Name");                 document.getElementById("<%=txtName.ClientID%>").focus();                 return false;      }                       ...

Pages 131234 »
Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Powered by Blogger