ShowModalDialog() dopesnt support URL Anchors?

Discussion in 'ASP .Net' started by itc_sburnett, Sep 23, 2007.

  1. itc_sburnett

    itc_sburnett Guest

    I am trying to build a simple help system. I cant seem to get the
    ShowModalDialog to actually jump to the correct location.

    Why doesn't the following open the page to correct position?


    function JScriptHelpClick() {


    window.showModalDialog('Requirement_Help.aspx#Product',null,'status:no;dialĀ­
    ogWidth:
    370px;dialogHeight:220px;dialogHide:true;help:no;scroll:no');
    }


    In the Requirement_Help.aspx page I have:


    <h3><a name="Product">Product</a></h3>
    <p>Select the product this requirement is intended to test.&nbsp; The
    choices
    are:</p>


    I cant see why it wouldn't be supported....
     
    itc_sburnett, Sep 23, 2007
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.