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

dispaying only close btn in a web page

Hi

i m using VB in asp.net.

In my web page,i want only the close button to be displayed. Min and Max btns should not be displayed .

how can i do this????
Feb 1 '08 #1
9 1083
kunal pawar
297 100+
Yes you can do it for Pop windows or child windows
use window.showModelDialog()
Feb 1 '08 #2
Hi

Can you explain

I m using visual studio 2005

I have two forms.
One contains a Button
if i click the button in form1,form2 should be opened like a pop up.only close button should be there in form2.
till closing this form2, form1 should be disabled .


can you help me???
Feb 1 '08 #3
Shashi Sadasivan
1,435 Expert 1GB
That code given above is javascript.

Asp .Net being a server side functionality cannot control what the client uses and how they use it.
You wil have to look into javascripts to manipulate browser settings, however disabling functionalities is now highly reccommended as something which should not be done.
Feb 1 '08 #4
Hi

How can i create a pop up in Asp.Net
ie when i click form1 ,form2 should be open as a pop up.

Can you help me?????
Feb 1 '08 #5
hi
i dont know javascript.
Can anyone explain how to do this?
Feb 4 '08 #6
hi
i dont know javascript.im using visual studio 2005

Can you explain ???
Feb 4 '08 #7
kunal pawar
297 100+
if your button is server control then its having event onClientClick event write above code for this event
Feb 5 '08 #8
vinci
62
use popup dialog to show your page using javascript...


example:

function displayPage() {
var myWin = window.open("YourPageName.aspx","","width=670px,he ight=580,left=200,top=100","scrollbars=yes,toolbar =0,status=1,menubar=0,resizable=0,titlebar=no");
myWin.focus();
}

you do the adjustments on the size of the window... trial and error until the desired size is achieved...
Feb 5 '08 #9
Hi

i m getting the second web form..
But i want to make the first webweb page disabled unless the second web page is closed.
Feb 6 '08 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Thang Nguyen | last post by:
Hi, my page contains an applet. When I click on a link on the page, the applet will be launched.Now I need my page can be automatically closed when I close my applet.I can call the script from my...
6
by: No_Excuses | last post by:
All, I am interested in reading the text of a web page and parsing it. After searching on this newgroup I decided to use the following: ******************************* START OF CODE...
9
by: No_Excuses | last post by:
All, I am interested in reading the text of a web page and parsing it. After searching on this newgroup I decided to use the following: ******************************* START OF CODE...
7
by: | last post by:
hi, I have got XML tag <fo:block font-weight="bold" font-size="13pt"><!]></fo:block>. Problem is when i gives xmlURL from c# to InputStreamReader in J# code with the aspx web page as XML which...
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...
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.