|
if u want the master page remain the same for ur entire application,
configure it in ur web.config file in the following way.....
-----<configuration>
<system.web>
<pages masterpagefile="~/MasterPage_DefaultContent.master">
----
or...
if u want this to be master page for some of ur aspx pages then include the Page directive in ur aspx page and assign the master file in the masterfile attribute of the page directive...
mareers
|
|
|
|
|
f u want the master page remain the same for ur entire application,
configure it in ur web.config file in the following way.....
-----
in configuration tag
then system.web tag
in pages tag specify the location of ur masterfile in the masterpagefile attribute
close pages tag
close system.web tag
close configuration tag
----
or...
if u want this to be master page for some of ur aspx pages then include the Page directive in ur aspx page and assign the master file in the masterfile attribute of the page directive...
mareers
|
|
|
|
|
|
how can i open modal and modeless dialouge box in asp.net?
thks.
yesu
|
|
|
|
|
|
You can only do this in IE. Only cross-browser option is to use DHTML features to popup a single div with a shim over the rest of the page.
|
|
|
|
|
I have a "Delete" button in an aspx page. When I click the "Delete" button, I need to get the number of records from the database and display it in a confirmation box. If the response is "OK" I can continue with the delete operation, if the response is "Cancel" I should stop further processing.
How to show the confirmation box and how to capture the return value of the confirmation box?
|
|
|
|
|
confirmation box can be shown using java script.....
try it out...
mareers
|
|
|
|
|
Hi,
For displaying popup message on clicking of an asp button, you can call a javascript function.
Button1.Attributes.Add("OnClick","return TestPopupFunction();");
In this javascript function:
<script language="javascript" type="text/javascript">
function TestPopupFunction()
{
var a = confirm("Are you sure you want to delete?");
if (a == true)
{
}
else
{
return false;
}
}
</script>
Hope this helps you.
Harini
|
|
|
|
|
But I need to get the number of records from the database and display it on the confirmation box.
Like
"Table has 20 records
Do you want to continue?"
|
|
|
|
|
Hi
Add one hidden field in your web app for storing number of records.
On loading web app, get the number of records and assign in a hidden variable. Your message should concatenate with this value.
For eg.,
var vConfirmMsg = "Table has " + document.getElementById('hidden id').innerHTML + " records. Do you want to continue?";
and continue with the code as I gave earlier
var a = confirm(vConfirmMsg)
Hope this is clear
Harini
|
|
|
|
|
What if the situation is like this?
I have a list box in my aspx page. I can select more than one departments from the list box. On clicking the delete button, I should get the number of records in each departments and display the departments and number of recokds in the confirmation box.
Can I use the same method for this situation also?
|
|
|
|
|
What if the situation is like this
I have a list box and I can select more than one departments from the list box. On clicking delete, I should get the number of records for each departments and show the departments and the corresponding active record number in the confirmation message?
|
|
|
|
|
I have created a popup form that is launched when a user clicks a button on a page. Now, if there has been no recent activity on the page and I click the button the popup form enlarges itself and fills the whole page. How can I correct this anomaly? Where should I start looking? The rendering code?
|
|
|
|
|
Hi all,
I trying to access a file on a server using the IUSER. The IUSER has the necessary access on the server, but I still receive a Access Denied Error. What am I doing wrong? Can anyone please help me. I'm using asp(old school).
Many Thanx in advance
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r My Blog: ^_^
|
|
|
|
|
Trying to write files, I assume?
IIRC in your website configuration options, there is a checkbox whether to allow writing files or not. must be checked.
|
|
|
|
|
No, I'm trying to read the contents of the files ...
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r My Blog: ^_^
|
|
|
|
|
still, there is definitely an options there somewhere that allows you to read files. There's a bunch of these optins, like executing scripts (CGI extensions?), reading files, directory browsnig on/off, etc. I'm thinking you need to create a virtual directory for you website, and when creating these optiosn are definitely there.
Oh, and if this is IIS7, I've no idea
|
|
|
|
|
Thank you very much for the help Anton
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r My Blog: ^_^
|
|
|
|
|
Did I help though? Or was I totally off? helps knowing whether my answer was a correct answer, heh. Though I guess it did, as I've spent a great amount of my time fooling with classic ASP back in the day, and I think I remember way too much of things I needed to do it it/for it.
|
|
|
|
|
|
hi i need data grid coding which contains needed steps..
Jus basic data grid coding is enough..
Any help is welcomed..
hi..
|
|
|
|
|
check this out !!!
http://www.tutorialized.com/tutorial/Basics-of-using-DataGrid/6305
Thanks,
Arindam D Tewary
|
|
|
|
|
to arindam thevary..
thank u so much for ur help..
hi..
|
|
|
|
|
Iam developing a web based payroll system using Visual Studio 2005 and
ASP.Net. I would like to have certain clarification on the following line.
I would like to pick employee name from a list which contain multiple
colums with employee name,employee id,department as coumn headers. For this
if I use combobox - it can contain only one column, if I use listview and if
the no of employees are high the selection will become too slow. Can you
suggest any control which will support multiple columns and multiple records
(rows) with an area to enter some text value (employe name) which is to be
serched with in the displayed list ?
I also would like to know about a control (feature ) which supports data
entry in a grid format (rows and columns - Excel like data entry). The grid should suport data entry directly in to a cell. The grid also should suport data binding. I should be able to customise the column/cell format into textbox,combobox, etc. Is there any such inbuilt control available with Visual Studio 2005 ans ASP.Net ? If not, is it advisible to build a user control by ourself or buying a provern third party control ? If third party control is advisable can you suggest a well known and widely used one ?
Rajeev
|
|
|
|