I am looking for a Wiki written on ASP.NET (preferably open source and free) similar to the one on http://wiki.asp.net/.
The main feature that I like on http://wiki.asp.net/ is a hierarchical table of contents - something which is totally absent in most Wikis - which are just collections of pages connected via hyperlinks, with no place ...
It seems to me that
Response.Cache.SetVaryByCustom("mykey");
is not working from within ASCX User Controls. It works from the Page. The ASCX works only when VaryByCustom is specified in the outputcache directive.
I'm using ASP.NET 3.5.
Any help?
...
I'm getting this fault intermittently.
I found this link which summarises fairly well what I was able to find on the Google:
http://www.wacdesigns.com/2009/02/03/session-state-has-created-a-session-id-but-cannot-save-it-because-the-response-was-already-flushed-by-the-application/
Basically it says you can try setting the web config se...
Web.Config? Website properties? I'm looking for suggestions/best practices with reasons you recommend them.
...
I'm trying to dynamically write text to an image, but I would like to boldface a selected word in the sentence. What I did is separate the string into three strings, the first part, the word to be boldfaced, and the remainder of the sentence. When I attempt to draw them onto the image (.DrawString()), however, they don't concatenate, but...
Between HtmlSelect and DropDownList, which one has a better performance (initialized and rendered faster)? Are there any guidelines when to use which?
Another questions is if I want to access the value of a select control from JScript, am I only bound to use HtmlSelect (because the ID doesn't change) or is there any way to force DropDow...
I'm an experienced C# winforms person, but new to ASP.Net. I'm developing a site which will be externally facing, but will not have massive numbers of users (wouldn't expect more than maybe 50 at a time). The users of the site would probably be very smart, but not necessarily tech savvy (psychologists).
Because I'm new to web developm...
Hi
I'm using a public variable called IsAdmin in the code behind of an aspx page.
public partial class _news : System.Web.UI.Page
{
public bool IsAdmin = false;
protected void Page_Load(object sender, EventArgs e)
{
if (User.Identity.Name.Contains("admin"))
{
IsAdmin = true;
}
else
{
IsA...
I have an ASP.NET web application where i have a page Signup.aspx and a home page.aspx.In my home page i have link to the signup.aspx page.I want to Hide the file extension.aspx from the addressbar when someone clicks on the signup link in home page.I want to show it as http://mysite.com/signup . Is there anyway to do this ? I am using ...
I have an aspx page in which i have 3 asp.net text boxes and 1 asp.net button control.I want to do a client side validation before the post back happens when i click on the button . ie ; If the the page passes the validation check,then only i need to invoke the server side button click event.Can any one help me ? Thanks in advance
...
hi
i have a page that dynamic create a table of contacts, if the contact got an email i also create an image button with a click event. i have a similar function in the rest of the page that works perfectly. and i used this before without any problems.
protected void CreateContactsList(IQueryable<AA_BranschFinder.Login.vyWebKontaktpers...
I'm looking for an elegant way to have AppContext configured right and here is it:
public class AppContext : IAppContext
{
public AppContext()
{
Application = new AppStorage(); // app scoped hashtable
Local = new LocalStorage(); // current thread scoped hashtable
Session = new SessionStorage(); ...
It's saying PageMethods is undefined.
...
I am looking for a way to measure the size of web requests and responses that I make in my browser. I would need a way to measure regular requests, as well as ajax requests. I am trying to improve Ajax performance by decreasing request and response size, and I need some way to benchmark this on the client end as well as measure my progre...
We are currently having error message when we ping our site in FireFox:
Reported Attack Site!
This web site at www.xyz.com has been
reported as an attack site and has
been blocked based on your security
preferences.
Attack sites try to install programs
that steal private information, use
your computer to a...
I see the guidance when using formsAuthentication in ASP.NET is to use SSL via the requireSSL property.
I was under the impression that the contents of the cookie are encrypted. So I'm trying to grasp why SSL is required as well?
...
I have two panels and I use CollapsiblePanelExtender control to collaps and expand one of them.what I need is to change the size of the second control when the first is collapsed .
how I can do that?
...
Is it good to store the uploaded file into a relational database or put it in a file system under a directory in IIS? I thought relational system will be a better choice. Any comments? When will you use one over the other?
EDIT: RDBMS, will make it easier to relate multiple file attachments to a record. It's easier to maintain version(s...
I have Implemented one web service that return xml string.
I want to validate that web service through the hash code, when request is coming from any URL then validate that URL is valid or not how this will done through the c# code?
The XML web service will require that a valid HASH code is submitted to the API along with validating th...
Hi. During the ASP.NET execution of my app, it seems SQL 2008 Express holds some lock, and I get
Timeout expired. The timeout period elapsed prior to completion of
the operation or the server is not
responding
Maybe some of my query is not optimized. Visual Studio crashes with:
Microsoft Visual Studio may be unstable now. ...