473,386 Members | 1,823 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,386 software developers and data experts.

Problem for IE 6 / ASP.NET with Smartnavigation

Im developing an ASP.NET application in .net 1.1.

I have a page where i have a dropdownbox in top. The page have added 4 user
wich all are hidden. According to the selection in the ropdown i show a User
Control.

My problem is, when enabling Smatnavigation, that some of my javascripts
suddenly get null references. I see why (I guess) when i view the source for
the page its not what the page is showing (!?!).

Its showing the htmlcode for one of the usercontrols...Very strange. I guess
must be a question about caching with this behavior, and the IFRAME thing
wivh SmartNav uses.

If i use mozilla it works...but of course....the hmtl output is downgraded
to a non-smartnav edition.

Any suggestions? You think its a cach question?, if yes any suggesiton how
to get around it?

Thanks in reagards
Anders, Denmark

Nov 19 '05 #1
1 958
you have to include all your javascript on the first render of your page. in
smartnav, the postback happens in the hidden iframe, then the dom is copied
to the main frame. javascript include in the postback, is in iframe, and not
copied. if your clever, you postback javascript can detect it in smartnav,
and copy itself to the main frame. read the smart nav code js code, and it
should be obvious how to do this.
-- bruce (sqlwork.com)

"Anders K. Jacobsen [DK]" <no**@at.all> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
| Im developing an ASP.NET application in .net 1.1.
|
| I have a page where i have a dropdownbox in top. The page have added 4
user
| wich all are hidden. According to the selection in the ropdown i show a
User
| Control.
|
| My problem is, when enabling Smatnavigation, that some of my javascripts
| suddenly get null references. I see why (I guess) when i view the source
for
| the page its not what the page is showing (!?!).
|
| Its showing the htmlcode for one of the usercontrols...Very strange. I
guess
| must be a question about caching with this behavior, and the IFRAME thing
| wivh SmartNav uses.
|
| If i use mozilla it works...but of course....the hmtl output is downgraded
| to a non-smartnav edition.
|
| Any suggestions? You think its a cach question?, if yes any suggesiton how
| to get around it?
|
| Thanks in reagards
| Anders, Denmark
|
|
|
Nov 19 '05 #2

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

Similar topics

0
by: karim | last post by:
I have a datalist with an itemedittemplate. When I have smartnavigation on, I can't exit out from edit mode with EditItemIndex = -1. When smartnavigation is off, everything works fine. I know...
5
by: Shawn Mehaffie | last post by:
I have a secure site that has aspx pages and the content is all generate for the site using ascx controls that are loaded dynamically as needed. similar to dotNetNuke. When I am at the office...
1
by: datta_ak | last post by:
Hi, Adding Smartnavigation=true attribute to page directive Of sample.aspx is causing erratic behavior to the page. All links and buttons on clicking is opening popup of the same...
2
by: Mark Goldin | last post by:
I am trying to use SmartNavigation="true" in my Page directive. My page has two radiobuttons. Both buttons have AutoPostBack enabled. When I am clicking on the buttons they are changing data source...
1
by: Peter Rilling | last post by:
Past threads on Google do not offer much help or explanation, so maybe someone can offer a fresh perspective. I have a website that is installed on both a test and production environments. This...
0
by: Alfonso Alvarez | last post by:
Hi all: I have a problem with my webpage when I try to make a response.redirect and i have de smartnavigation option set true. If I put smartnavigation to false it works fine, but if I have...
2
by: Raghuram | last post by:
Hi All, I my project i am using Java Script menu ( Drop down menus ) and i enabled the SmartNavigation functionality in the aspx pages and because of that drop down menu's are getting disabled....
1
by: Kottan1970 | last post by:
I have a problem using a mulitline TextBox in .NET 1.1 with SmartNavigation. The text wrapping doesn't work correctly. If I click into the textarea and click ESCAPE the text is displayed correctly....
5
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...
0
by: Burak Gunay | last post by:
Hello, I have a form with a div inside another div, as shown. <%@ Page Language="vb" AutoEventWireup="false" smartnavigation="true" CodeBehind="smartnavtest.aspx.vb"...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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
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,...

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.