MasterType VirtualPath

  • Thread starter Thread starter ^MisterJingo^
  • Start date Start date
M

^MisterJingo^

Hi all,

are there any performance considerations to take into account when
referencing variables in the master page by using "MasterType
VirtualPath"? I'm trying to add a crumb trail to a site, and have
modified the master page to house it. I could use findcontrol, but it
seems like searching for the control would definately hit performance
if done on every page load.

Any views would be helpful,

Thanks.
 
Hi all,

are there any performance considerations to take into account when
referencing variables in the master page by using "MasterType
VirtualPath"? I'm trying to add a crumb trail to a site, and have
modified the master page to house it. I could use findcontrol, but it
seems like searching for the control would definately hit performance
if done on every page load.

Any views would be helpful,

Thanks.
 
no. its just overides the pages Master property to have a cast to the proper
type. then you don't have to use a cast to access members.

-- bruce (sqlwork.com)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top