• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 769
  • Last Modified:

Pop up a aspx page from a Sharepoint portal page hyperlink

I want to pop up an aspx page from the Sharepoint portal page.
I want to create a hyperlink, and then when the hyperlink is clicked I want to pop up the aspx page.

I know how to poup a page using code behind or javascript but not sure how I can do that from a SharePoint portal page

StringBuilder sb = new StringBuilder();
 sb.Append("window.open('somepage.aspx?','mywindow','width=900,height=600,resizable=1,top=50,left=50,scrollbars=1');");
 ScriptManager.RegisterClientScriptBlock(this.Page, this.Page.GetType(), this.ClientID, sb.ToString(), true);
0
countrymeister
Asked:
countrymeister
  • 2
1 Solution
 
countrymeisterAuthor Commented:
radcaesar
I tried this out, and it gives me an error

Invalid URL value
A URL field contains invalid data. Please check the value and try again.
Not sure my syntax is correct

<CustomAction>
Title="Manage Lists"
<urlaction url="javasscript:void window.open('http://devserver/action/List.aspx' 'list','width=600,height=900,resizable=1,top=50,left=50,scrollbars=1')"/>
</CustomAction>
0
 
countrymeisterAuthor Commented:
Did not find a solition to this
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now