prompt IE dialog box in asp.net 1.1

G

Guest

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.
 
S

Siva M

If you are targeting IE alone, then try window.showModalDialog()

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.
 
G

Guest

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?
 
E

Eliyahu Goldin

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
 
S

Siva M

It's a client-side JavaScript function. Nothing to do with .NET

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,013
Latest member
KatriceSwa

Latest Threads

Top