I am having trouble using the output cache param in an aspnet 2.0 page directive. I am using a session variable to hold the value of the selected image. It seems that the dynamic control in a datalist, is not working when the output cache is set to true in the page directive. Is there a way to cache the images seperately to avoid using a...
I have an ASP.Net application where I am using Windows authentication to deny access to some components via roles. When using IE, the site pops up the "Authentication Required" box once, allows the user to enter their username/password for Active Directory, and all is fine.
HOWEVER, when using Firefox, it's "Authentication Required" bo...
Using iTextSharp (and c#/ASP.NET) is it possible to open an RTF document, manipulate it by replacing some text, insert an image (WMF or PNG), and the export that manipulated document to a PDF document that retains the formatting of the original RTF document?
Essentially I'm hoping to create a simple mail merge solution with the template...
I'm currently working on an intracompany web site which will be viewed on cell phones - at the moment, Palm Treos and iPhones. The Treo has a screen 360x360 so I'm putting all the page info into a 360x360 box. Works fine on the Treo, but when you log in to the site on an iphone, it shows up about 1/2in square on the screen. Is there a...
My web site has city,state and zip code autocomplete feature.
If user types in 3 characters of a city in the textbox, then top 20 cities starting with those characters are shown.
As of now, Autocomplete method in our application queries sql 2005 database which has got around 900,000 records related to city,state and zip.
But the respo...
I know this is working because I'm getting data populated in a jQuery plug-in once it parses the JSON response. And I've called this so many times before in the past just to check out the returned JSON in the browser. But lately for whatever reason, and after I've stepped through with the debugger to find that the code in my .ashx is w...
I am looking for a good explanation of why one would use sliding expiration when caching data in a Web application. It seems as if you would always want to cache content using absolute expiration so the data is forced to be refreshed. With sliding expiration you risk having your data be cached indefinitely. Is it only useful for cachi...
I have an ashx handler:
<%@ WebHandler Language="C#" Class="Thumbnail" %>
using System;
using System.Web;
public class Thumbnail : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
string imagePath = context.Request.QueryString["image"];
// split the string on periods and read the last element,...
I had used this in my code to set the Charset but IE did not like it. Any reason why?
context.Response.Charset = Encoding.UTF8.ToString();
I ended up having to set it to just context.Response.ContentType = "application/json;charset=utf-8" or context.Response.Charset = "utf-8"; instead. Not sure then what Encoding.UTF8.ToString(); w...
Hello Friends,
Can anyone tell me how can I change the default style of DropDownlist scrollbar
I use below style property to change scrollbar style but its not working for dropdownlist
.scrollbarstyle
{
scrollbar-face-color: #BAC8D5;
scrollbar-highlight-color: #DCF5F8;
scrollbar-shadow-color: #DEE3E7;
scrollbar-3dlight...
Currently, i have a working function that will let user to upload an excel file and thn insert the excel file data into the SQL Server. So, they might be thousand of records in an excel file, i would like to have a message like "Please wait while uploading..." during the process! i have tried on the update progress and javascript but bot...
I am experiencing assembly binding failures due to insufficient permissions to the Temporary ASP.NET Files folder.
The application uses (web.config) Forms authentication with Impersonate = True and IIS Windows Integrated Authentication.
According to ASP.NET Identity Matrix, this means that the WindowsIdentity resolves to Domain\UserNam...
I am using Global.asax page for error handling. While there is an error I want to transfer to a Error page to show a friendly message. But it is not showing that page.
...
One of the ascx file saves very slow in source (html) mode but other files in same project are working fine. I have deleted this file from my working copy and created a new file with the same name but it is also very slow in saving. I have also created a new ascx file and pasted script of corrupted file in this new file and here this scr...
Hi All,
I need to customise the title property for SiteMapNodes.
I am using WSS, and have created a custom document library. While navigating through this library I want to change the names of the nodes in the breadcrumb displayed above the list name.
So far I have:
created a class inheriting from
System.Web.SiteMapProvider,
added ...
Hi
When I start a debug session in VS2005 (to debug an ASP.Net web site), The browser is launched but the Debug session ends. VS is not attaching to the worker serive. I can attach manualy to aspnet_wp service and then debug.
Before I not my new works PC this happend automatiacly now its a manual task.
What have I done or forgotten to...
We developed an asp.net website for one of our customer. We followed our rules and standards while building website. While showing it for customer, he said: it's not user friendly.
Are there common rules/standards for developing user friendly website?
...
I get this error when pushing our website to our clients production server however the page works absolutely fine on their dev / test servers. What causes this error (considering I am not using any web resources myself, though I am using the asp.net ajax toolkit).
...
I'm using the technique described here to render a User Control to a string and it all works fine when the control contains just plain HTML, but when I try adding some server controls to the UC (like asp:button) I get the following error when calling server.execute:
"Error executing child request for
handler 'System.Web.UI.Page'."
...
I'm working on an ASP.NET and someone asked me how much time it would cost to make the site.master appear like a Windows form. Basically, it should have a caption, an icon on the left, a minimize/maximize/close button on the right and preferably these should function similar to a real form. Also, it needs to have borders which can behave...