473,396 Members | 1,892 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,396 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 2242
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
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...
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,...

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.