calling js file from button in isv.config

Yanıt calling js file from button in isv.config

  • 07 Kasım 2008 Cuma 05:11
     
     

     

    Hi everybody,

     

    I have created one custom button in isv.config.

     

    If i click that button it will call one .js file.

     

    Can anybody suggest me how to call the .js file from button click.I pasted my code below .

     

    Pls update the code if u don't mind.

     

    Thanks

    Prabhakar.

     

    <Button Title="Notes" ToolTip="Notes" Icon="/_imgs/ico_16_attach.gif" Client="Web" OnClick="notes.js"

    WinParams="location=no,menubar=no,toolbar=no,resizable=no,scrollbars=no,status=no,titlebar=no,width=800,height=300"

    WinMode="0"  />

Tüm Yanıtlar

  • 07 Kasım 2008 Cuma 19:01
    Moderatör
     
     Yanıt

    You can't use onclick. If it's in a seaprate page, then you can open it via the Url="....", though this does open a new window. Alternatively you can put all the code in a JavaScript="...." attribute