I've a page that uses
<%@ outputcache duration="8640" varybyparam="*" %>
The goal is to cache it for up to 24 hours, but I want it to specifically expire at midnight. Anyone know the trick?
...
I have a web user control that generates the following html on the client.
I want to reference a specific RadioButton control using JavaScript.
I am not sure how to do this as the RadioButton ID is generated by asp.net.
For example I give the RadioButton ID = 1_RadioButton
asp.net generates an ID = ctl00_ContentPlaceHolder1_Mate...
Hi,
I want to strike off all the dates before today in a calendar control with an overlapping, red color x in ASP.NET. I can strikethru using the normal font strikethrough using the DayRender event. I can add an image but that sits adjacent to the date. I want the x (image) to overlap the date
Is this possible? If so, please help me ho...
I am upgrading a project from ASP.NET 1.1 to ASP.NET 2.0. In my aspx page, I have a hidden field, like this:
<input type="hidden" name="__TabControlAction" />
And I have the following javascript function:
function __tabStripPostBack(key) {
var theform;
if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {
theform =...
Ok, this is driving me nuts. I have been trying to figure this out forever now. I want to to perform an async upload using ajaxFileUpload. I have it posting the file to my controller just fine, however, when i try to return a JsonResult from it, I get a "Save File As" dialog box. I have tried everything to get around this and i either ge...
i have a page with a series of checkboxes that authenticated users can change. I need to make this page only editable by one person at a time. So if a user goes into it and edits one of the checkboxes, noone else can go into the page and change other checkboxes.
I thought about an edit page link and a readonly page link (all controls ...
I have an asp:Menu control that has four different menu items in it. Each menu item has a graphic and a text description.
<Items>
<asp:MenuItem Text="New Authorization Form" Value="default.aspx" NavigateUrl="~/Default.aspx" ImageUrl="~/Images/TextPad.png"></asp:MenuItem>
<asp:MenuItem Text="Manage My Forms" Value="myrequests.as...
We've got an ASP.NET Application that the client would like to protect Via Oracle SSO and also allow anonymous access to the application.
None of the standard Oracle SSO plugins have an anonymous access option, so we wrote a custom java SSO plugin to check for Portal/SSO session cookies and do the base Oracle SSOServerAuth, and otherwis...
I am building a HTML scrubber basically an internal tool for scrubbing a problematic html page. I am building the tool as a web app using ASP.NET 3.5.
It consists of a button and two multiline textboxes.
I am programming it so you paste in the HTML you want scrubbed into the top box. Hit the button and the scrubbed HTML shows up in t...
Hello
I am building a composite control that is composed of an Infragistics WebDataGrid, an add Button, and some ModalPopupExtenders. I want design-time usage of this composite control to be as simple as possible. Meaning, as soon as they type not want there to be any AccessKey, EnableTheming, and all of those completely irrelevant prop...
I am working in visual 2008 with sql server 2005 as the back end. I am trying to create a crystal report with xsd file.This is what i did.
I created an empty xsd file from "Add New Items".i dragged the stored proc from the server explorer from the database which i want to attach to the crystal on to the xsd.
Created an empty crystal re...
ASP.NET - IIS 6 - we currently have a public-facing site that has a domain mapped against it. We are going to add a new web site in IIS 6, with its own IP, its own SSL cert, and its own domain name on the same server as the original web site/domain.
Let's say I want c:\inetpub\wwwroot\example to be be served up to the two different site...
what are different ways that we can do some optimum level of stress testing for asp.net application before moving it to the production environment ?
...
I've searched their site. I just want to find the page number in the vb script. I have a report header, and if it is on page #1 then I want a page break after.
...
Hi - I have a asp:dropdownlist populated by a storedproc which i want to replace with a flexbox. I see that flex box expects a json based content to it. Any pointers how to replace my code for that ?
<asp:DropDownList ID="StepDropDown" runat="server" AutoPostBack="True" DataSourceID="SteppingDataSource" DataTextField="Name" DataValu...
Hi
I hope someone out there can shed some light on the topic of creating server controls, the control base classes and the usage of those classes.
Here is an example of what I want to achieve. I want to create a custom panel control that one can instantiate in the ASPX markup like so:
<acme:Panel ID="MyPanel" runtat="server" Scrollin...
I understand that Web Site Projects compile source on-the-fly, and Web Application Projects pre-compile source into a DLL (much like ASP.Net 1.x).
But how is the difference specified in IIS?
I know that Visual Studio knows -- there are different projects for each, etc. But the running instance (IIS + Framework) has to know which compi...
We've got a person from the business side on our team 1 day a week to assist with the UI testing. This is basic testing if the application works to as per requirements and what can we improve for the users.
Obviously we want to get as much out of her as we can, so we're looking for a good introduction document to help her ramp up ASAP....
I'm looking for the simplest way of popping a modal search window on top of an ASP.NET 3.5 application to look up values for a field. I've got a screen for users to add courses; users need to be able to choose an instructor by searching for instructors in a popup.
So - the popup would have a textbox and a gridview with results; clicking...
I wrote a custom URL rewriting module, to take certain paths and map them to our catalog out of the database.
I am using the technique outlined in the link at the bottom of my post.
I'm using .NET 3.5. The problem is that it only works when there is a page name on the end of the original URL, but if the page name is left off, then it...