Force ASP.NET clean compile
How can you force ASP.NET 1.1 to recompile its runtimes as in the ASP.NET Temporary Files location? ...
How can you force ASP.NET 1.1 to recompile its runtimes as in the ASP.NET Temporary Files location? ...
I have a page that has a really huge viewstate (>300KB). ...Yeah, I know. I've narrowed this anomaly down to one user control, but am having trouble determining what exactly that control is putting in there. I've overridden SavePageStateToPersistenceMedium in the page, but am not great at working with the viewstate object passed in. ...
I have the following DIV markup: <div id="dialog" title="Membership Renewal"> Your membership is going to expire. </div> I have the following javascript to execute the JQuery: <script type="text/javascript"> function showjQueryDialog() { $("#dialog").dialog("open"); //alert("Time to renew Membership!"); } $(document).ready(f...
I might have messed up on a design decision. Instead of using a strongly typed collection of custom objects, I have used a generic List. Essentially, what i have is: public class AreaFields { [XmlArray("Items")] [XmlArrayItem("Item")] public List<Fields> Fields { set; get; } [XmlAttribute] int id { set; get; } } pu...
What is a good link or article on encrypting a URL link with AES to pass username to another web site in ASP.NET using VB.NET 2005? FYI: The receiving web site will have access to the private KEY to decrypt. ...
I inherited an Asp.Net app that uses ASP.Net membership services. I am trying to add web parts with personalization to the site, and am getting a lot of errors. It looks like the tables generated by Aspnet_regsql.exe have been changed - probably copied at some point in the past using "select into" causing them to lose all their indexes...
I'm using Windows Workflow as part of a class library in an ASP.NET application. I've read all the suggestions about setting up WWF in ASP.NET and using a ManualWorkflowSchedulerservice, however, I'm not sure if that makes sense for my app. My workflows are all sequential, no persistance; they're fire and forget. A client makes a reques...
I asked this question in the DataDynamics forum earlier today. I thought that maybe I'd get some sort of response here at SO. I am trying to get the WebViewer up and running in my ASP.NET MVC application. I am attempting to render the webviewer in the controller (webViewer.RenderControl(htmlTextWriter) and then put the results into Vi...
Hi all, Here I am again with another seemingly simple question I just cannot find the answer to. I would like to use an input type="button" but asp:Button always gives me a type="submit." <asp:Button runat="server" bla bla bla /> Thanks in advance. ...
I've seen these two things lately and I'm a bit confused. var blah = new MyClass() { Name = "hello" } and var blah = new MyClass { Name = "hello" } Whats the difference? and why do they both work? Update: Does this mean that if i have something in a constructor which does some computation that i would have to call the first one?? ...
I saw a couple of similar questions here, but what I'm trying to do is a bit different. I want to have a way to give users some feedback on their actions which can be controlled from both client and server side. I've build a UserControl with a label (label's text property is exposed) and some JS which hides the label shortly after the ...
I have just installed the RTW 1.0 of the MVC framework. I was using RC2 in the past to go through the tutorials. I now have a problem where basic routing doesn't work which i didn't have in RC2. If i create a new MVC application in VS 2008 the routings for the home page don't work out of the box. The following URL's work for some reaso...
I am currently on a hosted Virtual Server, I want to enable GZip compression for my Asp.Net 3.5 site, how do I go about starting? I have tried using 'packed' JS files, but they don't work, I am assuming it's because they are not handled correctly...? ...
I have a StringUtilities.cs file in the CommonFunctions Project that holds a UppercaseFirst function that Uppercases the first word in a string. Currently in the .aspx.cs in a separate Project (in the same Solution) that is utilizing this function is called using MyProject.CommonFunctions.StringUtilities.UppercaseFirst("hello world"); ...
I have a lot of problems with url rewrite and ajax extensions 1.0 on a asp.net 2.0 web application. I am considering using asp.net mvc. Does it work for me since i am using asp.net 2.0, ajax extensions 1.0 + ajax control toolkit, iis 6 on a win2k3 server? My development machine is windows vista with iis 7 Please advise. Thank you. ...
How to display a flash (.swf) file into asp.net ? ...
I have used asp.net flash control to display flash file in asp.net.....but it doesnt works for me.... code i used .... MovieURL="flash/cube.swf"> flash file im using is version 9....but flash control tries to display version 10....is there any problem...
Hi, I'm currently writing a custom server control in ASP.net. My idea is to create some sort of collapsible panel control (btw, it's the first server control I'm writing). So what I wanted to have is that the user defines my control in this way in the page: <myCtrl:CollapsiblePanel id="myCollapsiblePanel" runat="server"> <asp:Label i...
I am a newbie and developing a website using ASP .Net 2.0 with C# 2005. I would like to add a facility to count the no. of visitors to my website. I have collected the basic informations to add this feature using Global.asax. I have made modifications to Web.config by adding the line "" under system.web section. I am using a table to k...
I am unsure about the scope of one static inner class of a non-static class. In the lines below, would the variable DataContextCreator.Instance (part of a Singleton pattern) point to the same PDataContext instance for all Page objects/page requests or would each object have its own instance? public class Page : System.Web.UI.Page { ...