Ribbon too slow from Code Behind

Apr 18, 2011 at 2:59 PM

Hi all,

I´m creating the Ribbon 100% from code behind from a MySql table using Master Page with WebUserControl (.ascx).

The problem of creating the Ribbon from the Code Behind, is that the code should be run on each requested page with this, the site is slow.

 I tried running the code only when there is new post, but the entire contents of the Ribbon is erased.

My question, it´s possíble create the Ribbon by code just when it´s not postback?

 

Regards,

 

Marcelo Henrique