Search - Articles - Dev Forums - Favorites - Member Login  
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Thursday, September 09, 2010

Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > ASP.Net > Tips & Tricks
Search:
What's New - What's Hot


How to: Display Safe Error Messages    Version: 0.00       Price: $0.00   
Total Hits: 16  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

When your application displays error messages, it should not give away information that a malicious user might find helpful in attacking your system. For example, if your application unsuccessfully tries to log in to a database, it should not display an error message that includes the user name it is using....

Facebook Inbox style grid using jQuery, CSS, JSON, and ASP.NET    Version: 0.00       Price: $0.00   
Total Hits: 75  |  Today: 0 Author: Arlen Navasartian       Rating:  
Read Reviews | Write Review |   Your Rating: 

This is a grid like Facebook Inbox style. This grid gives us the possibility of binding data and adding Facebook style events like removing the current row, expanding a row, and linking to another page.

The control uses the following methods:

* Send a jQuery AJAX request to a web server to get news in JSON format
* Create rows and columns and bind data to table rows
* Set the control style after data binding
* Interact with user
* Change and set styl...

Upload files using an HttpHandler    Version: 0.00       Price: $0.00   
Total Hits: 26  |  Today: 0 Author: Ritesh Ramesh       Rating:  
Read Reviews | Write Review |   Your Rating: 

Using an HttpHandler to upload files can be quite handy while designing multiple file uploads, large file uploads, resumable file uploads, and reporting on the progress of an upload. I’m sure there are many more uses for this....

How to Restrict Mouse Right Click on Web Page        
Total Hits: 88  |  Today: 0 Author: DrABELL       Rating:  
Read Reviews | Write Review |   Your Rating: 

To make the ASP.NET web-page look-n-feel more "application-like" it is sometimes useful to restrict the right mouse click event on the page (see the working demo at: www.webinfocentral.com)...

How to Make Datalist Items Automatically Adjustable like div using JQuery and CSS        
Total Hits: 30  |  Today: 0 Author: Prakash Hirani       Rating:  
Read Reviews | Write Review |   Your Rating: 

In div, when you give style float:left and give a width, then the div will adjust automatically into the container whenever you remove any in between div.

When you are using datalist to display image listing and using JQuery to delete any image, then if you delete any in between image then the page will not get refreshed and the image will be deleted but it will display the empty space there as follows. You can see the empty space in the second line right most in the following image....

MVP Corner: Use the ASP.NET MVC Framework to Write Web Apps without ViewState or Postbacks        
Total Hits: 66  |  Today: 0 Author: Jeffrey Palermo       Rating:  
Read Reviews | Write Review |   Your Rating: 

On October 6, 2007, Scott Guthrie officially unveiled the ASP.NET MVC Framework at the AltNetConf in Austin, TX. It's interesting he chose to present it for the first time at this particular venue because the target audience contained some of the most avid open-source software users including users of the MonoRail MVC framework. What could have been perhaps his most hostile and critical audience turned into happy campers after he presented the details and goals of ASP.NET MVC....

How to use Picasa Photo Manager to upload photos to your website.        
Total Hits: 242  |  Today: 0 Author: Muffadal       Rating:  
Read Reviews | Write Review |   Your Rating: 

Picasa is a great photo manager for the windows platform and the best part is that its free. I have been using it for a long time now. And today I am going to show you how to use it to upload photos directly to your website using good old ASP.NET and some APIs from Picasa. I have my website running for quite some time now and I frequently upload photos in my gallery. Being lazy I just wanted to upload the photos on the site and things should be take care of automatically. Hence I used Google Pic...

CodeSnip: How to Create an Oracle Insert Script Using Substitution Function in UNIX?        
Total Hits: 493  |  Today: 0 Author: Deepankar Sarangi       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article examines the creation of an insert script in Oracle by making use of the substitution function in UNIX. Deepankar begins with a short introduction followed by the various parameters of the function. The author provides a detailed analysis of the code along with relevant screenshots....

Change your asp.net form's action attribute with Response.Filter        
Total Hits: 151  |  Today: 0 Author: Tolgahan ALBAYRAK       Rating:  
Read Reviews | Write Review |   Your Rating: 

Sometimes you need to change the asp.net pages form's action attr. Sure that, there are many ways.. And this is one (simple) of them....

A Thorough Examination of "Disabling the Back Button."        
Total Hits: 202  |  Today: 0 Author: Akhilesh Reddy       Rating:  
Read Reviews | Write Review |   Your Rating: 

I have had a lot of people ask, "How to I ‘disable’ the back button?" or, "How do I prevent a user from clicking the back button and going back to the previous screen?" In fact, this is one of the most commonly asked questions on the ASPMessageboard and, sadly, the answer is quite simple: You CANNOT disable the back button of the browser....

