473,434 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,434 software developers and data experts.

how to call function in dll from showmodaldialog popup.

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

....
Expand|Select|Wrap|Line Numbers
  1. 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
..
Expand|Select|Wrap|Line Numbers
  1. <HTML>
  2. ..
  3. <input type="button" id="SearchModeBtn" onserverclick="GetSearchResults" value="Search" runat="server" >
  4. ...
  5. </HTML>
This GetSearchResults 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.
Nov 18 '09 #1
1 2175
acoder
16,027 Expert Mod 8TB
Can you show the client-side generated code, i.e. as it appears in the browser when you View Source.
Nov 20 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Jamie Jackson | last post by:
I'm using showModalDialog() to popup a window with some long text, followed by a couple of form elements. The content of the popup scrolls, since the content is longer to than the window. However,...
6
by: Scott Lee | last post by:
I am displaying an ASP.Net generated form in a popup opened with window.showModalDialog. The form contains DropDownList controls. The first ddl is populated via databinding to a datatable, has...
6
by: ruca | last post by:
Hi, How can I force to run a function when a popup window close's??? This function it's present in parent window. Can I run it after popup window close's??? How can I do that??? --
3
by: needin4mation | last post by:
Hi, I have an asp:button that has a ShowModalDialog script attribute added to it. When the ShowModalDialog opens the user is supposed to select some data which is then sent back to the calling...
1
by: Ben Schumacher | last post by:
I keep getting a script error (Expected end of statement) when I try to add the following attribute to a <asp:Button server control. My vb.net looks as follows ... Dim sUrl As String =...
9
by: Stan B | last post by:
I create a popup window by calling window.showModalDialog Popup window has Ok button with this code attached: === string Script = "<script language=JavaScript>" + "{" + "window.close();" +...
0
by: Ben Schumacher | last post by:
I'm programming a web app using ASP.Net 2.0 and vb.net. In some instances, I open a popup window using vbscript and the ShowModalDialog window command. The .aspx page that is opened using the...
0
by: prakash2kr | last post by:
i am using the following code to show popup window window.showModalDialog("WebForm2.aspx","","height=200px;width=300px"); how can i pass the value from WebForm2.aspx to parent window... i...
4
by: =?Utf-8?B?Sm9hbyBSZWdv?= | last post by:
Hello, Using asp.net 2.0, C# and IE7 I'm using window.showModalDialog to open a modal window on the client from Javascript. I have to include this line in the < HEAD html of the modal window:...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.