Hi, everyone.
I have problem with perfomance in my website.
I am using NHibernate to retrieve my database tables and AspxGridView as component from DevExpress. After debug I found problem connecting with dual calling Page_Load event.
What can I do?? May be devexpress gridview after initialize make ajax request to server and page life cycle run again?
sample:
protected Page_Load(Object sender, EventArgs e)
{
if (!IsPostBack)
{
grid.DataSource = GetValuesFromHibernate();
grid.DataBind();
}
}
Call Page_Load: 2
Thank you.