more rendering optimizations
This commit is contained in:
parent
352e20f01b
commit
88a07ecf63
@ -46,7 +46,10 @@ else
|
|||||||
foreach (Module module in PageState.Modules.Where(item => item.PageId == PageState.Page.PageId))
|
foreach (Module module in PageState.Modules.Where(item => item.PageId == PageState.Page.PageId))
|
||||||
{
|
{
|
||||||
// set renderid - this allows the framework to determine which components should be rendered when PageState changes
|
// set renderid - this allows the framework to determine which components should be rendered when PageState changes
|
||||||
|
if (module.RenderId != PageState.RenderId)
|
||||||
|
{
|
||||||
module.RenderId = PageState.RenderId;
|
module.RenderId = PageState.RenderId;
|
||||||
|
}
|
||||||
|
|
||||||
var pane = module.Pane;
|
var pane = module.Pane;
|
||||||
if (module.ModuleId == PageState.ModuleId && PageState.Action != Constants.DefaultAction)
|
if (module.ModuleId == PageState.ModuleId && PageState.Action != Constants.DefaultAction)
|
||||||
|
Reference in New Issue
Block a user