modal popup Javascript in asp.net

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • csgraham74@hotmail.com

    modal popup Javascript in asp.net

    Hopefully someone can help me with this

    im trying to creat a modal dialog box in asp.net using the following

    Dim str_JavaPopup As String = "<script language" &
    "='javascript'> window.showModa lDialog('frm_Mo reInfo.aspx?Pro ductImage="
    & str_ImageName & "&ProductDe sc=" & str_Description & "','dialogWidth :
    100px;dialogHei ght: 100px;center: yes;resize: no;status: no;help:
    no');</Script>"

    Me.Page.Registe rStartupScript( "Startup", str_JavaPopup)

    the window opens fine but the window does not resize

    is my code ok??

    thanks in advance

  • Yann-Erwan Perio

    #2
    Re: modal popup Javascript in asp.net

    csgraham74@hotm ail.com wrote:

    Hi,
    [color=blue]
    > 100px;dialogHei ght: 100px;center: yes;resize: no;status: no;help:[/color]
    [color=blue]
    > the window opens fine but the window does not resize[/color]

    Well, what about setting resize:yes instead of no? ;-)


    HTH,
    Yep.

    Comment

    Working...