Quantcast
Channel: ActiveTopics
Viewing all articles
Browse latest Browse all 72689

Unable to retrieve the children from current page

$
0
0

hi, I am using umbraco 7, There will be two pages I created one is home and another is login. I added the login as child under the home page.

When comes to dot net I created one controller and in that I am retrieving the login by using like this Page=CurrentPage.Children.FirstOrDefault(c => c.DocumentTypeAlias == "login"); I am getting Null value reference

Please anyone help me to solve this problem

Thanks,


Viewing all articles
Browse latest Browse all 72689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>