473,396 Members | 2,018 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,396 software developers and data experts.

javascript:__doPostBack error

Hi all,
I have developed a web page with a sortable DataGrid with Select button
column in ASP.Net. It works fine in inernet explorer. The purpose of the web
page is to display it in a third party application. When I try to open my
page in that application, it loads fine. But when I click on any of the link
buttons to sort or select rows, it opens up a new blank internet explorer
window. Its address bar contains the following text:
javascript:__doPostBack('dgProposals$_ctl2$_ctl0', '')

At the bottom of the page it displays an icon that says "Done" next to it.
When I click on the icon, it displays the details of the error. The error
is - "object expected".

Please note that if I open the page in internet explorer, I can sort
and select rows. The problem occurs only when I open the page in the third
party application. This is my first web application. So I don't know whether
the problem is in my application or the third party application does not
support the functionality I am trying to use.

Please help...

Thanks...
-Nikhil
Nov 18 '05 #1
3 5888
Sounds to me like the 3rd party app, does support JavaScript or any html
page processing beyond HTML. When the link to click is encountered it
doesn't know to open the page within itself, so it calls IE to do it. When
IE opens, some of the postback arguments aren't getting passed or
understood.
"Nikhil Patel" <ni********@aol.com> wrote in message
news:uV**************@TK2MSFTNGP12.phx.gbl...
Hi all,
I have developed a web page with a sortable DataGrid with Select button
column in ASP.Net. It works fine in inernet explorer. The purpose of the web page is to display it in a third party application. When I try to open my
page in that application, it loads fine. But when I click on any of the link buttons to sort or select rows, it opens up a new blank internet explorer
window. Its address bar contains the following text:
javascript:__doPostBack('dgProposals$_ctl2$_ctl0', '')

At the bottom of the page it displays an icon that says "Done" next to it.
When I click on the icon, it displays the details of the error. The error
is - "object expected".

Please note that if I open the page in internet explorer, I can sort and select rows. The problem occurs only when I open the page in the third
party application. This is my first web application. So I don't know whether the problem is in my application or the third party application does not
support the functionality I am trying to use.

Please help...

Thanks...
-Nikhil

Nov 18 '05 #2
Thanks Scott.
Is there a solution or work around for this problem? Why would the 3rd
party app try to open a new window when I want to sort or select rows?

-Nikhil

"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:ee**************@TK2MSFTNGP12.phx.gbl...
Sounds to me like the 3rd party app, does support JavaScript or any html
page processing beyond HTML. When the link to click is encountered it
doesn't know to open the page within itself, so it calls IE to do it. When IE opens, some of the postback arguments aren't getting passed or
understood.
"Nikhil Patel" <ni********@aol.com> wrote in message
news:uV**************@TK2MSFTNGP12.phx.gbl...
Hi all,
I have developed a web page with a sortable DataGrid with Select button column in ASP.Net. It works fine in inernet explorer. The purpose of the

web
page is to display it in a third party application. When I try to open my page in that application, it loads fine. But when I click on any of the

link
buttons to sort or select rows, it opens up a new blank internet explorer window. Its address bar contains the following text:
javascript:__doPostBack('dgProposals$_ctl2$_ctl0', '')

At the bottom of the page it displays an icon that says "Done" next to it. When I click on the icon, it displays the details of the error. The error is - "object expected".

Please note that if I open the page in internet explorer, I can

sort
and select rows. The problem occurs only when I open the page in the third party application. This is my first web application. So I don't know

whether
the problem is in my application or the third party application does not
support the functionality I am trying to use.

Please help...

Thanks...
-Nikhil


Nov 18 '05 #3
Without knowing more about the 3rd part app, it's very hard to say, but when
you click a link on a DataGrid (which to the application is rendered as just
an HTML hyperlink with JavaScript attached to it) it is like requesting a
web page. So, my guess is that the 3rd party app wasn't designed to follow
hyperlinks displayed within it. Or, the app. is not JavaScript aware.
"Nikhil Patel" <ni********@aol.com> wrote in message
news:ub**************@TK2MSFTNGP09.phx.gbl...
Thanks Scott.
Is there a solution or work around for this problem? Why would the 3rd party app try to open a new window when I want to sort or select rows?

-Nikhil

"Scott M." <s-***@BADSPAMsnet.net> wrote in message
news:ee**************@TK2MSFTNGP12.phx.gbl...
Sounds to me like the 3rd party app, does support JavaScript or any html
page processing beyond HTML. When the link to click is encountered it
doesn't know to open the page within itself, so it calls IE to do it.

When
IE opens, some of the postback arguments aren't getting passed or
understood.
"Nikhil Patel" <ni********@aol.com> wrote in message
news:uV**************@TK2MSFTNGP12.phx.gbl...
Hi all,
I have developed a web page with a sortable DataGrid with Select button column in ASP.Net. It works fine in inernet explorer. The purpose of the
web
page is to display it in a third party application. When I try to open my page in that application, it loads fine. But when I click on any of
the
link
buttons to sort or select rows, it opens up a new blank internet explorer window. Its address bar contains the following text:
javascript:__doPostBack('dgProposals$_ctl2$_ctl0', '')

At the bottom of the page it displays an icon that says "Done" next to it. When I click on the icon, it displays the details of the error. The error is - "object expected".

Please note that if I open the page in internet explorer, I
can sort
and select rows. The problem occurs only when I open the page in the

third party application. This is my first web application. So I don't know

whether
the problem is in my application or the third party application does

not support the functionality I am trying to use.

Please help...

Thanks...
-Nikhil



Nov 18 '05 #4

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

Similar topics

2
by: TeknoCat | last post by:
Hey everyone, I may be repeating myself here, but if someone sent a reply then I missed it, and I can't get Outlook Express to download any messages more than 2 days old. Anyway, I'm having a...
4
by: bredal Jensen | last post by:
I'm trying to generate a postback to the server when my radio button is selected. This code MyRadio.Attributes.Add("onclick",__doPosback(info,'')) does generate a javascript error. Info is an...
0
by: Steve Richter | last post by:
ok, I admit I dont know what I am doing ... When a user clicks on a <tr> in a <table> I want the page to be posted back to the server with info as to what row was clicked. <tr...
14
by: Rich | last post by:
I am converting my enterprise solution from VS 2003 (.NET v1.1.4322) to VS 2005 (.NET v2.0.50727). The entire solution uses serveral technologies - Windows Server 2003 (AD, SQL Server 2000, IIS,...
18
by: William | last post by:
I have the following javascript function that updates a scroll_list and sends the updated entry (with its index) to a server script ( i.e. http://mkmxg00/cgi/confirmUpload.pl ) for further...
11
by: TJM | last post by:
Hi, A Javascript error is generated when the user types a few character in an INPUT TYPE=FILE and hits a submit button. The form does not post. Is there a solution to this problem? Thanks TJM
3
by: rizzy | last post by:
Hello, I have an address form which has a select box with countries and another select box with provinces. When I select a certain country I cause a postback by using javascript __doPostBack...
0
by: codeshelp | last post by:
I have a gridview that has a ButtonField(Insert) that calls a detailsview which allows you to insert data to the gridview. The postback for this buttonField is:...
1
by: Batmaninls | last post by:
I have this code e.Cell.Controls.Add(new LiteralControl("<br /><a href=\"javascript:__doPostBack('Caledar1','" + dtEvent.ToShortDateString() + "')\"><img src=\"" +...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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,...

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.