473,406 Members | 2,208 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,406 software developers and data experts.

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 1247
If you are targeting IE alone, then try window.showModalDialog()

"Venedict" <Ve******@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.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.showmodaldialog().

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.showModalDialog()

"Venedict" <Ve******@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.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******@discussions.microsoft.com> wrote in message
news:88**********************************@microsof t.com...
Hi,

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

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.showModalDialog()

"Venedict" <Ve******@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.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******@discussions.microsoft.com> wrote in message
news:88**********************************@microsof t.com...
Hi,

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

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.showModalDialog()

"Venedict" <Ve******@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.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
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...
9
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...
3
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...
0
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...
3
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...
2
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...
4
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....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.