views:

335

answers:

3

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.

A: 

Hi, DevExpress has a very good support center. Ask your questions. After their answer publish it here. I'm using DevEx too :-)

merin
A: 

Hi, everyone.

I didn't any solutions, but when I try to write again project code. It's work great.

Thanks guys.

oivoodoo
A: 

Dont use Devexpress on your WEB APPLICATION

cenk Taylan Düz