473,699 Members | 2,702 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

javascript:__do PostBack 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:__do PostBack('dgPro posals$_ctl2$_c tl0','')

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 5910
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******** ******@TK2MSFTN GP12.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:__do PostBack('dgPro posals$_ctl2$_c tl0','')

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******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP12.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:__do PostBack('dgPro posals$_ctl2$_c tl0','')

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******** ******@TK2MSFTN GP09.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******** ******@TK2MSFTN GP12.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******** ******@TK2MSFTN GP12.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:__do PostBack('dgPro posals$_ctl2$_c tl0','')

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
2205
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 problem with some new pages I am creating for the Web site at www.weaverdevore.ca and I am wondering if anyone here might be able to help. Here is a full description of the problem:
4
10899
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 integer value i need to send to my server in the query string ..... Can someone help me with this? Thanks
0
1916
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 style="background-color:ffecd8" onmouseover="this.style.backgroundColor='#ffdcff';" onmouseout="this.style.backgroundColor='#ffecd8';" onclick="javascript:__doPostBack('row1')">
14
25621
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, ASP.NET, ASP.NET Mobile) Windows Mobile 2003 (Pocket IE) I have completed a portion of the conversion (ASP.NET Mobile pages for PIE, and some of the ASP.NET-bases web services), and while testing I have a runtime error that did not exist in the...
18
7326
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 processing: function saveText( scroll_list, t_area, listToBeUpdated ) { scroll_list.options.text = t_area.text; scroll_list.options.value= t_area.value; var req; var url = "http://mkmxg00/cgi/confirmUpload.pl";
11
2366
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
4644
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 function. I also have a submit button. It works perfectly in both firefox and IE when I click on selectbox and select a country - it posts back and then on page load I populate the provinces based on the country just selected. - EXCEPT: when I...
0
2267
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: "javascript:__doPostBack('ctl00$POPAContentPlaceHolder$grdRemarks','Insert$0')", which takes me to the details view and were I click on a 'New' link with it's postback: "javascript:__doPostBack('ctl00$POPAContentPlaceHolder$grdRemarks$ctl01$DetailsView2','New$0')" How can I call...
1
3105
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=\"" + ResolveClientUrl("~/Administration/Images/Site/goldSquare.gif") + "\" border=\"0\" /></a>")); I need to fire at event on the code behind is there a way to do this?
0
8613
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9172
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
9032
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...
0
8880
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...
1
6532
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
5869
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
4374
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3054
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2008
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.