我有一個奇怪的問題。__doPostBack在回發上不渲染
我必須使用GetPostBackEventRefence來強制回發,但它在第一次回發之後第一次運行,.NET函數不會呈現......任何想法?
這是我回發後丟失:
<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>
的問題的是,在第一時間(不回發),它呈現正確。 ..這是相同的頁面 – juan 2008-09-08 20:49:24