473,566 Members | 2,847 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

prompt IE dialog box in asp.net 1.1

Hi All,

i'm writing an asp.net 1.1 web page.

How to prompt an error message to user just like windows form in asp.net 1.1
and how to get the response from there?

Thanks in advance.
--
Regards,
Venedict
Nov 20 '05 #1
4 1258
If you are targeting IE alone, then try window.showModa lDialog()

"Venedict" <Ve******@discu ssions.microsof t.com> wrote in message
news:A3******** *************** ***********@mic rosoft.com...
Hi All,

i'm writing an asp.net 1.1 web page.

How to prompt an error message to user just like windows form in asp.net 1.1
and how to get the response from there?

Thanks in advance.
--
Regards,
Venedict
Nov 20 '05 #2
Hi,

Thanks for your reply. But i can't get window.showmoda ldialog().

do i need to import any .Net namespace? where can i get that function?
--
Regards,
Venedict
"Siva M" wrote:
If you are targeting IE alone, then try window.showModa lDialog()

"Venedict" <Ve******@discu ssions.microsof t.com> wrote in message
news:A3******** *************** ***********@mic rosoft.com...
Hi All,

i'm writing an asp.net 1.1 web page.

How to prompt an error message to user just like windows form in asp.net 1.1
and how to get the response from there?

Thanks in advance.
--
Regards,
Venedict

Nov 20 '05 #3
Venedict,

When you write a web application, you have to have clear understanding what
is a server side, what is a client side and what is going on where.

IE prompt dialog is a client side task. It is performed in javascript. In
javascript all functions are case-sensitive. The correct name is
showModalDialog .

You might not need even this. Javascript window object supplies some preset
dialog methods: alert, confirm and prompt. You can easily find more info in
the MSDN library or in numerous on-line resources.

Eliyahu

"Venedict" <Ve******@discu ssions.microsof t.com> wrote in message
news:88******** *************** ***********@mic rosoft.com...
Hi,

Thanks for your reply. But i can't get window.showmoda ldialog().

do i need to import any .Net namespace? where can i get that function?
--
Regards,
Venedict
"Siva M" wrote:
If you are targeting IE alone, then try window.showModa lDialog()

"Venedict" <Ve******@discu ssions.microsof t.com> wrote in message
news:A3******** *************** ***********@mic rosoft.com...
Hi All,

i'm writing an asp.net 1.1 web page.

How to prompt an error message to user just like windows form in asp.net
1.1
and how to get the response from there?

Thanks in advance.
--
Regards,
Venedict

Nov 20 '05 #4
It's a client-side JavaScript function. Nothing to do with .NET

"Venedict" <Ve******@discu ssions.microsof t.com> wrote in message
news:88******** *************** ***********@mic rosoft.com...
Hi,

Thanks for your reply. But i can't get window.showmoda ldialog().

do i need to import any .Net namespace? where can i get that function?
--
Regards,
Venedict
"Siva M" wrote:
If you are targeting IE alone, then try window.showModa lDialog()

"Venedict" <Ve******@discu ssions.microsof t.com> wrote in message
news:A3******** *************** ***********@mic rosoft.com...
Hi All,

i'm writing an asp.net 1.1 web page.

How to prompt an error message to user just like windows form in asp.net
1.1
and how to get the response from there?

Thanks in advance.
--
Regards,
Venedict

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
7479
by: Gord | last post by:
Hello, If you set the flag for an overwrite prompt using the 'Save' common dialog, how do you read the response when the user clicks the Yes or No in the 'overwrite' message box? Everything I've read explains about setting the flag to bring up the overwrite prompt message box, but there's no explanation on how to read the response to it....
9
2292
by: sleepyant | last post by:
Hi, I've posted this question on several forum but have no response. So I hope anyone who have any idea what I'm talking about please give your solution or advice. My problem is I need to check the internet connection and pop-up a Dial-Up dialog when there isn't any? I've tried the following: Dim myReq As HttpWebRequest
3
2130
by: sancha | last post by:
Hi, I need to promt the user when he moves away from the page by clicking an of the links available on the page. I was trying to use the onbeforeunload function but it seems it is a jScript function rather than a javascript function which means it will not work in Mozilla. is there anyway that the user can be prompted to stay on the page....
0
8665
by: Chris Powell | last post by:
I am using Excel/Access 2000 and have two large Excel files (25,000 rows each) that I wish to create linked tables in Access rather than importing into Access. The two source Excel files change frequently, so I want to: A) prompt the user, using a custom form, for the specific Excel files to be linked; B) create the links dynamically; C)...
3
7879
by: J.P. Cummins | last post by:
In my ASP.NET application, I wish to have a page for administrators to edit items in a list. Preferably, I would like to use the javascript prompt for the 'rename' function, and a javascript alert box for the 'delete' function. When the user clicks 'rename', the javascript prompt asks for the new name. When the user clicks 'delete', a...
2
7684
by: ambersaria420 | last post by:
I need to prompt the user to enter ID. I can open up prompt fine using javascript code below. However I am not sure how to get value that user entered in user prompt window. I have to check this value to see if it exists in the database. Private Sub btnID_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnID.Click...
4
3739
by: Henry C. Wu | last post by:
Hi I was wondering how can I program a button to make the ODBC dialog box appear or prompt the user. And once the user has selected his/her choice the connection string will be saved at a variable. Thanks so much, Henry :)
0
7666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7584
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8108
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7644
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7951
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5213
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1201
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
925
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.