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=javasc ript>window.par ent.frames[""main""].location='Opci onReporte.a
spx';</script>")
Tks
Ernesto
MX 3 1889
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******@discu ssions.microsof t.com> escribió en el mensaje
news:EF******** *************** ***********@mic rosoft.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=javasc ript>window.par ent.frames[""main""].location='Opci onReporte.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******** *****@TK2MSFTNG P10.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=javasc ript>window.par ent.frames[""main""].location='Opci onReporte.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******** *****@TK2MSFTNG P09.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******** *****@TK2MSFTNG P10.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=javasc ript>window.par ent.frames[""main""].location='Opci onReporte.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. Some of the next buttons
have Validation enabled for input checking.
SmartNavigation is set to True.
If I proceed a few Panels in to the registration and try
to backup using a Back button I get a script debug error
from IE stating a value is...
|
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 files be
broken.
When an aspx page opens up for the first time, it displayed everything fine
as per the linked css file. But after postback the page is displayed without
any formatting, i.e. as if it could not find the css file.
|
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 several "Questions".
2. Within the code of the main page, there is a SelectedIndexChanged handler
for the RadioButtonList exposed by Question. The function loops through a
number of questions on the pages and hides/shows questions (control.visible...
|
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 FormsAuthentication.RedirectFromLoginPage,
quit working. They told me to recompile the code there, and it did not solve
these issues.
Do you have any clue what might cause the difference?
Thank you very much.
|
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 dropdownlist1_selectedIndexChanged then the page
would't get the css, and then the IE will generate error confirmation
dialog, then my browser will be closed.
I'm using iframe for my app, 2 frame -> top frame and content frame.
I use smartnavigation for...
| |
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 - ex: document.body.style.filter =
"Gray()";
I've set up a simple project with one page, one button to do the postback,
|
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 is when I go SmartNavigation property equal
True the MessageBox does not come up!
But if you open another window and return to the browser you can see the
pop-up window !!!
|
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 seen in the documentation that
says it limits the browser history. The pages in the application are in a
single IIS folder, which is set up as an application and is NT password
protected and SSL encrypted, and has the HTTP headers set to expire the...
|
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 we're using
the feature. It is mainly to avoid the flickering when posting back.
However we've got another project running, for which we would like to
turn SmartNavigation on, as we have an idea, that it will cause McAfee
ScriptScan to scan less...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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...
| |
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...
|
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,...
|
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...
|
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...
|
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();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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...
| |