I am baffled, I am using a treeview to set the source of an iframe. The web page is being displayed correctly, but User.IsInRole(" roleName"), in the code behind, always returns false. The strange thing is User.Identity.N ame returns the correct user name. I have tried setting the target of the tree view nodes to "_blank" and to "_self" and still no luck. So, it doesn't appear that the problem is related to the iframe.
Before the treeview was added, javascript was used to set the source for the iframe and User.IsInRole returned the correct values.
Any ideas?
Before the treeview was added, javascript was used to set the source for the iframe and User.IsInRole returned the correct values.
Any ideas?
Comment