ASPCode.net
Free asp.net and asp scripts
Home
ASP.NET articles
.NET
Applications
ASP
Other
ASPCode.net Blog
ASP.NET auctions
Navigation:
Start
Subcategories
»
ASP.NET articles
»
.NET
»
Applications
»
ASP
»
Other
Popular searches
asp
free asp script
admentor
admentor pro
Search...
free asp scripts
free asp.net script
asp.net
asp developer
asp shopping cart
Searching for free asp scripts
Old ASP application fixed and quick shortcuts
I have now fixed up the download links for my old free ASP scripts. Sorry about the trouble and I do agree it wasn't too smart going on vacation the very days after a new site release, but hey, it's just a website nothing more right :) PostcardMentor http://www.aspcode.net/Download-latest-vers
Overview
new project in ASP.NET it really took some time, but now I have a foundation ( of code as well as knowlegde ) so I will soon begin rewriting my other free ASP scripts as well. I can already now say, if you have used AdMentor you will find yourself familiar with some parts of the interface and
Step 4: Using the JavaScriptServe control (and download solution)
Lets now use the control we created in step 3 : Apart from referencing the javascriptserve.dll we just set page1.aspx too look like this: <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="page1.aspx.cs" Inherits="page1" Titl...
aspECard is profiting on my script PostcardMentor
It happens every now and then. Someone takes my free script(s) and then changes some layout, add a few things and then tries to sell it. The last one in the row is maine-net.com which with no doubt has used my TopsiteMentor and PostcardMentor. I will for now just lay out the evidence for Postca...
Your own configuration setting section in web.config
I have often talked warmly for using appSettings instead of creating your own custom section in web.config - however I do admit there are some pretty nice things with them. First and maybe most importantly - in a world of component reuse - it is a good way of avoiding name co...
Including WebResource in ASP.NET server control
Embedding resources (such as images, javascript, stylesheet information) into your server control makes it a lot easier for redistribution - and reusing the control in other projects is indeed the reason as why to create a control at all. This example will show you how to embed a javascript ...
Step 3 - page2.aspx
In this page we are using two controls (just to show you it's possible). <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="page2.aspx.cs" Inherits="page2" Title="Untitled Page" %> <%@ Register TagPrefix="headermanager" Namespace="ASPCodeHeaderM...
Step 2 - page1.aspx
Now lets look at page1.aspx <%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="page1.aspx.cs" Inherits="page1" Title="Page 1" %> <%@ Register TagPrefix="headermanager" Namespace="ASPCodeHeaderManager" Assembly="ASPCodeHeaderManager" %>
The JQuery specifics
As you might have noticed I am totally hooked on JQuery . As a Javascript library it's fantastic and I have therefore decided to use it for Ajax functionality as well. For my experimental project http://www.findfreefonts.net I decided to use it and therefore this ASPCodeHeaderMa...
Step 2: Test case - control your Javascript
This testcase (solution is downloadable - in related article) is really simple and basic. Master pages is used. The master page contains a single contentplaceholder
Untitled Page
ASPCode.net.Cookie released
This library (or plugin or whatever it should be called) extends Microsoft Ajax by offering easy client side support for cookies. Not much to say about it - the code to use it in your project looks like this:
HeadermanagerControl - step 1 master page
This example is what you get in the download. I will try to guide you though it so you get an understanding of the control. We have a master page - master.master - and two pages (page1.aspx and page2.aspx). Now - lets start with master.master: <%@ Master Language="C#" AutoEventWir...
web.config
1. My global DebugMode flag. I always use a flag for all my controls etc to enable/disable certain logging/debugging functionality.
When set to true packing/obfuscation will NEVER take place regardless of...
Our free ASP.NET server controls
I needed to create this page as a shortcut for you all to find my free controls. Site content is growing at an incredible speed, so some sort of extra structuring is needed. Free ASP.NET server controls ASP.NET Thumbshots Not an actual control, but a ha...
Using ASP scripts from HTM pages
1. What does he mean? Well I guess that's what you must be asking yourself - and I really have to agree the title looks kind of cryptic. I understand I'd better motivate you to keep reading, so I do my best: Imagine you have this site and you have a Latest news-function where news headlines are ...
Accessible Ajax calls 2 solving history problem
The importance of accessibility has become more and more in focus as Ajax solution becomes more and more spread. I have talked a lot of the need for it in this article on Accessible Ajax calls and while it certainly could be argued the solution might be a little "raw" an...
IncludeScriptCompression
How dows it work? 1. If appsettings debugmode = true then it never compresses the javascript file but instead just sets the script src='' path directly to the script. i.e <headermanager:IncludeScript Path="~/scripts/hello.js" /> -----> <script type="text...
Overriding packing
You can for a certain script/css file set the maximum level compression to ever be used for it. For example you might have found that from all your 100 js files there is one file - foobar.js which doesn't work when packed. But it does work when whitespace removed. You can still use IncludeScr...
Master pages in ASP - free template engine
We are here gonna create a three page website - all pages should use a "template" for layout. This will enable us to easily keep a consistent layout for all our pages and also, it sure brings structure to your code. I have used this technique for 5 years or so, one lar...
Interfaces and generic collections in C#
When developing ASPCodeHeaderManager I created a servercontrol for managing javascripts etc in an ASP.NET page. Later I needed a specific servercontrol to be able to interact with the ASPCodeHeaderManager control. However - I wanted to keep the two controls totally unk...
System.Web.UI.Page.RegisterClientScriptBlock(string, string) is obsolete
The power of injecting JavaScript into your ASP.NET pages from your codebehind code is really important, considering that the controls client ID:s will not be the same as in your designtime ASPX file. In ASP.NET 1.1 it was pretty easy to inject JavaScript by using this code ...
AdMentor.NET features
3.01 MySQL is now supported. Look in the directory otherdatabases and you will find two table creation scripts, one for MySQL and one for SQL Server. Please note that the binary release is compiled with ASP.NET 1.1 and therefore you/your host needs to have that installed. AdMentor.NET uses My...
A watermark texbox with JQuery and asp.net
Finally I have managed to fix the search box here at aspcode.net. I upgraded CMS, changed the layout and everything but didn't manage to get everything up and running before by summer vacation. Anyway - have you tried the search box? It is one of those watermark textboxes - me...
Version 1.1 2007-01-18
Only one change: interfaces in separate dll - ASPCodeHeaderManagerInterface.dll allows for easy manipulation from other (third party) server controls This basically means that from your own servercontrols - instead of using the ClientScript scriptmanager which injects scripts pretty...
Features
AdMentor is a totally free ad rotator script written entirely in ASP. No binary components are needed on the server ( hosts tend to charge you extra for it, if they even allow it at all ) and no super-power database engine either - just a simple Access database is what you need. The AdMentor pro...
Adding each script only once
Lets face it - sometimes when we code we do mistakes. It would in our example of the JavaScript server control be very easy to add the same script twice. It might not look that easy to do that mistake when just looking at the very simple example we have gotten so far - but in rea...
Selecting random items from array
I recently had to do a hack on a site, and implement random link rolling. The used a third party CMS so all I could do (well considering the time parameter as well) was to change the ASP.NET master page to include some quick link selection code as well. So therefore this code might look ve...
Download grouping repeater solution
This is part 6of this tutorial on how to create a expandable/collapsible grouping repeater control with ASP.NET. So, please start by reading part 1 . Now lets look a little depper at the GroupingHelper class. public class GroupingHelper { public GroupingHelper() { ...
Step 3: Render to page header
As explained in step 2 we want to render the script src tags into the page:s <header> part. And be able to do it from wothin the specific page:s contentplaceholders. I have developed a control for that - JSIncludeControl and it uses some of the techniques described...
Simple ASP.NET SOA architecture
Overview Here we will create a ASP.NET driven application providing a domainname to ip service for a Windows client application. Foreword Ok, here I will get into a "hot" concept - SOA - but to be honest - I don't care about the names and terminology - I just wanted a so...
ASPCode.net.History released
The need for a history plugin for my own Ajax paging problems in Microsoft Ajax made me create this plugin. It's best described in another article, so instead of just repeating myself http://www.aspcode.net/articles/l_en-US/t_default/ASP.NET/ASP.NET-2.0/Ajax/ASP.NET-AJAX-formally...
OpenSTA
Since it doesn't seem to be a secret anymore I might as well tell you - I am working on a PRO version of AdMentor ( the ASP.NET version ) and while I don't want to give yo any details about it yet, this article will instead describe one of my experiences I gained during development. In short I nee...
Visit our new JQuery and ASP.NET driven font database
I have been pretty quit lately - first my family was off to Egypt for a vacation (great to get away from dark Swedish autumn) - however after that I have been working pretty hard on getting a "real" site up using JQuery and ASP.NET. And finally - while I do know I have some...
System.Web.UI.Page.RegisterStartupScript(string,string) is obsolete
I bet you use the RegisterStartupScript a lot - in conjunction with IsClientScriptBlockRegistered it is an easy way to insert a chunk of Javascript code into your ASP.NET page. if ( !Page.IsStartupScriptRegistered("mytest") ) Page.RegisterStartupScript("...
ASP.NET repeater control - databind with style
If I had to name *one* single control as my favorite ASP.NET server control, it would most probably be the asp:repeater . When I started ASP.NET programming the datagrid was my best friend - or I wanted it to be - I tried in every way to use it whereever possible. I even used the inline ed...
Download the asp.net javascript logging console
Javascript is indeed getting more and more important. With Ajax techniques getting spread and popular, javascripts skills are certainly becoming an valuable asset. However, doesn't matter how good a developer you are - some sort of debugging/logging tools sure are needed - and I bet I'...
File uploading - howto part 3
We will now continue to work on your "customer" editing application we started in Part 1 - so please read it and Part 2 as well. For each customer we should be associate manage binary files - lets say pdf files and image files. So now lets add some upload...
Binary data in database - howto part 4
We will now continue to work on your "customer" editing application we started in Part 1 - so please read it and Part 2 as well. In Part 3 we stored the data in SQL Server. Now it's time to get the data out of there as well. This is how the GUI looks when ed...
Site structure
If you ask me the site has become "too big" - in terms of number of articles and categories etc. It is hard to navigate and to know what kind of content is available - and where it is. Therefore I have now started to create subsites and move some content out to those...
Use NetSpell in your ASP.NET 2.0 application
This simple beginners tutorial will show you how to start using the free spellchecking component NetSpell from Loresoft from within your ASP.NET 2.0 application. When you download it http://sourceforge.net/projects/netspell/ you will see there is a full featured ASP.NET forms examp...
Sending mail from ASP application
You know the problem... You download a piece of ASP sourcecode which includes some sort of sending email functionality, it might be a recommend-a-page script, forum etc: - you will now need to get it to work with the email component you are using - cause it is not the same as the developer used... ...
Securing pages with login scripts
These functions can be used on certain pages you want password protected. First create a file called includelogin.asp with this content: <% Response . Buffer = True Function ValidateLogin ( sId , sPwd ) ' For you to validate ID and PASSWORD ' M...
JQuery and ASP.NET - lets involve ASP.NET
In this example we create a table - and a span When clicked on the span an Ajax request shold be made - from the serverside the current minute should be returned - and the the current minute is label should be updated: Really easy and it's pretty much like the first Ajax example...
Requirements
What you need 1. ASP on the webserver. 2. Beginning with version 2.0 calls from static HTM pages is supported as well. You can also call the ad functions from other servers - but on one server you need ASP. What AdMentor is NOT ( yet ) 1. It is not an full blown ad server. It is not poss...
Starting with Ajax.NET
My journey in Ajax land continues. As I have said here in by blog I am not sure Atlas is the way to go. In short - I have learned that the most complex (and bloated) ASP.NET server controls such as the datagrid - but also some design time controls such as the datasource controls etc...
Startinfo
Download the free ASP rotating script that already has been downloaded over 20 000 times. From here you can also access AdMentor documentation and information as well as the support forum. Sourcecode is of course available, and there are no binary components needed, just plain ASP code. 2000-...
Appsettings expressions
This is a simple tip, but still might be of value. More of a "good to know you can do it" rather than rocket science. As you might know, if you have worked with sqldatasources and connectionstrings, you can specify which connectionstring (stored in web.config) to use by using the sy...
Using thumbshots.org with ASP.NET and C# part 1
Ever heard of thumbshots.org ? They offer a (free) service letting you retrieve thumbnail images from websites and webpages for use in your own web pages. Pretty cool and so easy to use: In short - you just point your images to their handler and add your specific url at...
Simple RSS reader class
Being able to read RSS feeds are becoming more and more important today, even for website publishers. Here's a very simple (ASP.NET 2.0) example - but the class and code could easily be used in .NET 1.1 as well. The top of our default.aspx looks like this when running: Af...
CreateUserWizard using email as username
A very common scenario is to use email address as login id instead of a username. Here I will show you my approach to that CreateUserWizard tweaking: The idea was first to somehow hide the username field, and in the event CreateUserWizard1_CreatingUser set the UserName to the Email. Well, that di...
Searching for
free asp scripts