asp.net

IronPython and ASP.NET

Has anyone built a website with IronPython and ASP.NET. What were your experiences and is the combination ready for prime-time? ...

Best way to custom edit records in ASP.NET?

I'm coming from a Rails background and doing some work on a ASP.NET project (not ASP MVC). Newbie question: what's the easiest way to make a custom editor for a table of records? For example: I have a bunch of data rows and want to change the "category" field on each -- maybe a dropdown, maybe a link, maybe the user types it in. In Rai...

Should I support ASP.NET 1.1?

I've just started working on an ASP.NET project which I hope to open source once it gets to a suitable stage. It's basically going to be a library that can be used by existing websites. My preference is to support ASP.NET 2.0 through 3.5, but I wondered how many people I would be leaving out by not supporting ASP.NET 1.1? More specifical...

Mobile device is detected as non mobile device

I've included a mobile web form in my asp.net project, I thought that it could/should be seen just for my mobile users but I realize that it can also be seen from any browser, I don't see problem there cause I could diff the access using HttpBrowserCapabilities.IsMobileDevice=true and transferring to the appropiate aspx page, but it resu...

Image manipulation in asp.net/c# without System.Drawing/GDI+

Is there any alternative image manipulation library for .net? I would prefer something that is managed and open source. I ask this because of two reasons: I have encountered hard to debug GDI+ errors with System.Drawing in the past I have read that using System.Drawing in asp.net web applications is not 100% supported. Thanks! ed...

GridView delete not working

I'm using a GridView in C#.NET 3.5 and have just converted the underlying datasource from Adapter model to an object which gets its data from LINQ to SQL - i.e. a Business object that returns a List<> for the GetData() function etc. All was well in Denmark and the Update, and conditional Select statements work as expected but I can't ge...

.NET 3.5 SP1 and aspnet_client Crystal Reports

I recently (a few days ago) installed .NET 3.5 SP1 and subsequently an aspnet_client folder with a bunch of Crystal Reports support code has been injected into my .net web apps. Anybody else experienced this? Am I correct in saying that this is a side effect of SP1? What is this? ...

user controls and asp.net mvc

Here is one trivial question, but I am not sure how to handle that. I need to display list of categories on every page, and to be able to choose items from specific category to be displayed. I use asp.net mvc, and chosen to create user control that will display categories. My question is: What is the best approach to pass data to user co...

ASP.net AJAX Drag/Drop?

Hello, I wonder if someone knows if there is a pre-made solution for this: I have a List on an ASP.net Website, and I want that the User is able to re-sort the list through Drag and Drop. Additionally, I would love to have a second list to which the user can drag items from the first list onto. So far, I found two solutions: The Reor...

How to schedule a batch process in asp.net

I want to run a weekly batch process in an asp.net page. How can that be done? Thanks ...

How to organize dataset queries to improve performance

I don't know when to add to a dataset a tableadapter or a query from toolbox. Does it make any difference? I also dont know where to create instances of the adapters. Should I do it in the Page_Load? Should I just do it when I'm going to use it? Am I opening a new connection when I create a new instance? This doesn't seem ...

ASP.NET Model-view-controller (MVC) - where do I start from?

I'd like to understand better the MVC pattern, as I'll be probably using it in the future (my job is mainly focused in developing .Net web apps). Can I ask to this community to help me find a starting direction on this subject? Articles, white papers, code samples, theory... anything you found helpful! Many thanks Andrea ...

What Url rewriter do you use for ASP.Net?

I've looked at several URL rewriters for ASP.Net and IIS and was wondering what everyone else uses, and why. Here are the ones that I have used or looked at: ThunderMain URLRewriter: used in a previous project, didn't quite have the flexibility/performance we were looking for Ewal UrlMapper: used in a current project, but source seem...

ASP.NET AjaxToolKit vs other third party Ajax controls (Telerik, etc)

We have a new developer who swears by Telerik controls and would like us to purchase licenses for the entire development team (8 devs) as he feels they speed up the development process. As half of the team is pretty new to ASP.NET, they're still learning what comes out of the box with Visual Studio 2008 and might be overwhelmed with a w...

Can I generate ASP.NET MVC routes from a Sitemap?

I'm thinking of learning the ASP.NET MVC framework for an upcoming project. Can I use the advanced routing to create long URLs based on the sitemap hiearachy? Example navigation path: Home > Shop > Products > Household > Kitchen > Cookware > Cooksets > Nonstick Typical (I think) MVC URL: http://example.com/products/category/NonstickCo...

UltraWebGrid: How to use a drop-down list in a column

I'm using the Infragistics grid and I'm having a difficult time using a drop-down list as the value selector for one of my columns. I tried reading the documentation but Infragistics' documentation is not so good. I've also taken a look at this discussion with no luck. What I'm doing so far: col.Type = ColumnType.DropDownList; col.Dat...

Setting an ASP.NET Master Page at runtime

I'm working on a site which needs to be able to support two or more looks, changable at runtime. I'd hoped to be able to handle the change with a CSS switch, but it looks like I'll need to use a different masterpage for each design. So, what's the best way to set the masterpage at runtime? Page.MasterPageFile can only be set in the Page...

How do I get rid of Home in ASP.Net MVC?

I know this site is written using ASP.Net MVC and I do not see "/Home" in the url. This proves to me that it can be done. What special route and do I need? ...

How do I track down performance problems with page rendering?

I've been tasked with improving the performance of an ASP.NET 2.0 application. The page I'm currently focused on has many problems but one that I'm having trouble digging into is the render time of the page. Using Trace.axd the duration between Begin Render and End Render is 1.4 seconds. From MSDN I see that All ASP.NET Web server...

How do I automate repetitive tasks post-build?

I run an ASP.NET website solution with a few other projects in it. I've known that MSBuild projects are capable of this, but is it the best way? Are they easy to create? Is nAnt, CruiseControl.NET or any other solution better? When I build the site (using Web Deployment Projects), can I automate part of the build so that it does not cop...