Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

MasterPage issue...

$
0
0

Hello there.

I have one MasterPage and 2 pages(Home.aspx and LogIn.aspx).

I set as StartPage the Home.aspx.

When i begin the project the debugger first passes by the Page_Load(Home.aspx) and after Page_Load(MasterPage). Very nice!!!

when i click the LogIn.aspx link by menu(in masterPage) the debugger first passes by AGAIN FROM THE Page_Load(Home.aspx) .......WHY??????????(...after masterPage after Login.aspx and finally again from MasterPage.....)

Is there any solution when i click the LogIn link to pass by Login.aspx Page_Load method and finally masterPage Page_Load method???

pls help me!!!Frown

All pages are empty(simple).. neither img nor src...


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>