Hi, im developing a solution in ASP.Net, i have a page that i need to use
the smartnavigation in true, the problem occurs when i put in the directive
@Page SmartNavigation = true my page trhows a error in the next line, i
really dont understand why the page trhows that error. Here is the line that
make the error.
Response.Write("<script
language=javascript>window.parent.frames[""main""].location='OpcionReporte.a
spx';</script>")
Tks
Ernesto
MX 3 1856
That will be the solution if you use SmartNavigation don't use javascript,
but here appears another problem that i solved with javascript and is that
i need to open a page in a diferent frame that was requested, do you know
how to do that but without javascript
Tks for everything
Ernesto
MX
"sstevens" <ss******@discussions.microsoft.com> escribió en el mensaje
news:EF**********************************@microsof t.com... I have run into similar problems and have done some research. The
consensus that I have found is that smartnavigation and javascript don't play well together. If you set smartnavigation to false I bet your page will work fine. I have not found a way around this issue and I would to curious to know if there is one. As for me I have just found ways to not use
javascript on pages that need smartnavigation.
"Nestus" wrote:
Hi, im developing a solution in ASP.Net, i have a page that i need to
use the smartnavigation in true, the problem occurs when i put in the
directive @Page SmartNavigation = true my page trhows a error in the next line, i really dont understand why the page trhows that error. Here is the line
that make the error.
Response.Write("<script
language=javascript>window.parent.frames[""main""].location='OpcionReporte.a spx';</script>")
Tks
Ernesto MX
because smart nav works by posting to a hidden frame, when you code
refrences window.parent, its the posting page, not the posting pages parent.
as smart nav using the hidden frame is determined at client time, your code
needs to do a little testing to detemine if its in hidden iframe or not.
-- bruce (sqlwork.com)
"Nestus" <jedd98@hotmail> wrote in message
news:O7*************@TK2MSFTNGP10.phx.gbl... Hi, im developing a solution in ASP.Net, i have a page that i need to use the smartnavigation in true, the problem occurs when i put in the
directive @Page SmartNavigation = true my page trhows a error in the next line, i really dont understand why the page trhows that error. Here is the line
that make the error.
Response.Write("<script
language=javascript>window.parent.frames[""main""].location='OpcionReporte.a spx';</script>")
Tks
Ernesto MX
could you give a little example about the testing ???
Tks
"bruce barker" <no***********@safeco.com> escribió en el mensaje
news:O3*************@TK2MSFTNGP09.phx.gbl... because smart nav works by posting to a hidden frame, when you code refrences window.parent, its the posting page, not the posting pages
parent. as smart nav using the hidden frame is determined at client time, your
code needs to do a little testing to detemine if its in hidden iframe or not.
-- bruce (sqlwork.com)
"Nestus" <jedd98@hotmail> wrote in message news:O7*************@TK2MSFTNGP10.phx.gbl... Hi, im developing a solution in ASP.Net, i have a page that i need to
use the smartnavigation in true, the problem occurs when i put in the directive @Page SmartNavigation = true my page trhows a error in the next line, i really dont understand why the page trhows that error. Here is the line that make the error.
Response.Write("<script
language=javascript>window.parent.frames[""main""].location='OpcionReporte.a spx';</script>")
Tks
Ernesto MX
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Chris Ruegsegger |
last post by:
I have a registration type page that asks a series of
questions but does so using Panels to display only a
couple at a time. I have a Next and Back button on each
panel for navigation purposes. ...
|
by: Snig |
last post by:
Hi All
I wanted to enable "SmartNavigation" in my site.
For this I put <pages smartNavigation="true" /> in web.config file. So far
so good. But it causes the link from the aspx pages to the css...
|
by: SLE |
last post by:
A web user control exposes a RadioButtonList (with AutoPostBack = true)
called "Question". This control also has an embedded RequiredFieldValidator
control.
1. Main ASPX page is populated with...
|
by: Dagong Wang |
last post by:
Hi,
I have an ASP.NET application that works fine in my testing server. However,
when I uploaded it into a hosting server, page SmartNavigation option and
server side redirection, such as...
|
by: Bobby |
last post by:
Hi all...
I rather confuse using smartnavigation in my web application because if I
set the "smartnavigation = true" then If I run my app, then after I post
page that page, using event...
|
by: Greg Leizerowicz |
last post by:
I'm crashing IE 6 when doing the following:
1. turn on SmartNavigation
2. run the following sequence a few times (IE will crash around the 3rd
time):
a. PostBack
b. set a filter using jscript...
|
by: Martz |
last post by:
Hello everyone
I just use a MsgBox component for ASP.NET using Methods such as Render and
OnPreRender and JavaScript involved to get a simple Confirmation Box in
client side, but the funny thing...
|
by: |
last post by:
I am working on an ASP.NET application that seems to be limiting browser
histories to only one entry. I am not using SmartNavigation on any of the
pages, and that is the only thing that I have...
|
by: Mogens Nielsen - Elbek & Vejrup A/S |
last post by:
Hi,
I can see from the msdn-docs that SmartNavigation is now obsolete. Why
is that?
The SmartNavigation feature has been replaced by
MaintainScrollPosition, but the scoll position is not why...
|
by: DolphinDB |
last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation.
Take...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |