Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > UserControl button reload page when clicked !!!!! View modes: 
User avatar
Member
Member
francis.harvey-irisco - 9/8/2010 3:02:16 PM
   
UserControl button reload page when clicked !!!!!
My customFilter contain a button and when i clicken on it, the page reload before the clicked event fire

When the page reload, i have lost all information i want to process

Why ? How can i avoid page reload ??

Thanks

User avatar
Member
Member
francis.harvey-irisco - 9/9/2010 9:03:39 AM
   
RE:UserControl button reload page when clicked !!!!!
So,

normal behavior of a button in asp is page reloading.....

i want to keep some info before reloading

how??

User avatar
Member
Member
Armysniper89 - 9/9/2010 6:57:25 PM
   
RE:UserControl button reload page when clicked !!!!!
You can add the information into ViewState or Session state.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 9/20/2010 7:49:11 AM
   
RE:UserControl button reload page when clicked !!!!!
Hi,

This depends on your particular implementation, if you are using postback or querystring mode and so on. You need to store the data you want to keep during the reload as suggested, but without details about your filter it is hard to say exactly how to do it.

Best regards,
Juraj Ondrus