I want to display page in IFrame when you click on menu item. This is how I am writing the code for it.
Dim prntMenu As New MenuItem("User", "", "", "~/User.aspx", "_Parent")
prntMenu.Target = "myIframe"
But its opening the page in the new window instead of the given target of Iframe.
Also tried replacing "_Parent" with Iframe ID "myIframe" but no difference.
Could you please tell me where i am doing wrong.