Hello all,
I'm wanting to create some dynamic controls, and have them persist their viewstate across page loads. Easy enough, right? All I have to do is re-create the controls upon each page load, using the same IDs. HOWEVER, here's the catch - in my PreRender event, I'm wanting to clear the...
Hello all. I'm trying to move a folder and all of its contents to a different location using Directory.Move(). However, when I try to do this, I get the following IOException :
Access to the path...
Can I refer to the Session object inside the Application_Exception handler of my Global.asax?
I want to put some code that looks like this into my Global.asax :
void Application_Error(object sender, EventArgs e)
{
Session["appException"] = Server.GetLastError().GetBaseException()...
Hey all,
Here's the situation -
Say that you've caught an exception, and you want to manually redirect to the standard ASP .NET server error page, and you want the page to display all the appropriate information about the exception that you caught. Is this possible?
Here's the background...
Hello all,
I'm wanting to do a CONTAINS query on fields that belong to two seperate tables. So, for example, this is what I'd *like* to do :
SELECT ci.itemName
FROM Content_Items ci
INNER JOIN Content_Pages AS cp ON ci.contentItemId = cp.contentItemId
INNER JOIN FREETEXTTABLE(Content_Items...
Hey all,
I'm wanting to build a site that uses URL rewriting. It will serve up all content from a single page, let's call it www.mysite.com/content/serveContent.aspx, which will be passed a querystring with an article identifier. However, I want users to see nice, human-readable...
Here's the situation :
I have the same ASP.NET 2.0 web application running on both Machine A and Machine B. On both machines, I have Integrated Windows Authentication turned on, and Anonymous Access turned off for the folder that contains the webservice .ASMX file. When I hit a certain page...
Here's the situation :
I have the same ASP.NET 2.0 web application running on both Machine A and Machine B. On both machines, I have Integrated Windows Authentication turned on, and Anonymous Access turned off for the folder that contains the webservice .ASMX file. When I hit a certain page...
Hello all,
Here's the situation - I'm writing a CMS, and I need a way to demarcate where content text begins and ends. I have a windows service which then reads the content text, and then processes it in various ways.
To demarcate the text, I invented a tag, <articleText> . I surround the...
Hello all,
I have created two custom event logs for my ASP .NET web applications. For now, let's call them Log A and Log B. For some reason, whenever one of my programs writes an error to Log A, the error will show up in both Log A and Log B.
If I try to write an error to Log A, the error...
Here's the situation :
I have the same asp.net 2.0 web application running on both Machine A and Machine B. On both machines, I have Integrated Windows Authentication turned on, and Anonymous Access turned off. When I hit a certain page on Machine A, it will call the web service on Machine A...
Hello,
I'm using XML in two different situations, and both call for an XML namespace. I'm new to XML, and am not even sure what an XML namespace is or why I need one.
In the first situation, I'm using XPath to query an XML document. The method XPathNavigator.GetAttribute takes a...
Is it possible to use one application to update the Application[] collection for another application?
For example, I have Web Application A which is an admin tool, and I want to use it to update the Application[] collection for Web Application B, which is the customer-facing application.
Here's the situation -
I'm writing a custom WebControl that accepts a number of parameters to determine how it behaves. Now, I could take accept these parameters through Properties in the WebControl itself. However, the number and complexity of the parameters would seem to necessitate a...
Hello all,
I've got a small (3 person) shop, and we are in need of a source control solution. For the last few months, we've been using CVSNT along with the Jalindi Igloo plugin, and things just aren't working out. We're getting errors left and right, and it's really killing our productivity...
Hello all,
I run and test all of my webapps on IIS, and not ASP .NET Development Server. I see absolutely no reason for ASP .NET Development Server to exist. Unfortunately, VS 2005 disagrees with me and wants to use ASP .NET Development Server whenever possible.
Because of this, every time...
Hello,
I'm looking to add message boards to my site. What is the best forum software for .NET?
In the best case, the source code should be available. I don't mind paying for access to the source code.
Hello all,
I am wanting to add some very simple AJAX functionality to my .NET 2.0 application.
I want to make a "tabbed panel" control, whereby you have a panel of text with tabs at the top. Clicking on one of the tabs will change the text inside the panel. This will be similar to what you...
Hello all,
I'm having a very difficult time finding good articles on the page lifecycle and control lifecycle. It's really easy to find articles that cover *only* the page lifecycle, and it's also really easy to find articles that cover *only* the control lifecycle. However, what I need is an...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.