c# - Page_Load is not executed in asp.net -


i have c# code

namespace zumaapp {      public partial class _default : system.web.ui.page     {         servicereference1.qslwebbookingsoapclient services;         public string callerid = "";         public int32 rowcount;         protected void page_load(object sender, eventargs e)         {             callerid = request["callerid"]; 

and in asp have this:

<%@ page title="vmp online booking" language="c#" masterpagefile="~/site.master"     autoeventwireup="true" codebehind="default.aspx.cs" inherits="zumaapp._default" %> 

my problem

the page load function not executing.

how did know that

first: make break point on first line in page_load function, visual studio doesn't stop @ break point.

second: make break point @ line public string callerid = ""; , visual studio stops on line, press step over page loaded without going page_load function.

i tried clean , rebuild dones't help

try delete .designer.cs , recreate convert web application option.

it can regenerated right clicking on aspx / ascx file , select convert web application option.

some times .designer.cs wont refreshed vs, , need apply method fresh .designer.cs file.


Comments

Popular posts from this blog

javascript - Count length of each class -

What design pattern is this code in Javascript? -

hadoop - Restrict secondarynamenode to be installed and run on any other node in the cluster -