asp.net

what is the best use Cache Object or static variabels

I need to store large data in my website but I'm not sure what is the best to use cache objec or store the data in static variabels in the master page? thanks alot ...

Goals & Funnels

Hi , I have only page (default.aspx) in my site and i want to configure that page in Google analytics's goals & funnel . can anyone help me that what i have to do to configure to achieve goal ? Regards, Sagar ...

How can i run any win.exe from asp.net page?

How can i run any win.exe from asp.net page? this codes me error: The system cannot find the file specified System.Diagnostics.Process process1 = new System.Diagnostics.Process(); process1.StartInfo.WorkingDirectory = Request.MapPath(@"C:\"); process1.StartInfo.FileName = Request.MapPath("WindowsApplication1....

Using ajaxToolkit CalendarExtender on an asp:label

I'd like to use an ajaxToolkit:CalendarExtender on an asp:Label. When I attach a CalendarExtender to the label, I get the error: Extender controls of type 'AjaxControlToolkit.CalendarExtender' cannot extend controls of type 'System.Web.UI.WebControls.Label'. I'm hoping someone knows a quick trick to allow me to display a date...

Does spring.net recurse sub directories?

When the spring.net framework starts up for an asp.net application does the component that registers all objects in the IoC container recurse all sub-directories referenced in the web.config? eg. <spring> <context> <resource uri="~/bin/ClientService/ClientService.config"/> <resource uri="~/MCFModule.config"/> </context> </s...

how to show aspx page in contentplaceholder of masterpage

hi everyone I have a master page in my website. I have two contentplaceholder on that master page. In one contentplaceholder i have some links on which click I want to redirect to the corresponding page in the second contetplaceholder on the same master page. how can i do this....? pls help ..? ...

Using transactions with subsonic

In my web application I've to keep audit of the user actions. So whenever user takes an action I update the object on which action is taken and keep audit trail of that action. Now If I first modify the object and then update audit trail but the audit trail fails then what? Obviously I need to roll-back changes to modified object. I c...

Displaying Member Details To Correct User

Hi there, I currently have a website and upon registration to the website i generate each member a unique GUID. Upon the user logging in to the website i check the credentials and store the guid in session if successful, in order to show the user there profile / how many post have been made etc i run my queries to the database passing t...

jquery ui tabs redirecting to ASPX page on postbacks

I am being redirected to the actual aspx page when I submit the form. How to avoid the redirection. Tabs.aspx <div id="container-1"> <ul> <li><a href="Survey.aspx?group=1"><span>HR</span></a></li> <li><a href="Survey.aspx?group=2"><span>Sales</span></a></li> <li><a href="Survey.aspx?group=3">...

Recording Audio From Web Page

I'm looking for a solution for capturing audio from a user's microphone and posting it (preferably as MP3) to a server. I need something that I can embed in a web page. I've seen where Flash can do this, but I understand that this approach requires expensive server-side software from Adobe. I'm not aware of whether Silverlight may pro...

ASP.NET 3.5: Display UpdateProgress during Page_Load()

I am building an ASP.NET site using Visual Studio 2008 and have a page looking like this (stuff snipped) <asp:Content ID="Content2" ContentPlaceHolderID="PageContentPlaceHolder" runat="server"> <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"> <ContentTemplate> the page here.. </...

Can I export generated html pages from ASP.NET website through Visual Studio?

My friend uses Visual Studio to develop websites in ASP.NET. She only uses the Master Page facility, other than that it's 100% normal HTML and CSS. Is there a way to export the website to HTML pages based upon their master pages? If not, it's either loading each page manually and saving the HTML, or I write a little app that does it. ...

How to transfer Form values from one asp.net page to other?

I want to transfer one asp.net page form values to another page when i click to submit button. But you know, every asp.net page postbacks to itself. Do you know any way to do this? ...

Binding Label to SiteMap Current Node

What I want to do is something like this: <asp:Label ID="titleLabel" runat="server" **Text='<%# SiteMap.CurrentNode.Title %>'**></asp:Label> Where I can bind the name of the current page node in the Site Map to the title label on that page. We are doing this because, until we get these names finalized, they may change often....

Find a Control inside ASP:Repeater

I am trying to access a control inside a Repeater. The control is inside the <ItemTemplate> tag. I am using FindControl but it's always coming out Null. What am I doing wrong? ...

Visual Studio Debugger Not Attaching when at the Root of a website

I am having a problem with my Visual Studio 2008 debugger not attaching to the root of the default website when I run from within the enviroment. I have an .NET 3.5 Web Application project running on VS 2008 SP1. I have set the project to "Use Local IIS Web server" with a path of "http://localhost/". I am able to create the Virtual Di...

Is there anyway to monitor one single (class) of object in terms of cache?

I am trying to determine which implementation of the data structure would be best for the web application. Basically, I will maintain one set of "State" class for each unique user, and the State will be cached for some time when the user login, and after the non-sliding period, the state is saved to the db. So in order to balance the db ...

Disabling HttpModule on certain location

I know that this has already been asked here but the answer (using a handler instead) doesn't solve the issue, as I'm using a third party component that doesn't implement IHttpHandler. So, again, is there any way to load/unload a HttpModule on a certain request? EDIT: I forgot to mention that we're working with .NET 2.0. I'm sorry abo...

Let user review a file before uploading it

I am programming a control to allow the users of our intranet to upload multiple files into our system, but with some added functionality. Imagine you as a user are uploading N files, when you add N files the intranet presents you a list like this: File_name_1 ..... [View] [Remove] [Upload] File_name_2 ..... [View] [Remove] [Upload] . ...

"Request timed out." error when setting debug="false"

I have a page that takes a few minutes to run. When I set debug="false" in the <compilation /> tag in web.config, I get a "Request timed out." error (and internal try/catch blocks in my code get a "Thread was being aborted." error. What is the fix to allow long pages to run in production mode? Does debug mode have an infinite timeout...