What does the script look like when you right-click the page and select
View Source?  You may just have an errant comma or quote in that mess of
concatenation (happens to everybody)...

Cheers,

Peter

On 9/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> Hi all,
>
> I am using the following code to produce a popup window when the user
> clicks a button. I am using VS 2.0:
> ClientScript.RegisterStartupScript(GetType(String), "", "<script
> language=""JavaScript"">" & _
> "PopupWindow=window.open('" & "CustomerDetails.aspx?ProductID=" & l1.Text& 
> "&StartDate>=" & Session("StartDate") & "&EndDate<=" & Session("EndDate")
> & ", width=500,height=280,top=300,left=100" & "');" & "PopupWindow.focus
> ();</script>")
>
> The popup window does appear. But I want to make the size of the window
> smaller and i want to center the page. It appears as though the width,
> height, and top is not working properly. It just ignores whatever I put in
> the above statement. Does anyone know what I am doing wrong?
>
> Thanks,
> Bob
>


[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNet2/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/AspNet2/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to