Anyone have examples for creating a new user registration form where the web application checks for username availability via making an ajax call on the form and returning available or not on the same page without a full page post? Something similar to new user registration on Hotmail.
...
For those of you who are decent with subsonic!
TblNewsCollection col =
new Select().From(Tables.TblNews)
.InnerJoin(Tables.TblContent)
.Paged(currentPage, pageSize)
.OrderDesc(TblContent.Columns.PubDate)
.ExecuteAsCollection<TblNewsCollection>();
The a...
Hi,
I'm inserting something in the cache when the user does a login.
Now I want to delete that from the cache when the user's session expires. HttpContext is null .. so I don't know for which user the session expired. How can I go about finding this ?
EDIT: unfortunately SessionID doesn't offer me much. What i'm doing in this particu...
Hi...
I'm using the obout grid control in c# and not to sure how to throw an error from the code behind!
I am catching the error in the code behind with a try catch block (which i can see it doing using break points in visual studio) which I am creating on purpose from the database(creating another record with the same identifier), but...
I am creating a mobile web application using asp.net. The application must support iPhone, Blackberry and Windows Mobile Platform. What are the low things which should be taken care of while developing this application. Is there any best practices list available for this?
Summary:
...
I have an IIS located on serverA
I have userA at locationA who has opened a content management system site, hosted on serverA.
One of the features of the system is that it allows the user to move a file to LocationB, all within the same network. Now when this move occurs and due to bandwidth restrictions, would this file move from Loca...
I have a 5 aspx page "wizard".
each one contains a "SaveAndExit" button that executes a c# function on a common static class. After saving , the c# code redirects to another page.
Is there a way for running javascript: alert('Data Saved'); after the saving, and before new page is Loaded.
...
I've been browsing CodePlex, but I was wondering if there were any ASP.NET MVC applications that really stand out among the rest.
...
I've been putting together a small web form for our technicians to use from their phones out in the field. However I'm having a lot of trouble getting things working using ASP.NET Mobile, and there seems to be few resources out there to help learn this stuff. I'm also having trouble getting help.
So the thing is, do I really need to...
I have a web service which has a generic function that returns a dataset from results of stored procedures... Some of the stored procedures have optional parameters where the value can be null but not all the time.
Anyhow I am trying to pass in a parameter which has a value of DBNull.Value
and I get this There was an error generating t...
FYI: ELMAH is the Exception logging framework that is mentioned on Coding Horror here.
How do I setup / configure ELMAH on GoDaddy ASP.NET hosting? I seem to get 404 errors when trying to access elmah.axd. I have followed all of the instructions here to modify my web.config and bin deploy the Elmah assembly.
I was using the BETA 2 bi...
I have several aspx pages that can be opened either normally (full screen in browser), or called from another page as a popup (I am using Greybox, fwiw)
If the page is opened as a popup in Greybox, I would like to NOT display the master page content (which displays common top and left menus, etc).
As far as I know, there is no way of k...
Is there a way to programatically access the DragHandleTemplate of a ReorderList (ASP.NET AJAX Control Toolkit) ... Specifically during ItemDataBound for the ReorderList, in order to change its appearance at the per item level?
...
For an ASP.NET application, what is the Best Practice implementation method for a custom swear word remover/replacer?
If this is a data table solution, is there free resource to get the data? (Similar to finding a public dictionary table that you can import to your system for spellchecking)
...
Is there a way to test an application where you simulate a hundred different clients connecting to a IIS server and asking the same data? At the customer where our project is running they have 400 computers and they often do stress tests with all computers. I on the other hand have only got my laptop... (and a development server).
(In m...
Does anyone know a good tool that can be run on a page (for asp.net, for example) to help to minimize the footprint size of the page?
The page will have typical items: HTML, Javascript, etc.
I've heard of Javascript crunchers in the past, that will make the size of the code as compact as possible (and obfuscate it, I suppose).
The goa...
I'm trying to put in an exception in my web.config so that one page does not require authentication. However, it still redirects to the login page.
The question isn't how to setup the web.config. Why? Our system (for better or worse) has a bunch of instrumentation besides the web.config. We have global.asax and custom HttpHandlers. ...
Is there a standard when it comes to implementing keyboard shortcuts / accelerator keys for web applications.
Example: Navigating through a list of items presented in a grid
Are their guidelines on how to implement this?
Google has one for GMail in the "labs" section.
Also would it make business sense in investing time for implementin...
I want to avoid the users of browsing the other users names , security (of course) and performance
thanks
...
I have a CompositeDataBoundControl and im trying to add a ItemCommand to it, ala the System.Web.UI.WebControls.Repeater - so like a numpty, I just thought if I reflector'ed and added the code like so, it should work:
private static readonly object EventItemCommand = new object();
protected override bool OnBubbleEvent(object sender, Eve...