I'm being asked to look into a problem that occurs intermittently on a WebServer running my team's application.
Essentially, we have a webservice that does a lookup between codes. If you have Code Type A, you can use it to look up the corresponding Code Type B. Periodically, when memory is running low, when this webservice is called, ...
Web parts seem to be used extensively in Sharepoint related development, but examples of using them in asp.net webforms applications are few and far between. I'm implementing a domain specific portal framework and like the "widgetlike" functionality in iGoogle or pageflakes and would like to get that kind of feature in my application. ...
Hi,
I want to implement my own customCacheDependency class by deriving base CacheDependency, as provided SqlCacheDependency is not suitable for my case. (thousands of cache items, and there will so many subscriptions in SQL as well as issues with registration in ASP.Net)
I want to use this in ASP.Net VirtualPathProvider's our custom im...
I recently migrated an ASP site from my dev machine to a live server. All the pages except my FAQ page works just fine, but my FAQ brings up:
XML Parsing Error: no element found
Location: http://geniusupdate.com/GSHelp/faq.aspx
Line Number 1, Column 1:
The only changes I have made were changing the connection string on my SQL page fr...
How would you ensure that only one user is logged in per account at a time?
Assuming cookies are persistent.
...
Greetings!
I'm creating a User Control that will display data in a GridView control. We are using n-tier architecture and the data in question is retrieved from our database and returned to us as a ReadOnlyCollection. OurNewObject is a class containing several properties and an empty constructor that takes no parameters - it's in the ...
I'd like to change the pricing column on my DataGridView based upon currency a user selected currency ComboBox.
Currently, the price column is formatted to "C2". This defaults to look like "$1.00".
However, if my user were to switch the currency to be Great British Pound, I'd like to display the Great British Pound sign ("£") rather ...
I have a hidden field that i want to bind to either a function on the page's code behind. I don't quite recall the exact syntax and i can't find the answer via Google. Is the code below correct? Thank.
print("<asp:HiddenField ID="dummy" Value='<%#Getdummy() %>' runat="server" />");
...
Hi, I'm looking for a hosting company that do shared windows hosting (for ASP.NET, must have the latest .Net framework installed!)
My current provider (I previously developed in PHP) are Hostgator however they only offer dedicated windows servers, which I can't afford! Anyone know any?
...
Ok here's what I'm trying to do I want to write a class that inherits everything from the class ListItem
class RealListItem : ListItem
{
public string anExtraStringINeed;
}
For some reason or another .net is treating all the members like they are private when I try to do this so my class is worthless.
I tried to do a work around ...
Hi folks,
if i have a standard ASP.NET application, is there any difference between making an object static as opposed to putting the object instance in the Application state?
from my understanding, both objects exist ONCE for the app domain.
Secondly, what happens if you have a static object in a referenced dll, for an ASP.NET site. ...
How can I send an email using SYstem.Net.Mail to an email address that is unusual (myFirstName.O'[email protected]) but is still RFC 5322 compliant?
Does .NET support sending mail addresses that have single quotes in them, and if so, how do I force the system to allow email to be sent to those addresses? Right now we're using the Sys...
Anyone know of a control for asp.net that can achieve this either server or ajax.
I have a hierarchy of school, division and programme area. Unfortunately this hierarchy has complexities such that a programme area can appear in more than one school.
As it is for reporting I would like to give the end user options across each dropdown ...
I'm hoping someone can clarify this behavior for me, and explain how ASP.NET is deciding when to treat something like a new Session.
A) In Internet Explorer I load the ASP.NET site in question. It starts a new Session.
B) If I go to menu File - New Window... it stays within the same Session.
C) If I launch a new instance of Internet Exp...
The question is this, why do I need to add an "import" directive on my Site.Master file to get Intellisense when the html helpers work without it.
Using a simple C# string extension method without a namespace == no problem. However, I wanted to put this extension in a namespace to be a good programmer.
If I wrap it in a namespace, you ...
My website runs on a single server. I am caching a DataTable. Each session has a refernce to it's own DataView referring to that DataTable. What I am worried about is when I need to make changes to the underlying datatable will they propagate to each of the sessions references to it.
Or is there a better way to handle this situation.
...
I am using the ASP.NET Client-Side ajax control toolkit in my asp.net MVC application. I see that there is a .js file named "AjaxControlToolkit.ModalPopup.ModalPopupBehavior.js" in the AjaxControlToolkit folder. However, I cannot find any examples on how to use it.
[Edit] -
As mentioned, I am using the Client-side, Script-only control to...
I've been contacted to see about updating an old legacy web application that was built using ASP and Access. The server is running Windows 2000 Advanced Server and I believe IIS 5.0 (I am trying to get confirmation on that, but the company isn't technical so I highly doubt Apache is running on the server).
What languages would be viable...
Why do I have to specify runat="server" on all my asp.net controls when it is a mandatory attribute and "server" is the only option available in my limited low level asp.net knowledge, and I get an error if I don't use it.
I do understand that I can optionally use it on my html tags, and I do understand the client/server paradigm and wh...
Hi everyone,
Is there a way that I can select a bunch of rows or cells from a SilverLight DataGrid and Copy them for pasting into e.g. excel?
The DataGrid doesn't seem to have this functionality built in!
Thanks a lot
...