473,320 Members | 1,930 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.

Pop up index.aspx

How can I popup the index.aspx page for a folder and have it be a window
that does not have either an address dropdown, toolbar or menus?

In other words, a page similar to what a javascript Response.Write("<html> .
.. would create

The purpose of the page is to accept a person's name, address and email
address.

Thank you!
Nov 19 '05 #1
4 1088
If you mean browser's modal dialog, javascript call showModalDialog will do.
You can emit it with Response.Write if you wish or, better, implement sone
client-side event handling.

Eliyahu

"xzzy" <mr********@comcast.net> wrote in message
news:PO********************@comcast.com...
How can I popup the index.aspx page for a folder and have it be a window
that does not have either an address dropdown, toolbar or menus?

In other words, a page similar to what a javascript Response.Write("<html> .. . would create

The purpose of the page is to accept a person's name, address and email
address.

Thank you!

Nov 19 '05 #2


use this javascript code for popup

write this in between the head tags

script language="javascript">
function PopUp(ref)
{
var strFeatures="toolbar=no,status=no,menubar=no,locat ion=no"
strFeatures=strFeatures+",scrollbars=yes,resizable =no,height=320,width=
500"

newWin = window.open(ref,"TellObj",strFeatures);
newWin.opener = top;
}
</script>

call this function as

<body onload="javascript:PopUp('index.aspx')">

this might help

Kalyan

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 19 '05 #3
how to open a page and set it's properties without JavaScript, i.e.:

private void Page_Load(object sender, System.EventArgs e)
{

// Set the page's properties here

}

Thank you!
Nov 19 '05 #4
You can't. ASPX generates content dynamically, no more.

You can still "remote-control" a browser by using special commands in your
server-side code... These commands are written in JavaScript, put within
<script></script> tags, output with the ASPX page and executed on the
browser. It's called client-side code. ;)

HTH,
Axel Dahmen
------
"xzzy" <mr********@comcast.net> schrieb im Newsbeitrag
news:Qo********************@comcast.com...
how to open a page and set it's properties without JavaScript, i.e.:

private void Page_Load(object sender, System.EventArgs e)
{

// Set the page's properties here

}

Thank you!

Nov 19 '05 #5

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

Similar topics

1
by: Dave Bailey | last post by:
When I run the following code public DataView CreateEquipmentDataSource( string equipConnect = "Provider=\"MSDAORA.1\";" + GetConnectionString() + "" string equipSelect = "Select Description...
2
by: kscdavefl | last post by:
When I run the following code: private void applicationPermissionGrid_ItemDataBound(object sender, System.Web.UI.WebControls.DataGridItemEventArgs e) { if (e.Item.ItemType ==...
2
by: Tor Inge Rislaa | last post by:
Name of "index.aspx" Hi I have just published my first ASP.NET home page, but as I always does with HTML (index.htm) files I named the first webform to appear on the domain index.aspx but It...
4
by: ALI-R | last post by:
My home page of my website is named index.aspx ,when I upload it to the host ,I get 403 forbidden error,If I put an index.html there that link that aspx file,eveything works perfect? my second...
2
by: Mike Dobson | last post by:
I have created an application that will be compiled and deployed to a web server. The users have also requested the ability to upload files to the web server via FTP. They would like to be able to...
1
by: Michel Moreno | last post by:
Hi everybody, i would like to query the Index Catalog, for a site, as describe in the article: http://support.microsoft.com/default.aspx?scid=kb;en-us;820105 But i'm having an error, I don't know...
0
by: willem joubert | last post by:
I got the following message from Microsoft Web Hosting Customer Support ===================================================== The only file that we see located within the /web directory of your...
8
by: Joe Rattz | last post by:
Ok, I can't believe what I am seeing. I am sure I do this other places with no problems, but I sure can't here. I have some code that is indexing into the ItemArray in a DataSet's DataRow. I...
0
by: John Meyer | last post by:
index: <%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.OleDb" %> <!DOCTYPE html PUBLIC...
0
by: ThatsIT.net.au | last post by:
I have used the fix listed at mdsn here http://support.microsoft.com/default.aspx?scid=kb;en-us;311521 But this does not seem to work for me. I have even tried setting the index unknown...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
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
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.