Use javascript to determine if an ASP.NET page is a postback
Hi, Is it possible to determine if an ASP.NET page is a postback from javascript? So basically a javascript equivalent of C# Page.IsPostBack. Thanks. ...
Hi, Is it possible to determine if an ASP.NET page is a postback from javascript? So basically a javascript equivalent of C# Page.IsPostBack. Thanks. ...
I'm curious about the various versions of .net. We have an environment where we've developed applications in various versions (1.1 and 2.0). Now, I'm trying to get the 'go ahead' for developing in 3.5. The biggest issue is whether or not these versions will play nicely together on the same installation of IIS. Another caveat is that I'm ...
I recently participated a project that replaced a mainframe system with a web (asp.net 2.0, VS2005) system. The 3270-terminals are still much used and I respect the IMS/CICS/Cobol application designers for their work. Users like the web application, but one thing they keep ask for is: Functionkeys and shortcuts that navigates directly t...
I'm trying to bind an ASP.net DropDownList to the results of an entity framework query, while still maintaining multi-tier separation. (i.e. I don't want my UI code to contain query details, nor my Data Layer code to have UI dependencies.) My code-behind in the Page_Load event handler looks like this: IEnumerable<Lookup> Types...
Is there any way to export the contents of a Crystal Report to a text File - I am using VS 2005. ...
I'm trying to do a site that can host multiple storefronts off of one database for "branding" purposes, but everything I've come across either A) forces you to use their entire solution as-is unless you want to do a rewrite of most of their logic, or B) thinks that "multiple stores" always means "different items in each store" when I wan...
Question Hello All, A little background on my issue... I currently have a site built for the ISP I work for that displays messages to users based on their billing status. When they are in Non-Pay I display a Non-Pay message and if they are in Abuse, I display an abuse message, etc. The traffic is generated by a Cisco SCE that redire...
How do I convert To Text Format from RTF using ASP.Net? ...
Is there a recommended way to bounce an asp.net application besides touching web.config from inside the application? is HttpRuntime.UnloadAppDomain(); the preferred way to do this ? and if so where do you do this? in the unload of a page or some other place in the application ...
Is there any reason why there isnt a radiobutton list helper in the core MVC beta? There's a dropdownlist, but no radiobuttonlist. I know that I can easily create an extension method to do surely this is a core thing? ...
Hi- I'm putting the network solutions 'seal' image on my site and they give you a javascript that sets the image. I'm wanting the image to align>right. However, if you want the image, they give you a javascript code stub and it handles the rest, which has no alignment property. I've even tried putting the javascript into a table that ali...
I have been playing around w/ ASP.NET's Membership, Roles, and Profile providers. In doing so, I recently set up Microsoft Sample's custom Table Profile Provider (see: http://www.asp.net/downloads/sandbox/table-profile-provider-samples/) When I run the test solution I have programatic access to the Profile variables. I.e. I can type P...
Can I set some kind of global variable for the length of a single Request, so that all the controls of the page can respond to it without having to pass it through to each of them? For instance, if someone hit a Save button on my MasterPage, could I set something so that each UserControl on my Page can have a Page_Load like: protected ...
I'm trying to create a set of custom performance counters to be used by my ASP.NET application. I use the following code to increment the counters: internal static void Increment(String instanceName, DistributedCacheCounterInstanceType counterInstanceType) { var permission = new PerformanceCounterPermission(PerformanceCounterPermiss...
What's the best way to put the "debugger;" statement inside the __doPostBack method or a way to step in the method? ...
I am working with a custom role provider in asp.net and it appears that once the provider is loaded into memory, it doesn't drop out of memory until the web application is restarted (like when the web.config file is changed and saved). Further, all of the requests to that web application seem to utilize the one instance of the role provi...
I have to display yes/no button on some condition on my asp.net page , I used windows.confirm() to display that but windows.confirm displays Ok/Cancel Button , Is there any way I can display Yes/No Button in asp.net page instead of Ok/Cancel using Javascript ? ...
I'm using the ASP net Ajax toolkit and have a GridView within the UpdatePanel, everything works fine. When I attempt to run some jquery against the table that should be generated, there isn't any sign of the gridview (or table HTML) in the DOM that is returned. I am assuming this is all done by ASP generated Javascript? How can I perf...
I have some experience with .Net (Win Forms and WPF) but am very very green in ASP.Net. I was given the task of building a simple, file system-based picture browser, and I would like your help in guiding me on how I can accomplish this. The images are supposed to be stored in the web server where the application runs, in a folder called ...
I currently develop with Django, but want to be ready when a future client inevitably requests a site done in ASP.NET MVC. While most of the structure and flow of ASP.NET MVC is more or less identical to Django and RoR, the one part I'm not sure about is the Apps methodology Django employs to make code reuse easier. Is there an equival...