J'ai un problème étrange.__doPostBack ne rend pas en postback
Je dois utiliser GetPostBackEventRefence pour forcer une publication, mais cela fonctionne la première fois, après la première publication, la fonction .NET n'est pas rendue ... des idées?
C'est ce que je suis absent après la postback:
<script language="javascript" type="text/javascript">
<!--
function __doPostBack(eventTarget, eventArgument) {
var theform;
if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) {
theform = document.Main;
}
else {
theform = document.forms["Main"];
}
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
// -->
</script>
Le problème est que la première fois (pas de publication) il rend correctement. .. c'est la même page – juan
Peut-être que vous cachez linkbutton sur la publication? –