how to call function in dll from showmodaldialog popup.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GuruPrasadBytes
    New Member
    • Nov 2009
    • 5

    how to call function in dll from showmodaldialog popup.

    I am called ShowModalDialog () from the master page as below.

    ....
    Code:
    onclick='javascript: addSecurities = objDoc.selectSingleNode("//Security"); Args[0] = addSecurities; Args[1] = buildCategoryTable; Args[2] = null; showModalDialog("ABC.aspx", Args, "dialogHeight:900px;dialogWidth:800px;scroll:yes; status:yes;");' value="Add Security " />
    ...

    In this ABC.aspx file 3 HTML button are present (Search, OK & Cancel)

    code in ABC.aspx
    ..
    Code:
    <HTML>
    ..
    <input type="button" id="SearchModeBtn" onserverclick="GetSearchResults" value="Search" runat="server" >
    ...
    </HTML>
    This GetSearchResult s is a function in one component (xyz.dll)


    on click on Search Button, (where it is calling a function in xyz.dll) and opening a new pop-up window. which i don't want. It should call in the same page and display the result in the same page.
    Last edited by acoder; Nov 20 '09, 11:09 AM. Reason: Added [code] tags
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    Can you show the client-side generated code, i.e. as it appears in the browser when you View Source.

    Comment

    Working...