473,406 Members | 2,371 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,406 software developers and data experts.

Smart Navigation is Not Working - ASP.net 1.1

5
Getting Out Of memory when navigating to next page if the smart Navigation is turned On.some times It Kills the Browser.Frame Work am using is 1.1.......
Jul 9 '07 #1
9 2153
Abish
5
Getting Out Of memory when navigating to next page if the smart Navigation is turned On.some times It Kills the Browser.Frame Work am using is 1.1.......
Sombody Help Me To Find Solution for this..
Jul 10 '07 #2
jhardman
3,406 Expert 2GB
Sombody Help Me To Find Solution for this..
Is this asp.net?

Jared
Jul 20 '07 #3
Abish
5
yes its Asp.Net.Do u have any solution for that
Jul 23 '07 #4
jhardman
3,406 Expert 2GB
yes its Asp.Net.Do u have any solution for that
No, but I'll move you to the right forum. ASP.NET questions belong in the .NET forum, not the ASP forum.

Jared
Jul 23 '07 #5
Frinavale
9,735 Expert Mod 8TB
Getting Out Of memory when navigating to next page if the smart Navigation is turned On.some times It Kills the Browser.Frame Work am using is 1.1.......

How are you navigating between pages?
Are you using Server.Transfer?
Jul 23 '07 #6
Plater
7,872 Expert 4TB
Well I had to try and look up what this smart-navigation is and found this:
http://msdn.microsoft.com/msdnmag/issues/05/09/WebQA/

As well as a newsgroup archive here:
http://www.thescripts.com/forum/thread286945.html
Jul 23 '07 #7
Abish
5
How are you navigating between pages?
Are you using Server.Transfer?
I tried Server.Transfer and Response.Redirect
But Same Error Is Getting
Jul 25 '07 #8
Frinavale
9,735 Expert Mod 8TB
I tried Server.Transfer and Response.Redirect
But Same Error Is Getting
I need a bit more information about the problem.
You said it is an out of memory error but it kills the browser.

Are you getting the out of memory error on the Web Server or are you getting this error on the client side?

I asked if you were using Server.Transfer because I am pretty sure there is a bug with using that method with the smart navigation. Server.Transfer sends all the information that has been assembled for processing by one ASP file to the another...all of the state information for all of the built in objects are included in this transfer. It's really nice in that you wont lose this when the transfer happens and you're able to conserve server resources but...I remember there is a bug when Server.Transfer and the smart navigation are used together.

Could you post any snippet of code that you think might be causing the error?

-Frinny
Jul 25 '07 #9
Abish
5
I need a bit more information about the problem.
You said it is an out of memory error but it kills the browser.

Are you getting the out of memory error on the Web Server or are you getting this error on the client side?

I asked if you were using Server.Transfer because I am pretty sure there is a bug with using that method with the smart navigation. Server.Transfer sends all the information that has been assembled for processing by one ASP file to the another...all of the state information for all of the built in objects are included in this transfer. It's really nice in that you wont lose this when the transfer happens and you're able to conserve server resources but...I remember there is a bug when Server.Transfer and the smart navigation are used together.

Could you post any snippet of code that you think might be causing the error?

-Frinny

Am Using Reponse.Redirect ErrorMessage is "Getting Out Of Memory".Its A script error.
The Sample Code:
private void TransferPage()
{
NavigationItemInfo navigationItemInfo = NavigationHistory.GetTargetNavigationItem(this.con tactId, (int)EntityType.Contact, Request.RawUrl, GenPage.SessionManager);
if(navigationItemInfo != null)
{
string url = navigationItemInfo.SourceItemInfo.Url;
switch((EntityType)navigationItemInfo.SourceItemIn fo.ModuleId)
{
case EntityType.Defect:
if(navigationItemInfo.SourceItemInfo.CurrentNaviga tionIds != null)
GenPage.SessionManager.Add(SessionManager.SessionC onstants.DEFECT_IDS, (string[])navigationItemInfo.SourceItemInfo.CurrentNavigati onIds);
break;
case EntityType.Console:
url = string.Format(QueryStrings.POPUP_QUERYSTRING, "../Console/Default.aspx", PageItems.CONSOLE, PageModes.VIEW, 0);
url = StringUtilities.GetEncryptedQueryString(url);
url = string.Format("{0}&CurURL={1}", url, navigationItemInfo.SourceItemInfo.Url);
break;
}
GenPage.RegisterHiddenField(AccentConstants.NAVIGA TE_URL_HIDDEN_FIELD_KEY, url);
}
else
{
string queryString = string.Format(QueryStrings.QUERYSTRING, PageItems.CONTACT, PageModes.VIEW, "0");
queryString = StringUtilities.GetEncryptedQueryString(queryStrin g);
Response.Redirect(queryString);
}
}
Aug 21 '07 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: anon | last post by:
How *EXACTLY* does Smart Navigation work? (I would really really really like for this Smart Navigation to work in Mozilla.) The inner workings and the code is what I am looking for. Does it...
0
by: Jason Rodman | last post by:
I have been working on a web app that uses IFrames for our edit screens. A main window contains static information, while an IFrame contains the editable page. I use javascript from the outer page...
1
by: Sal | last post by:
Greetings to all... I have a simple asp.net app. It consists of three aspx pages. I have enabled smart navigation on the pages. The app runs smoothly on the developer machine, but when I upload...
10
by: RodBillett | last post by:
Using SmartNavigation. Windows2003 Server Framework 1.0 (3705) IIS6 and I have IIS configured to utilize the 1.0 framework. Any Ideas why I would be getting the following jscript error within...
3
by: Lee Forst | last post by:
I have looked through tons of posts and I have not found a clear cut answer to my problem. Here is the problem. On my localhost, I have a ASP.NET application that has Smart Navigation...
1
by: thomson | last post by:
Hi all, i have enabled Smart Navigation in the Page attribute, My Webform has several Webform controls, all applied with style sheets from an external file. Problem --------- When a postback...
4
by: aschmidt | last post by:
Another bug in smart navigation. If smartnavigation is enabled in the page and session timeout occurs, the framework redirects you to wrong location of login.aspx page if you use Forms...
3
by: ajfish | last post by:
Hi, I have a web form with smart navigation turned on. the html has an onload event which calls a javascript function and the contents of this function are dynamically generated on the server...
0
by: keeper | last post by:
Recently a new windows update for internet explorer was released which seems to have broken stylesheets with smart navigation. The first request for the page works fine, but any subsequent...
54
by: Boris | last post by:
I had a 3 hours meeting today with some fellow programmers that are partly not convinced about using smart pointers in C++. Their main concern is a possible performance impact. I've been explaining...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...

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.