I have a web application with over 20 pages that are used. In each of these pages I include a file to build a toolbar on those pages.
If I add the following code to the include file, will this prevent caching for the main page or just the include file?
<%
Response.Expires = -1...
I have a question on what is more efficient when opening and closing database connections(using pooling).
I've read that after you have opened a db connection and are then done with it, the close it immediately. Which makes since if you only have to use it once.
What if you have a webpage...
I have a RadioButtonList that is created in the .cs file, it only has 2 options in it that is added to a asp:table. I want to be able to show different options on the page based on which radio button they click. All are created dynamically.
ArrayList cg = new ArrayList(2)...
ca8msm,
Thanks alot, that was what I needed. I made some modifications to fit what I need. When user selects a from a dropdownlist and the page submits, I determine which boxes I need to disable and assign to a hidden tag the index of the first box to disable. Then on the aspx side I call the...
How can I disable items in a checkboxlist when page loads in the codebehind?
The list is created in the .aspx file and when user selects from a dropdownlist and page is submitted cerainn listitems are disabled based on users selection. But I don't know how to reference the items individually...
kaht,
I appreciate the help: Here's the important code:
<script language=javascript>
var newWindow = null;
function openExcel() {
try {
newWindow.focus();
newWindow.close();
newWindow = window.open('excelPage.aspx');
}
catch(e) {
newWindow =...
kaht,
I get an error saying 'newwindow undefined'.
I think it's because the page is submitting to theserver and when it comes back the variable newwindow is no longer defined in the pages scope anymore.
is that correct?
maboo59
I have a page that generates a report in excel. They page is submitted and the sql query is built in the .cs file, then a javascript function opens a new window sending that query to a page that gets the results and puts the info into a spreadsheet. first time you run it is works fine. if you...
Hi,
I have a page that generates a report in excel. They page is submitted and the sql query is built in the .cs file, then a javascript function opens a new window sending that query to a page that gets the results and puts the info into a spreadsheet. first time you run it is works fine. if...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.