webforms

How can I integrate Perl with ASP.NET Webforms?

I want to integrate some existing Perl code with ASP.NET. I see plenty examples of accessing Perl from .NET but nothing on the reverse. Has anyone had any experience attempting to do this or does everyone just recreate their existing Perl functionality in one fell swoop? For more detail, I have some functionality already implemented in ...

Display unique characters only in a textbox

If I give the input from Text Box like AaBbcdCDEb the output should be ABCDE or abcde only unique characters should be there, no repeated characters. How do I do this? ...

Using jQuery how do you prompt a message with a select menu option?

I need to prompt an alert message when a user selects a particular option in a select menu. Is there a way to do this using jQuery? ...

Where does form processing logic belong in a MVC web application?

In a web-based application that uses the Model-View-Controller design pattern, the logic relating to processing form submissions seems to belong somewhere in between the Model layer and the Controller layer. This is especially true in the case of a complex form (i.e. where form processing goes well beyond simple CRUD operations). What's...

Printing Server Side from .Net (without WinForms)

Hey printing junkies need some pointers to send me in the right direction for this development. I am developing an epos system for a local shop which we are later going to tie into an ecommerce site. The front end of the epos system is going to be WinForms so we can handle USB devices easily and we are going to use a WebForms/MVC admi...

prevent values in form from passing

I have 4 elements in my form. Usually, when submitting the form you would get this in the url:index.html?day=01&month=01&year=1999&reporter=Joe+Blogs However, in my interface, users are switching between the date picker and the person picker. Is it possible to only send the values on the select that is active? [I started writing this t...

how to check status of checkboxes in gridview columns on click of button

Hi, T have used checkbox column in gridview. On click of a linkbutton, it should be checked that checkboxes in gridview are checked or not. If none check box is checked then it should display alert("Check at leat one check box"). ...

Server Controls and View State

Ok time to show my complete lack of knowladge for all things web forms but here goes. I am extending the Panel control and OnPreRender sticking some additional controls inside of it (lets just say 1 textbox for simplicity). From here I am just letting the Panels Render method do its thing. The issue I am having is that obviously every ...

In IRouteHandler.GetHttpHandler() Can I redirect?

As a glutton for unproven sexy techniques I've adopted System.Web.Routing in my Web Forms application to manage navigation and such. Further, I'm hoping to move role-based security from web.config to the route definitions itself so I can say "this route is only available to roles x, y". So I've got the class that implements IRouteHandl...

Increasing ASP.net WebForm Performance

When designing a ASP.net WebForm application what are some important steps to take (or hacks if you like to use the term) to ensure the best possible performance (in terms of speed, stability, and scalability)? ...

MVC using ASP.NET webforms

I've inherited an ASP.NET application built on top of webforms, and the application suffers from having all of its business logic embedded in the codebehind. As a result, this application can't be unit tested. I want to break out the functionality of every form into an MVC style, but I've found that ASP.NET resists every effort on my pa...

ASP.NET MVC vs WebForms for First Page Load Speed for Big Projects

We have a pretty big ASP.NET WebForm (web application) project with a lot of references to other libraries, other projects etc and most of the time after a compilation, the first time we load a page it takes a LONG time before rendering anything... Disk IO is the main problem. For small projects it's nearly instantaneous, but once your...

Use Javascript to change which submit is activated on enter key press.

I have a form on an HTML page with multiple submit buttons that perform different actions. However, when the user is typing a value into a text input and hit enters, the browsers generally act as though the next submit button sequentially was activated. I want a particular action to occur, so one solution I found was to put in invisible ...

Manager Classes?

Im writing a .net webforms app. It has a number of classes, for example users, bookings etc. At the moment I have a number of manager classes, say bookingManager, that manage these classes. For example when creating a new booking, you call the add method in the bookingManager, and pass a booking. It then checks the booking is valid, chec...

Submit a registration form remotely

A client of mine is needing their current website to tie into an online leasing module off site. The module needs to be accessed from our website by posting the username and password hash to it, or the registration information. It works when I copy the view state manually from the source into the form they fill out on our system, but n...

ASP.NET Routing in WebForms - Blank Page Bug?

OK, I have a standard ASP.NET WebForms Application (3.5, SP1)... I've just added the System.Web.Routing DLL, and set a route to a point to a new handler. That handler is VERY VERY simple, and simply returns a new instance of a standard page. Code here: public class ReportRouteHandler : IRouteHandler { IHttpHandler IRouteHandler.Get...

ASP.NET Routing - Do Custom Routes COMPLETELY SKIP Everything in the Global.asax?

I have a simple ASP.NET 3.5 SP1 Web Forms app... I've added the System.Web.Routing DLL, and I've made a simple route that returns a standard ASP.NET Page as the "IHttpHandler". All is good... except that HttpContext.Current.User is null ??? So, I did a little more digging (I put breakpoints in all the events in the Global.asax file). N...

Does RAD for asp.net exist?

I've built web sites using classic ASP, ASP.NET web forms and lately ASP.NET with ExtJS. However, I've always felt that I've had to do a lot of the heavy lifting and that there was no real RAD until the application was fairly mature. I've only briefly looked at RoR and Django, but they look like a step in the right direction. Does anyo...

Solution for e-Forms engine

My client is asking for a solution that handles e-forms generation to be done by a technology-savvy user (not a developer). In other words, An e-form engine for dynamic creation and implementation of electronic forms. Is there any tool/solution in the market available that handles this requirement? I would love to avoid building it fro...

Registering custom webcontrol inside mvc view?

I am in the middle of a project where I am migrating some code for a website from WebForms to MVC - unfortunatly there's not enough time to do it all at once, so I will have to do some... not so pretty solutions. I am though facing a problems with a custom control I have written that inherits from the standard GridView control namespac...