473,748 Members | 4,697 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SmartNavigation doesn't work on first postback (but on all subsequent postbacks)

Hi All,

I have a website with SmartNavigation set in the Web.Config (I have read
quite a lot on the merits/pitfalls of SmartNavigation ). Many of the website
pages have Datagrids with selectable rows. The first time a user selects a
row, the page scrolls to the top, but from then on Smart Navigation seems to
work fine, and the page doesn't scroll back to the top.

The situation also occurs on pages which don't have Datagrids, but Smart
Navigation is used by some of our custom components.

Please let me know if you require any more information, thanks in advance.

Ryan
Nov 18 '05 #1
0 1092

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

Similar topics

2
1433
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.
4
7234
by: Tom Wisnowski | last post by:
Hello all, Here is a simple example of what I'm doing... Create a ASPX page Add a PlaceHolder(plch) and a Button(btn) to the page. In the code behind on Page_load add the following... TextBox txt = new TextBox(); if(!IsPostBack)
5
1634
by: ddt.demos.su | last post by:
I have had some problems with using Samrtnavigation. Using a frame solution where initially a datagrid is displayed, which when an item is selected hides the datagrid panel & presents a panel of controls that have validation. Without smatnavigation this works fine, with it enabled the error message 'can't find script....' occurrs. One thing I found that cures it is setting; in I.E. the 'Check for newer versions of stored pages' to...
3
1835
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 fine - the page was was scrolled to the same place between postbacks. However, iexplorer.exe will throw an error if I close the browser at this page. If I follow a link from this page to another page or hit "back" button & close, then browser...
2
2021
by: Wysiwyg | last post by:
Has anyone found a reasonable way to emulate smartnavigation functionality for any browser? I'd really like to avoid creating history entries when posting back to the same page. SmartNavigation takes care of the annoying problem caused by creating a new history entry when a page posts to itself. Only Internet Explorer will support this functionality. When SmartNavigation is enabled the client executes javascript code from the SmartNav.js...
7
1803
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 is returned blank. I have a JavaScript routine displaying a session countdown in the browser statusbar that continues counting without resetting as it normally would after a postback. An error icon is displayed in the browser statusbar after the...
5
3393
by: js | last post by:
I am having a problem with a dynamicly added DataGrid that always shows the first data page even the message in the DataGrid.PreRender shows the correct datapage as the DropDownList control's SelectedIndex. The DataGrid CurrentPageIndex is controlled by a DropDownList control. Anyone knows what might be going wrong? Thanks. The addDataGrid() is fired by the following 3 events: private void btnLookup_Click(object sender,...
3
8640
by: cmay | last post by:
I have just started created a web app in asp.net 2.0. I am using a masterpage for header/footer stuff. In my content page I am using MaintainScrollPositionOnPostback, and while it does keep the scroll position there is a lot of flicker on postback where as when I did this with asp.net 1.1 you could hardly tell that a postback has happening. Is there something else I need to do or did ASP.NET 2.0 remove the
0
980
by: dihola | last post by:
Hi all, I have a page (C# ASP.NET) with a link button which when clicked, executes a postback that downloads a file for the user. The way this file is downloaded is: FileInfo file = new FileInfo(HttpContext.Current.Server.MapPath(filename)); if (file.Exists) { HttpContext.Current.Response.Clear(); HttpContext.Current.Response.AddHeader("Content-Disposition", "attachment; filename=" +...
0
8984
marktang
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...
0
8823
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
9363
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
8237
agi2029
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...
1
6793
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
6073
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
4593
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...
0
4864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.