asp.net - HttpHandler cannot find Content control -


i have aspx page cannot touch. it's shared page. however, want override navigation control page provides , instead use default content on masterpage. so, i'm being asked create http handler. handler intercept requests page , remove control overriding default content. 1 problem content control has no id. i've hooked page's preinit event , attempting traverse control heirarchy using recursive method find control using contentplaceholderid property. however, when go access page's controls property, shows single control, master page. cannot seem access other controls on .aspx page.

would know how able find content control?

this article on msdn should navigate through controls collections. master page controls


Comments

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -