A
alexandis
I use additional custom attributes in sitemapnodes of my web.sitemap,
besides - it contains startUrl to navigate to when leaving login page,
depending on role.
<siteMapNode startUrl="Clients/clientlist.aspx" title="Clients"
roles="admin,partner" startFor="admin,partner">
All in all - i need to invoke my custom xmlsitemap provider in
logged_in event of login control to access my custom methods and
properties. But i have no idea how to do this! I create my provider
instance in logged_in event (i suspect i shouldn't do this directly)
and when I try to call its custom method - i'm getting:
"XmlSiteMapProvider is not initialized. Call Initialize() method
first".
besides - it contains startUrl to navigate to when leaving login page,
depending on role.
<siteMapNode startUrl="Clients/clientlist.aspx" title="Clients"
roles="admin,partner" startFor="admin,partner">
All in all - i need to invoke my custom xmlsitemap provider in
logged_in event of login control to access my custom methods and
properties. But i have no idea how to do this! I create my provider
instance in logged_in event (i suspect i shouldn't do this directly)
and when I try to call its custom method - i'm getting:
"XmlSiteMapProvider is not initialized. Call Initialize() method
first".