473,405 Members | 2,176 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Missing __doPostBack function

Hi.

I am having an issue when I repeatedly refresh a aspx page/cms posting
quickly.

Normally when I view the posting the following is included, see below

However when I repeatedly refresh the page, this text does not get
included.
aspnet_client is installed as a virtual dir in the application.

Due to this script not being included in the outputted html, I get
errors when a asp:linkbutton attempts tp call the __dopostback
function.

Thanks

Jim

<input type="hidden" name="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE"
value="dDwtMTAyNzY3MzI4Njt0PDtsPGk8MD47aTwyPjtpPDM +O2k8ND47aTw1Pjs+O2w8dDxwPGw8VGV4dDs+O2w8SG9tZVBhZ 2U7Pj47Oz47dDxwPGw8VGV4dDs+O2w8XDxtZXRhIG5hbWU9Imt leXdvcmRzIiBjb250ZW50PSJIb21lIFBhZ2UsIGlGYWN0b3J5L CBpUGxhdGZvcm0iXD47Pj47Oz47dDxwPGw8VGV4dDs+O2w8XDx tZXRhIG5hbWU9ImRlc2NyaXB0aW9uIiBjb250ZW50PSJIb21lI FBhZ2UgTWV0YSBEZXNjcmlwdGlvbiJcPjs+Pjs7Pjt0PHA8bDx UZXh0Oz47bDxcPGxpbmsgaHJlZj0iL2lGYWN0b3J5LkNNUy5VS
9TdHlsZXMvaUZhY3RvcnkuY3NzICJ0eXBlPSJ0ZXh0L2NzcyIg cmVsPSJzdHlsZXNoZWV0Ilw+Oz4+Ozs+O3Q8O2w8aTwxPjtpPD M+O2k8OT47PjtsPHQ8O2w8aTwwPjs+O2w8dDw7bDxpPDE+Oz47 bDx0PHA8cDxsPE5hdmlnYXRlVXJsOz47bDwvSG9tZVBhZ2UuaH RtOz4+Oz47Oz47Pj47Pj47dDw7bDxpPDE+O2k8Mz47aTw3Pjs+ O2w8dDxwPGw8c3JjOz47bDwvSW1hZ2VzL1NpZGVNZW51VG9wSW 1hZ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h0bTtMaW5rcyBIb21lO1ZpZXcgdGhlIGx pbmtzIGZvciB0aGUgc2l0ZTs+Ozs+Oz4+Oz4+Oz4+Oz4+Oz4+O z4+Oz5W+CCT9Ay6dTvq1Ux2XJiOXIjuAQ=="
/>

<script language="javascript" type="text/javascript">
<!--
function __doPostBack(eventTarget, eventArgument) {
var theform;
if (window.navigator.appName.toLowerCase().indexOf("m icrosoft") >
-1) {
theform = document.articleForm;
}
else {
theform = document.forms["articleForm"];
}
theform.__EVENTTARGET.value = eventTarget.split("$").join(":");
theform.__EVENTARGUMENT.value = eventArgument;
theform.submit();
}
// -->

</script>
Nov 19 '05 #1
0 1770

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Frankieboy | last post by:
Where is __doPostBack-function defined? I've got an application which generates a different __doPostBack-function when the code is being run on the server compared to the one on my laptop. The...
1
by: paul reed | last post by:
Hello, I am having some weird behavior between two machines...one which is running the 1.1 framework and one which is running 1.0. After opening a child form from a parent...I update the...
1
by: Adrian | last post by:
I appear to be losing ViewState information when calling the __doPostBack function. I am attempting to use the showModalDialog to load a new web page which confirms that a user wishes to save a...
0
by: Lance Ahlberg | last post by:
I have a aspx page with a LinkButton running under asp.net 2.0. When I access the page with Internet Explorer the __doPostBack script, __EVENTTARGET, and __EVENTARGUMENT field are present and...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.