Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > User Control Page_Load Twice AutoEventWireup="false" SmartNavigation="true"

Reply
Thread Tools

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

 
 
magister
Guest
Posts: n/a
 
      10-29-2004
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!!!
 
Reply With Quote
 
 
 
 
Tod1d
Guest
Posts: n/a
 
      10-29-2004
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

(magister) wrote in message news:<. 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!!!

 
Reply With Quote
 
 
 
 
magister
Guest
Posts: n/a
 
      11-01-2004
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.


(Tod1d) wrote in message news:<. 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
>
> (magister) wrote in message news:<. 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!!!

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Materpage page_load event fired after content page_load? rockdale ASP .Net 1 11-16-2006 06:59 PM
in VB.NET Page_load of a base class called after the derived class Page_load ? z. f. ASP .Net 0 10-19-2004 12:01 PM
Page_Load called twice in child user control--AutoEventWireup=false GJB ASP .Net Building Controls 0 05-05-2004 02:26 PM
Know in user control page_load if an user control event is going to be fired Fabrizio ASP .Net Building Controls 5 02-24-2004 02:07 PM
Why does page_load fire twice when inheriting from a common overridable Page_Load bminder ASP .Net 1 02-23-2004 08:54 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57