473,320 Members | 1,988 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,320 software developers and data experts.

Modal pages in ASP.NET

Hi.. i'm start to developing a web application in ASP.NET.
In a requirement i need display modal pages to retrieve
additional information. How is possible to do this in
ASP.NET?
I seen examples using javascript code, but this work with
side-client controls. Anyway, what is the best solution
for this?

regards,

Ricardo Tineo Tambini
Jul 19 '05 #1
3 2239
There is no server-side modal constructs because the server does not render
any code or have directly control over the browser. All they you can do is
send HTML to the browser which will limit your solution to client-side code.
You would use the showModalDialog function on the client.

"Ricardo Tineo" <ri**********@hotmail.com> wrote in message
news:00****************************@phx.gbl...
Hi.. i'm start to developing a web application in ASP.NET.
In a requirement i need display modal pages to retrieve
additional information. How is possible to do this in
ASP.NET?
I seen examples using javascript code, but this work with
side-client controls. Anyway, what is the best solution
for this?

regards,

Ricardo Tineo Tambini

Jul 19 '05 #2
I'm not sure that you mean. The showModalDialog only displays a webpage
which allows you to have any server content that you want (no different than
if you entered the URL in the address manually).

I was working on a project not too long ago that experience problems with
modal dialogs where postback events would not happen as expected. Our
solution to that was to display the modal dialog with an html page that
contained nothing more than an iframe. This iframe would contain the actual
page that we wanted. Is this the problem you are encountering?

"Ricardo Tineo" <ri**********@hotmail.com> wrote in message
news:02****************************@phx.gbl...
Nevertheless, use the showModalDialog force me to use side-
client controls, and it could not use my side-server
controls, there would not be differences between ASP.Net
and classic ASP??
-----Original Message-----
There is no server-side modal constructs because the

server does not render
any code or have directly control over the browser. All

they you can do is
send HTML to the browser which will limit your solution

to client-side code.
You would use the showModalDialog function on the client.

"Ricardo Tineo" <ri**********@hotmail.com> wrote in

message
news:00****************************@phx.gbl...
Hi.. i'm start to developing a web application in ASP.NET. In a requirement i need display modal pages to retrieve
additional information. How is possible to do this in
ASP.NET?
I seen examples using javascript code, but this work with side-client controls. Anyway, what is the best solution
for this?

regards,

Ricardo Tineo Tambini

.

Jul 19 '05 #3
Don't worry.. i tried to recover the value of a TextBox
(server-side) and yes it could do it...
thanks..
Ricardo

Jul 19 '05 #4

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

Similar topics

5
by: Lee | last post by:
I am using a modal window and an iFrame to try and pull a return value back. I am doing this across domains. I have the value returned from the modal window to the iFrame window but I can not...
10
by: Guadala Harry | last post by:
I have a modal dialog that currently does all of the following except item 4. 1. lets users select a graphic from a list of thumbnails (and when selected, displays the full-size image in a...
8
by: tshad | last post by:
I am using Andy Smiths Dialog windows, which work really well. My only problem is I am trying to make the Dialogs Modal. Someone mentioned putting <base target="_self"> into the head section...
3
by: Ricardo Tineo | last post by:
Hi.. i'm start to developing a web application in ASP.NET. In a requirement i need display modal pages to retrieve additional information. How is possible to do this in ASP.NET? I seen examples...
0
by: CSharpguy | last post by:
I'm using a master page and some of my content pages open a modal via a button but when I close the modal window the parent (master page) refreshes. how can I close the modal window and not reload...
2
by: sthrudel | last post by:
Hi! I'm working on a web application in Asp.net and what I would like to have is a cross borwser modal dialog which accepts user's input. I would like to catch what the user clicked on the...
0
by: homsar | last post by:
I've seen many posts discussing the options we have when using modal windows within a web based application. Often times it seems the greatest hurdle is simply getting the modal window to post back...
4
by: John Kotuby | last post by:
Hi all... I am bulding an application and wish to use custom Modal dialog windows. According to a couple of recent articles I have seen, the newer Mozilla browsers (actually I think they said...
3
by: Mike Hofer | last post by:
Okay, here's the situation: we want to be able to display ASPX pages in an UpdatePanel. The reasons for this are performance related. The site in development uses *lots* of modal popups from some...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.