asp.net

Want to thread a request to generate a page in ASP

Hello, I have an ASP.NET page that I want to be able to generate and save. The page takes a really long time to load, so I'd like to do it in a separate thread, while using the session of the user who requested the page (so that the page looks like it would if they viewed it themselves). Opening a new thread from code-behind breaks the...

IIS/ASP.NET app and subapp: how to use two host names without redirecting?

We have a web application on our server in a directory c:\inetpub\wwwroot\myapp Inside the myapp directory we have a sub directory called mysubapp. mysubapp has its own bin directory, and requires DLLs in the myapp\bin directory So the directories are as follows: c:\inetpub\wwwroot\myapp c:\inetpub\wwwroot\myapp\bin c:\inetpub\...

Databind List of Integers

I've got the following list of integers: Dim foo = New List(Of Integer) I set the datasource of my gridview to foo. What do I put in my databinding markup? <%# Eval("???") %> ...

Getting a value out of a datagrid

I have a datagrid that I need to get a value out of after it has been populated. I'd prefer it not be dynamic (no clicking). The datagrids final product is a set of headers and one row Header1| Header2| Header3 Value1 | Value1 | Value1 I'd like to be able to get any value regardless of its position but right now I only need to ge...

Is There a Good CMS to Use with ASP.Net MVC

I have a small site I developed for a friend that uses ASP.Net MVC and was wondering if I could hook it up to dotnetnuke or another CMS. Or is doing an admin site using dynamic data? ...

livelink integration with asp.net web application

I am building a standard asp.net LOB application. i am planning to have some livelink urls showing up in some parts of the application, where the user clicks a download link and the document needs to be downloaded from the corresponding livelink URL and a save-as dialog needs to come up. for any direct http document URL, it is possible...

Starting with / converting to ASP.NET MVC

I don't know much about MVC, but I have a project where I think I could use a lot of the functionality of ASP.NET MVC based KIGG. At the same time I have a HTML/jQuery based template. How should I approach this? What I am kind of hoping is that I can easily pick Views with behindlaying objects from KIGG, and then easily modify it. Is...

Building a CMS in ASP.NET MVC

I'm curious to know if any basic CMS code has been written for ASP.NET MVC. The reason I ask is, I'm making a data-driven website for a client, and I've already spent a significant amount of time building it from the ground-up in MVC, but now the client wants content management facilities. Basically they want to be able to add/edit/rem...

How to dynamically show images in a asp.net gridview?

I have a gridview that has a column that currently returns a "1" if there was a signoff, or 0 if not. I would like to show a "Thumbs up" image if the value is 1 for each row, or nothing if 0. What is the best method for doing this? I was thinking of somehow using the rowdatabound event, what is the best way to do this? Thanks, Mark....

Good site to get project feedback?

I have a personal project I've been working on in my spare time. It's far from complete, but I want feedback on the UI and the functionality that has made it in so far. Where is a good location to get useful feedback without being persecuted for the post being unrelated to the site's purpose? The project is a website. I'm not posting a...

Whats the best JQuery book?

I am a good javascript/asp.net developer, but i am just starting to learn JQuery, Whats the best book to learn JQuery? Books i like their style: Complete reference How to program ...

Extjs Custom TriggerField implementation

hi, this is my first question here.. I hope I can contribute with answers too.. My need is to build an Extjs TriggerField implementation which open on trigger click a Panel with a custom loaded page inside... example: When I click the trigger button I what to open a panel specifying an url as '/Views/Test/Blabla.aspx' and then storing t...

Global timing of ASP.Net pages

I've just inherited a website (ASP.Net 2.0) written by someone else that I need to maintain. The code is not horrible, but it has a number of things that make the website run incredibly slow. I have an idea to monitor this, and I want to see what more experienced developers think of it. My objective right now is to find out when pages ...

How can I serve an ASP.NET application on a Linux Server?

The title of the question says it all. Is it possible? If so, please explain how to do it. ...

Controller/Routing Errors with js, img files using a CommonServiceLocator ControllerFactory

I've set up an ASP.NET MVC RC2 application to use a custom controller factory backed by a CommonServiceLocator (using StructureMap). Routing to and instantiating controllers works fine, but for some reason I'm getting exceptions when trying to access .js, .jpg, or any other static file. Here's the ControllerFactory code: public class ...

Bind ASP.net object fails on test server, but not dev

I am getting the following error for an item in a GridView: **A call to Bind was not well formatted. Please refer to documentation for the correct parameters to Bind. ** <ItemTemplate> <asp:LinkButton ID="lnkColumn" runat="server" CausesValidation="False" CommandName="Select" Text='<%# Bind("TableName.Column") %>' /> </It...

Is it possible to view source code of assembly? If yes then How?

Hi, I m using a assembly EventCalender. The ddl is EventCalender.dll. I copied this assembly from existing application. It provides customized functionality to calender. I want to see the code of that dll and want to change some functionality of it. How it will be possible..? Thanks in advance. ...

ASP.NET MVC RC2 template head after body?

When I installed ASP.NET MVC RC2, I noticed that the template had changed from RC1. Now, all new views have the header placeholder after the main content place holder. Why is this? It seems very illogical to me and it most definitely was not the case with RC1. I googled but couldn't find any reasoning for this change. Do you know of any?...

Can a request be handled and ended prematurely, early in the pipeline?

I have an HttpModule that has bound an event handler to EndRequest. Is there any way to handle the request inside the event handler? Meaning, I don't just want to run code and keep the request moving -- I want to stop it dead in its tracks, return a 200 Status Code, and call it a day, without it request continuing to the next step in t...

ASP.Net web app mysterious directories

i have a folder called "Helpers" (containing .cs files) that is in the root directory of my web application project structure (along with App_Data etc). lately for some reason this folder keeps moving to other sub-directories by itself. the first time it happened i thought i accidentally dragged/dropped it using visual web dev express "s...