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.
If I remove the corresponding line from web.config file, it works fine. Even
I observed the same behaviour if I add smartnavigation="true" in the page
directive instead of the web.config file.
Any clues ?
Thanx a lot. 2 1412
enable the smart nav. After the post back, view source. Check the href for
the css file, does it contain the entire URL?
"Snig" <sn****@yahoo.co.in> wrote in message
news:%2******************@TK2MSFTNGP10.phx.gbl... 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.
If I remove the corresponding line from web.config file, it works fine.
Even I observed the same behaviour if I add smartnavigation="true" in the page directive instead of the web.config file.
Any clues ?
Thanx a lot.
the URL of the css seems to be same before and after postback.
still before postback it is applying the css and after postback not.
but how come this kind of behaviour originates as a result of
"smartnavigation" ? as without smartnav the page works fine !
"DWinter" <dw*****@attbi.com> wrote in message
news:OO**************@TK2MSFTNGP09.phx.gbl... enable the smart nav. After the post back, view source. Check the href for the css file, does it contain the entire URL?
"Snig" <sn****@yahoo.co.in> wrote in message news:%2******************@TK2MSFTNGP10.phx.gbl... 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.
If I remove the corresponding line from web.config file, it works fine. Even I observed the same behaviour if I add smartnavigation="true" in the
page directive instead of the web.config file.
Any clues ?
Thanx a lot.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: kevin |
last post by:
hi, all
it seems that smartnavigation has problem with the hide/show panel in the
aspx page,
I have three panel wih back/next buttons, the first two page works fine, but
at the last
page,...
|
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: clintonG |
last post by:
Any known issues when using SmartNavigation with those other guys?
--
<%= Clinton Gallagher
A/E/C Consulting, Web Design, e-Commerce Software Development
Wauwatosa, Milwaukee County, Wisconsin...
|
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: Nestus |
last post by:
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...
|
by: Steve Peterson |
last post by:
Hi
I have a rather lengthy webform I'm working on in which I need the user to
be able to scroll to the same place between postbacks.
I tried turning on SmartNavigation and it seemed to work...
|
by: morrisdn13 |
last post by:
I have encountered a very strange problem that makes it look like the page
is not recreated in entirety after a postback when I turn on
smartnavigation.
If I click on a server control, the page...
|
by: Chris Liang |
last post by:
I added "SmartNavigation" directive to the Page tag and it works(keeping
page position) on my local machine. However, the code does not work in our
hosting server. I means the page position is not...
|
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: 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,...
|
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...
|
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...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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: 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...
| |