G
Guest
Hi all,
So I set autoeventwireup=false in my aspx page. Now for some reason the
method below doesnt get executed. How do I get it to execute?
public partial class App_Fees_list_fees : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
InitControls();
}
protected void InitControls()
{
string[] keys = new string[1];
keys[0] = "feeid";
list.DataKeyNames = keys;
list.EmptyDataText = "Sorry, no fees were found in the database.";
pnl_list.Visible = true;
//pnl_details.Visible = false;
LoadData();
}
}
TIA!
So I set autoeventwireup=false in my aspx page. Now for some reason the
method below doesnt get executed. How do I get it to execute?
public partial class App_Fees_list_fees : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
InitControls();
}
protected void InitControls()
{
string[] keys = new string[1];
keys[0] = "feeid";
list.DataKeyNames = keys;
list.EmptyDataText = "Sorry, no fees were found in the database.";
pnl_list.Visible = true;
//pnl_details.Visible = false;
LoadData();
}
}
TIA!