473,840 Members | 1,447 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

User Control Page_Load Twice AutoEventWireup ="false" SmartNavigation ="true"

Does smartnavigation on parent page make user controls page_load
twice...

Any fixes for this!!!

Problem is when boss sees smartnavigation he likes but it causes lots
of other bugs....why why!!!

Microsoft fix it!!!
Nov 18 '05 #1
2 3066
Hi,

I am not sure what the solution to your problem is, but here is a blog
posting with a lot of comments that would make me think twice before
using the smartnavigation feature:
http://weblogs.asp.net/ksamaschke/ar...4/27/6085.aspx

You will notice that SmartNavigation does not play well with non-IE
browsers.

Tod Birdsall, MCP
http://tod1d.blogspot.com

yu***@yahoo.co. uk (magister) wrote in message news:<98******* *************** ****@posting.go ogle.com>...
Does smartnavigation on parent page make user controls page_load
twice...

Any fixes for this!!!

Problem is when boss sees smartnavigation he likes but it causes lots
of other bugs....why why!!!

Microsoft fix it!!!

Nov 18 '05 #2
The issue seems to be with my usercontrols because they contain
Iframes, the aspx page called in the iframe does its OnInit twice. I
suppose this has to do with the SmartNav Iframe need to execute twice
once to call the server, and once to reload the main page with control
changes...I have looked at the smartnav script and can find nothing
obvious to stop this, although it must be there.
no*****@netsala d.com (Tod1d) wrote in message news:<94******* *************** ****@posting.go ogle.com>...
Hi,

I am not sure what the solution to your problem is, but here is a blog
posting with a lot of comments that would make me think twice before
using the smartnavigation feature:
http://weblogs.asp.net/ksamaschke/ar...4/27/6085.aspx

You will notice that SmartNavigation does not play well with non-IE
browsers.

Tod Birdsall, MCP
http://tod1d.blogspot.com

yu***@yahoo.co. uk (magister) wrote in message news:<98******* *************** ****@posting.go ogle.com>...
Does smartnavigation on parent page make user controls page_load
twice...

Any fixes for this!!!

Problem is when boss sees smartnavigation he likes but it causes lots
of other bugs....why why!!!

Microsoft fix it!!!

Nov 18 '05 #3

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

Similar topics

3
4575
by: Carpe Diem | last post by:
Hello I have an aspx page that loses Session("user") value after a few minutes even after I set <sessionState mode="InProc" cookieless="false" timeout="300"> in web.config and wrote function Session_Start() { Session.Timeout = 3000; } in global.asax
2
406
by: Guy Lafleur | last post by:
I have a user control that builds a treeview dynamically in the Page_Load event. Also, I have the AutoEventWireup property set to true (i.e., <%@ Control AutoEventWireup="true" %>). Then, when I 'run' the application, I get two treeviews instead of one. I'm thinking this is because of the AutoEventWireup property being set to true. 1. Am I correct? If so, if the AutoEventWireup property is true, why does it create two treeview in my user...
59
4607
by: Pierre Quentel | last post by:
Hi all, In some program I was testing if a variable was a boolean, with this test : if v in My script didn't work in some cases and I eventually found that for v = 0 the test returned True So I changed my test for the obvious "if type(v) is bool", but I still find it confusing that "0 in " returns True
1
2433
by: Andrew Robinson | last post by:
Woundering if anyone else has had issues with ConvertEmptyStringToNull="false" ? I have a custom data class and am passing values to it via an ODS. On my insert, if the bound text box is empty an empty string or "" is passed to my data object. On an update, an empty string is converted to null. The insert does not use the ConvertEmptyStringToNull="false" property and works the way I was hoping. Setting this property on the update...
4
6966
by: Jonathan Wood | last post by:
Okay, I spent about 3 hours getting the GridView control to do what I needed. Basically, I set the control's AutoGenerateColumns to False and then defined a single template column (which I will customize with my own content). This looks something like this: <asp:GridView ID="GridView1" runat="server" CellPadding="4" ForeColor="#333333" GridLines="None" AutoGenerateColumns="False" Width="100%" AllowPaging="False"
9
11199
by: Jamey Bon | last post by:
As a newbie to C#, I am not sure what I can do about this. I would like to do something like an Enumeration to use "constants" like Yes to indicate true and No for false. But since there seems to be no underlying 0 or non- zero for boolean values in C#, I am not sure how to handle this. Any advice would be appreciated. Thanks, JB
5
3908
by: Ben | last post by:
Hi; I use ain asp.net the CreateUserWizard control for new users. When it's done, i want to redirect them to another page (modifyprofile.aspx). This works with the code below. My question is: if i suppress the line "return false" in the javascript function profile(), the user is created but not redirected to the other aspx page. Can anybody explain me why?
1
2358
by: Kerem Gümrükcü | last post by:
Hi All, i am too tired now to find this out by my own, but why does my while loop "while(readline==Console.ReadLine())" needs twice return hit to read the line, after setting "Console.TreatControlCAsInput = true". How can i make it work like it would be set to "false", so that i only must hit the return once to get the input,... TIA
1
1422
by: =?Utf-8?B?WWFua2VlIEltcGVyaWFsaXN0IERvZw==?= | last post by:
there are times i want to turn a specific row in an html table off or hide it. I can set a <trcontrol with an id and a runat="server", but how do i find it, then set it to Visable="False"? A panel will cause problems for the designer. is there another way? --
0
9698
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
10916
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...
0
10598
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...
1
10657
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,...
1
7836
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
7022
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
5684
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
5872
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4071
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.