I have never used StringBuilder ....I found some other examples in past threads... is this what I want?
Dim sbPop As New StringBuilder()
sbPop.Append("<Script Language=Javascript>"

sbPop.Append("<a href="" onclick='window.open('PopUpWindow.aspx')'value='open'>"

sbPop.Append("</Script>"

RegisterStartupScript("Open Window", sbPop.ToString())
sbPop = Nothing
What is RegisterStartupScript?
Quick note:
I was able to get a popup using 'spaghetti' code...warning it's ugly
<a href="" onclick='window.open("PopUpWindow.aspx"

' >
<asp:Button id="btnEdit" style="Z-INDEX: 117; LEFT: 40px; POSITION: absolute; TOP: 368px" runat="server" Height="48px" Text="Edit Answer" Width="104px">
</asp:Button>
</a>
I want to do this a beter way.
Thanks