I am calling asp.net button click event through jquery.
$('[id$=btnSaveAsp]').click();
I am sending html data into asp.net hidden field. It is working fine with small amount of data but it is not firing with large amount of data. What should I do???
It is not the problem of click event. It is actually problem of http runtime in asp.net web config file Please add this tags in web.config to resolve this issue.
<configuration>
<system.web>
<httpRuntime maxRequestLength="40960" requestValidationMode="2.0"/>
<pages validateRequest="false"></pages>
</system.web>
</configuration>