Hello Everone,
I want to display page in IFrame when you click on menu item. This is how I am writing the code for it.
Code:
Dim prntMenu As New MenuItem("User", "", "", "~/User.aspx", "_Parent")
prntMenu.Target = "myIframe"
Menu1.Items.Add(prntMenu)
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.
Thanks
Nelly78