473,654 Members | 3,076 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

doPostBack error

tfs
I am working on sorting a datagrid and it works fine on my site.

The exact same page on my customer sites gives me an page cannot be
displayed (invalid syntax error - in window bar).

The Url is showing :

javascript:__do PostBack('DataG rid1:_ctl1:_ctl 0','')

This is exactly what it does in my site and it works fine.

What could be causing this on my customers site?

Thanks,

Tom.
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 18 '05 #1
3 1425
What are you trying to do, "Open in New Window?" You can't do that with javascript! I'd guess the target property of your links is messed up.

"tfs" <tf*@dslextre me-dot-com.no-spam.invalid> wrote in message news:40******** @Usenet.com...
I am working on sorting a datagrid and it works fine on my site.

The exact same page on my customer sites gives me an page cannot be
displayed (invalid syntax error - in window bar).

The Url is showing :

javascript:__do PostBack('DataG rid1:_ctl1:_ctl 0','')

This is exactly what it does in my site and it works fine.

What could be causing this on my customers site?

Thanks,

Tom.


Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com

Nov 18 '05 #2
tfs
I am not opening a new window. Also, the page works fine at my place
on my servers and at my clients server when (I am not connecting
through Terminal server). My client can connect to the pages on his
machines from another terminal server session. But I cannot do it
from my place.

I was surprised when I got to my clients office and it worked fine
there.

I also found that when I accessed the pages via Terminal Server, I
found that when I was using my password page (with the textbox set to
password textmode), I would get bullets, but everywhere else I got
stars.

Not sure if the differences are connected, however.

Tom.
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 18 '05 #3
tfs
Figured it out.

Apparently, if security is set to HIGH, I get the error.

If Medium or lower, it works fine.

Not sure why this is, but it works fine now.

Tom.
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Nov 18 '05 #4

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

Similar topics

0
1703
by: valmir cinquini | last post by:
Hi, I've noticed that a doPostBack call always cause the position of the page goes up to the top of the page, after round trip. I'd like to place the page at original position where it was before clicking in any web server control, as if I'm using the following <A NAME="some_anchor">anchor</a>
0
1419
by: Mike | last post by:
Is there a key that can be used to pass to the Page.IsClientScriptBlockRegistered() to check if the dopostback() function has already been registered to the page? If not any ideas on how to check for it from a composite server control that utilizes the client side script?
0
1079
by: Matt Petteys | last post by:
I'm using 1.1 framework and IE 6.0. A form within a user control generates the following doPostBack method. The control ID of the form is not a valid javascript variable name, ie UserProjectDataEntry1:EnterPeriodTime. When the page is loaded, I get a runtime error when it parses the following line. theform = document.UserProjectDataEntry1:EnterPeriodTime; This used to work on the 1.0 framework. Any ideas?
0
1076
by: jm | last post by:
In my form, datagrid, etc., I have it so when the user enters certain criteria and click the button, the appropriate records return. If the user enters no criteria, all the records return (in a give date range). Now, if the user enters a criterion and the records return AND there is more than one page, when the user hits the next page number, the dopostback runs and the page calls back ALL the records again (within that same date range)....
3
4106
by: Mad Scientist Jr | last post by:
I have some javascript I would like to run after a doPostBack occurs: onchange="javascript:__doPostBack('Text1','');" The doPostBack is being added dynamically by .NET when it renders the control. If anyone can tell me how to tell .NET to add the doPostBack BEFORE any javascript in the onchange event, it would be most appreciated.
4
4212
by: Zuel | last post by:
Hi Folks. So I have a small problem. My DoPostBack function is not writen to the HTML page nor are the asp:buttons calling the DoPostBack. My Goal is to create a totaly dynamic web page where the server generates the HTML based on a passed in parameter. In our case, CustomerID. Every Customer ges a branded website with there logos and webpage etc.. To Avoid having 1 ASP.Net application running for each client I am attempting a more...
0
4295
by: masoud bayan | last post by:
Hi , I used your suggested code to replace doPostBack in my application, but it seems window.onbeforeunload is called before, window.__doPostBack, so it can not change the condition for showing warning message. I am using datagrid with links as ButtonColumn but I do not want onbeforeunload event called when they are clicked. Any suggestion?
2
5532
by: DSipp | last post by:
First, I am not a developer. My company works with a partner. This partner has a web app that we interact with. All of my systems can connect and login to this site. When we select an issue link, the system does a "doPostBack" operation. Some of my systems have no issues and work fine. Others fail and time out. I have spoke to the developer at our partners company and he believes that his app is not the culprit. There is no rhyme or reason...
6
14447
by: Mark Olbert | last post by:
The doPostBack javascript functioning is not submitting the page when called by linkbuttons (or an autopostback checkbox, for that matter). I'm aware of a problem with Netscape browsers and the postback code, but I have a workaround for that installed (and it looks like the code generated by ASP.NET when it renders the page does the same thing, namely, setting document<). However, the problem still exists under firefox. Has anyone come...
0
1323
by: sanisani | last post by:
Hi, I write here for the first time, as a user and not as a programmer or developer. I have tried from my notebook to see the following address: http://www.vhsit.berlin.de/VHSKURSE/BusinessPages/CourseSearch.aspx I just fill in the gap SUCHTEXT with "cook" for example. It appears a list of courses. But when I clik on the KURSTITEL, it happens nothing! No extra window will be open. I have checked that PopUp Windows are not blocked! ...
0
8815
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8707
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8482
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8593
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7306
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6161
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5622
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4294
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1916
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.