473,698 Members | 2,574 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 1090

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

Similar topics

2
1426
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
7232
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
1631
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
1834
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
2011
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
1800
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
3391
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
8627
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
979
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
8610
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
9170
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, 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...
1
8902
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,...
0
7740
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
6528
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
4372
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
4623
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2339
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2007
bsmnconsultancy
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...

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.