How to configure a Timer object        
Total Hits: 104  |  Today: 0 Author: DotNetSpace       Rating:  
Read Reviews | Write Review |   Your Rating: 

This code shows how to configure a timer object to call determined method at some defined intervals....

How To Implement Forms-Based Authentication in Your ASP.NET Application by Using C# .NET        
Total Hits: 108  |  Today: 0 Author: Microsoft       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article demonstrates how to implement forms-based authentication by using a database to store the users....

Building Secure ASP.NET Applications: Authentication, Authorization, and Secure Communication        
Total Hits: 96  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

IPSec is a technology provided by Windows 2000 that allows you to create encrypted channels between two servers. IPSec can be used to filter IP traffic and to authenticate servers. This How To shows you how to configure IPSec to provide a secure (encrypted) channel....

How To: Use IPSec for Filtering Ports and Authentication        
Total Hits: 69  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

Internet Protocol security (IPSec) is a protocol, not a service, that provides encryption, integrity, and authentication services for IP-based network traffic. Because IPSec provides server-to-server protection, you can use IPSec to counter internal threats to the network, including eavesdropping, tampering, man in the middle attacks, IP spoofing, and other password-based attacks. IPSec is completely transparent to applications because encryption, integrity, and authentication services are imple...

SSI - Server Side Includes ... some tricky things        
Total Hits: 178  |  Today: 0 Author: Kundan Narendra.       Rating:  
Read Reviews | Write Review |   Your Rating: 

I think many people still don’t use the SSI- Server Side Includes, because they don’t know the importance or how to take advantage of this kind of facility, or because they’re in the earlier stage of learning ASP, like myself.
I’ll try to explain by giving a simple example – when you’re writing a long document (about 50 pages) in Microsoft Word, and you need your company’s logo in each page, what will you do? At least, everyone knows that we can use 'Header & Footer', so we need to put in fir...

CodeSnip: Simple Array Shuffler        
Total Hits: 227  |  Today: 0 Author: Joseph Chahine       Rating:  
Read Reviews | Write Review |   Your Rating: 

In this code snippet Joseph demonstrates how to shuffle an array in a very simple and intuitive manner.
ShuffleArray is a function that takes an array as argument, shuffles it, and returns another array holding the shuffled items....

ASP.NET Tip: Using the LoginName and LoginStatus Controls        
Total Hits: 257  |  Today: 0 Author: Eric Smith       Rating:  
Read Reviews | Write Review |   Your Rating: 

Besides the new LoginView control that Microsoft added to ASP.NET 2.0, you could use a couple of handy controls in conjunction with your web site security: LoginName and LoginStatus.
The LoginName control simply displays the user name if the user is logged in. If the user isn't logged in, nothing is rendered to the page. You can combine this with the LoginView control as follows:


ASP.NET Tip: Using the LoginView Control        
Total Hits: 278  |  Today: 0 Author: Eric Smith       Rating:  
Read Reviews | Write Review |   Your Rating: 

ASP.NET 2.0 has added a number of controls to simplify developers' lives when it comes to routine, repeated tasks that are common to web applications. This tip discusses the LoginView control, which works hand in hand with the other security features of ASP.NET.
Most web applications that have any sort of user authentication need to show different content based on whether or not the user is logged into the application. The simplest example is showing a Log In link to unauthenticated users and...

Using URL rewriting to make money from google and search engines        
Total Hits: 207  |  Today: 0 Author: ropel.       Rating:  
Read Reviews | Write Review |   Your Rating: 

Easy way in asp.net to do MOD URL base from a table in the database. Need a way to create nice URLS that search engines like for a content page. The goal of this was to be able to add content pages to a site, and automatically have the URL rewritten and pull from a DB. The content site has an article summary page and an article detail page....

Fixing Overlaying Layer with Dropdown in IE        
Total Hits: 340  |  Today: 0 Author: Alexander Kleshchevnikov.       Rating:  
Read Reviews | Write Review |   Your Rating: 

The problem I want to discuss in this article appears only in Internet Explorer. When absolutely positioned layer (div) is overlaid with a dropdown or some AtiveX component. In such situation z-index style sheet property does not work and layer shows under such object. For instance, take a look at the picture:...


1  2  3  4  5  6  7  8  9  10  11  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34  35  36  37  38  39  40  41  42  43  44  45  46  47  48  49  50  51  52  53  54  55  56  57  58  59  60  61  62  Next >> 

DevASP.Net - Disclaimer - Privacy
© 2002-2010 DevASP.net