An error was discovered in our ASP.NET application where a URL on an anchor was incorrect.
The production staff made an emergency fix by rewriting the URL of the page on a BIG-IP F5 hardware load balancer.
We now have to fix the bug but I cannot see it in the code. Everything looks perfect. We cannot reproduce the error, not even in QA...
Hi,
i'm using a javascript function to reset some fields in my .aspx webpage.It does work when the page is loaded the first time but after a postback it doesn't work at all.
Can someone please give me an explanation ?
Thanx
...
how can i make asp.net mvc show a nice 500 error message? currently it is tells me that it could not find some view.
...
In ASP.NET (hosted) I need a simple file IO operation to read data out of a file and then force a download. Its really that simple.
I keep getting a System.UnauthorizedAccessException when executing the following code:
System.IO.FileStream fs =
new System.IO.FileStream(path, System.IO.FileMode.Open);
Locally it works fine, but...
I have provided a custom webpart personalization provider by extending the "PersonalizationProvider" class.
I have also extended the WebPartsManager class to invoke "SetPersonalizationDirty", when webparts are added/removed dynamically.
Now the problem is that method "ResetPersonalizationBlob" is being called suddenly even though:
1. P...
Hi,
Please suggest me any solutions or tutorials or any sample code.
Thanks
...
Hi to everyone.
I am new in asp.net, My problem is facing logout problem in myappication using master page and window authentication. After i signout from my application if i use browser back button it again goes back to signed page after that i click any control then only it is goes back to the logout stage but i want to dont show t...
How do I setup and configure my asp.net site and SQL Server database when I upload it to hosting server?
Thank you
best regards.
...
I'm developing an asp.net webservice application to provide json-formatted data to a widget that uses jQuery.ajax to make the request. I've been using the FireBug Net view to check how long the requests for data take.
In my initial prototype I was simply requesting static json data files, which on my dev machine were obviously returned ...
Is there a quick built in way to convert ALPHA-2 (GB) to ALPHA-3 (GBR) in C# without having to create an array of them all.
...
ASP.Net app in Visual Studio 2008
I'm creating unit tests to test (in)valid logins for a web app. I have an Authenticate(User,Pass) bool method. The null case and invalid password tests are properly working.
My question is how to test a valid login. I have accounts that are valid for the web app, but I feel like hardcoding in the u...
I know how to set a control's BackColor dynamically in C# to a named color with a statement such as Label1.BackColor = Color.LightSteelBlue; ( using System.Drawing; )
But how do I convert a hex value into a System.Color , ie Label1.BackColor = "#B5C7DE
...
I'd like to programmatically build an HtmlTable/Table in the code behind of a webservice and have it return as a string of HTML so that it can be written with JavaScript to the innerhtml of a span/div/whatever
Something similar to the following:
//webservice.amsx.cs Build the table, called by another/different method
protected string ...
I have a page with an iframe like this:
<iframe runat="server" id="rsPrintFrame" src="framedPage.aspx" height="0" width="0"></iframe>
I need to get access to a component on the 'framed' page from the parent page, as one would typically do with $find() or Sys.Application.findComponent(). But obviously I can't simply do: myFrame.conte...
Possible Duplicate:
Optimising asp.net vb code behind
I need to rewrite the below code :
If (storeSelected = 1) Then
tempCollector = tempCollector + "<br>" + "Department" + ": " + txt_panview3_ddinput1.SelectedItem.ToString
tempCollector = tempCollector + "<br>" + "Store" + ": " + txt_panview3_input2.Text + "<br>"
End ...
I've heard Jeff and Joel discuss on a podcast what they called a "Heartbeat" which essentially is creating something that acts similar to running a windows service in an website. I was hoping to get some more insight into how something like this would be implemented. Has anyone implemented something like this before and what did you use ...
I have a directory of images that reside outside the context of my web application that I need to serve to the user. Currently I'm using an IHttpHandler to serve the images and using some javascript to navigate through a set of images (the navigation is primitive for now). I followed examples for using IHttpHandler to serve images closel...
Is it possible to use css with controls that generate ClientID and not regular ID?
I now I can use cssClass, but i want to know if it's possilbe to use id's:
#DivParrentId #LAbelControlId
{
padding:100px;
color:Red;
}
...
I've set up and configured ELMAH to log all of my errors on an ASP.NET MVC project I'm working on. It will be used by a small group of users who don't need to know too much so whenever there is any sort of error (404, InvalidOperation, Y2K... anything!) I just want to show them a generic default error view with instructions to call our h...
I realize this is somewhat similar to other questions here, but I've been through everything I can find, and still haven't gotten anywhere. It's very humbling.
I have a small asp.net web site that we use internally for some simple logs, like a timesheet and a support log. These use Access databases on a network share (using domain use...