|
|
|
|
|
| | Total Hits: 0 | Today: 0 | Author: Huobazi(Marble.M.Wu) | Rating:  |
| |  A frequently asked question in the ASP.NET community is 'How to Build a Custom XML Configuration for ASP.NET' or 'How to use my own config files in ASP.NET'. Today let's do it together.
If you want to use your custom config settings, you can inherit the IConfigurationSectionHandler if your .NET version is 1.x. You can also inherit the ConfigurationSection if your .NET version is 2.0.... |
| | Total Hits: 1 | Today: 0 | Author: festive_ken | Rating:  |
| |  This article describes how, using the DiscUtils library from CodePlex, you can serve up customized ISO files from a website.... |
| | Total Hits: 1 | Today: 0 | Author: sambasivam elayaraja | Rating:  |
| |  Web Application is stateless. To maintain the state of the page, we have many solutions like query string, session, hidden controls and more.
Hidden controls are primarily used to keep some kind of key value pairs for the page. To maintain multiple key value pairs, we need to have multiple hidden controls on the page and hidden control name will be used as key. Basically the concept behind the hidden control is sharing the values between server and client.... |
| | Total Hits: 0 | Today: 0 | Author: datacop | Rating:  |
| |  View State is a mechanism employed by ASP.NET web pages to persist the state of the page itself, individual controls, objects, and data that are housed on that particular ASP.NET web page. View State is a double edged sword in that using it properly allows the developer to build full and robust web applications that seem to overcome the stateless nature of the web.... |
| | Total Hits: 0 | Today: 0 | Author: Lee Gunn | Rating:  |
| |  When moving from Windows Forms to ASP.NET Web Forms, an API that may be missed is that offered by the System.Windows.Forms.MessageBox Class. Sometimes when developing web forms the application may wish to inform the user of a successful or, god forbid, an unsuccessful operation. An effective way to communicate an important message to the user is through the use a MessageBox or, with respect to web programming, a JavaScript "alert".... |
| | Total Hits: 0 | Today: 0 | Author: www.AspDotNetFaq.com | Rating:  |
| |  You probably know that each ASP.NET Ajax page MUST have ONLY ONE ScriptManager control. No more, no less.... |
| | Total Hits: 0 | Today: 0 | Author: www.AspDotNetFaq.com | Rating:  |
| |  Recently I needed to disable some ASP.NET RequiredFieldValidator controls on one page depending on user input. This is trivial you say. But the problem was that this needed to occur instantly on Client Side based on the state of one CheckBox control and not after a full page PostBack.... |
| | Total Hits: 0 | Today: 0 | Author: www.AspDotNetFaq.com | Rating:  |
| |  The first thing that comes to ones mind when thinking on how to solve this is - JavaScript.
And off course, that IS THE WAY TO GO, but why making your hands dirty writing client side scripts, embedding them in your Page HTML code, and testing on different browsers/version, when there is cleaner way of doing this?... |
| | Total Hits: 2 | Today: 0 | Author: ScottGu | Rating:  |
| |  One of the great new features in Whidbey are "Generics" -- which basically provide a mechanism that enables developers to build classes whose signature and internal datatypes can be templatized.
For example, rather than use an ArrayList (which is a collection of type Object), or force developers to create their own strongly typed list collection class (ie: the OrderCollection class) -- developers using Whidbey can use the new List class implemented within the System.Collections.Generic na... |
| | Total Hits: 2 | Today: 0 | Author: Bean Software. | Rating:  |
| |  To preserve web server's resources, session expires after certain time of inactivity. Inactivity is considered as time between two consecutive requests from same visitor. By default, ASP.NET session will expire after 20 minutes if visitor doesn't visit any new page. If visitor makes new request, session timer is restarted. But, if there are no new requests, ASP.NET will suppose that visitor is leaved website. When this happens, all session data related to that visitor are deleted from server's m... |
| | Total Hits: 2 | Today: 0 | Author: Pete Mourfield | Rating:  |
| |  Occasionally I’ve had to troubleshoot sending email messages to a particular SMTP server by simulating a mail client (or .NET mail code) by using the telnet client. Here’s how I do it on Windows:... |
| | Total Hits: 2 | Today: 0 | Author: Abhijit Jana | Rating:  |
| |  Some times we need to detect the Browser Close to perform some operation before quiting from application. Here is a simple way.... |
| | Total Hits: 0 | Today: 0 | Author: Hugo Flores | Rating:  |
| |  There are some times when you want to obtain the HTML source code from an editable Iframe, on the server side of the world, and this article gives a very simple example of that.... |
| | Total Hits: 19 | Today: 0 | Author: butchzn | Rating:  |
| |  By default, Classic ASP sites will not run in IIS 7.5 on Windows 7 because of it being on the 64 bit platform and Classic ASP built to run on 32 bit.
I encountered a problem with a Classic ASP website that I run off my localhost which makes use of a Microsoft Access Database. In most cases, ASP is not setup by default with IIS 7.5. This page will give you the 3 steps that I followed to set this up and get my site up and running again.... |
| | Total Hits: 2 | Today: 0 | Author: eightfour | Rating:  |
| |  In this article I will show you how easy it is to create your own mailer. This sample is for beginners and provides just one To:, Cc: and Bcc: - there is also no parser for the From: - TextBox, so you don't have to use white spaces for the From-Name.... |
| | Total Hits: 9 | Today: 0 | Author: debasish banik | Rating:  |
| |  This topic will guide you on how to change the background image of any asp.net web page by using a file upload control.... |
| | Total Hits: 2 | Today: 0 | Author: Navnath_Kale | Rating:  |
| |  This article is inspired by the blog that showed excelled approach for using ActionNameSelector attribute. I have tried to take this approach little further to support multiple forms and multiple submit buttons without providing any hardcoded value to the attribute but just by specifying name of the form and button this action intended to handle. This makes sense when you don’t want to specify any Value directly inside code, as in case of localization when Value of buttons is not fixed.... |
| | Total Hits: 0 | Today: 0 | Author: John Arcadella | Rating:  |
| |  ASP.NET 4.0 comes with a FileUpload control that allows you to send a file from your computer to a Web server. The file to be uploaded is submitted to the server as part of the browser request during postback. After the file has completed uploading, you can manage the file in your code.... |
| | Total Hits: 0 | Today: 0 | Author: Simon Pickersgill | Rating:  |
| |  For the sake of this blog I will assume that you know and understand the differences between web user controls and web server controls. This blog concentrates on the latter and how you can create server controls that will present the developer with intuitive and helpful tools at design time for setting the basic options of the control.... |
| | Total Hits: 3 | Today: 0 | Author: prashant chalise | Rating:  |
| |  This article is used to demonstrate to the user how to get the text present on TableCell inside a GridView. The basic idea is bind your datavalue inside a server side control and finally search for the control and get text from it. The process I have shown is also for a case when a particular column is hidden.... |
|
|
|
|
|
|
|
|
|
|
|
|
|