studio NETSOULS

Applying Web To Your Business

It’s a good idea for all the assemblies in a single solution to have the same version number, but the default in Visual Studio is for each project to have it’s own AssemblyInfo.cs file, each with it’s own version number. However it’s easy to share a single Version.cs file between all the projects.More...


DateTime Operations

DateTime is a very important datatype and data in terms of realtime application. Some of the application that run timely manner and some of the application that generate data (log file) with time.
To generate such report you need to required store information about date and time.

In .NET there is datatype called DateTime. This contain all information about datetime but sometime problem with this too.More...


Need to crop or resize images before uploading, in asp.net? Sounds like the alternative to thumbnail generation in asp.net web page? Here comes a handy code using jQuery, JCrop and ASP.NET.

I have coded a shopping cart in which there was the need of uploading images to the server, and keep the sizes as required by the content of the pages. In my case I had to hard-code the size of the thumbnail I generated. But wouldn't it be lovely if the site user could crop the image and fix the required size? So I have found one very useful way to Upload and Crop Images with jQuery, JCrop and ASP.NET. I hope this will be useful for all programmers.

Upload and Crop Images with jQuery, JCrop and ASP.NET


The asp.net membership has the mechanism that it locks out a user's account if he/she tries to authenticate themselves with false password five times, by default, or within 10 minute window. The locked user can then not login.

In the MembershipUser class there is a public method UnlockUser() that you can call for any username to unlock the user, this will reset their LastLockOutdate field etc and allow the users to login using the same password. More...


RadCompression for ViewState

I'll show you how you can quickly enable ViewState compression and show you the effects it has on overall ViewState size and server performance.

How do I enable Viewstate compression?

Enabling ViewState compression with the RadCompression module really couldn't be easier. It requires no changes to your code, no changes to your markup, and not even a change to your web.config (assuming you've already added the required HttpModule references). The only thing you need to do is add a new Browser file to your web project (or modify your Browser file if you're already using one). To add a new Browser file, follow these simple steps: More...


JavaScript "isInteger"

When searching for this I found dozens of implementations doing things like parsing each character, string manipulation, and more. But one of the best solutions i could come up is this: More...


The log file for database is full

When dealing with MS SQL (not MYSQL) I’ve seen this error message before, but found very little help on it out there.

The log file for database db_name is full. Back up the transaction log for the database to free up some log space.

Within the MS SQL Query Analyzer, do this:

backup log db_name with truncate_only    
go    
dbcc shrinkfile (db_name_log,0)
go

If anything, this post will be useful for me in the future when one of my MS SQL databases coughs up the error again.


At first glance, it should be easy to inject a javascript, but it took a little bit of digging around to figure out the resolution, the key is to use ScriptManager.

<asp:UpdatePanel ID="myUpdatePanel" UpdateMode="Conditional" runat="server">
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="btnClick" EventName="Click" />
    </Triggers>
    <ContentTemplate>
        <asp:ImageButton ID="btnClick" ImageUrl="ClickMe.png" runat="server" 
            CausesValidation="false" OnClick="btnClickEvent" ToolTip="Click Me" 
            AlternateText="Click me!" />
    </ContentTemplate>
</asp:UpdatePanel>

We wanted to dynamically inject some JavaScript code. If my ScriptManager control has EnablePartialRendering set to true, it's a simple matter of registering the script. What i didn't realize earlier was that you don't need to the use the current page or current event, you need to call the static method on the ScriptManager class. More...


Alexa Alternative

Alexa alternatives are soon getting popularity. Compete and Quantcast are two of the few new available website popularity checkers. Alexa lost its popularity for it continued to ignore Firefox browser officially.

1. Compete.com
2. Quantcast.com
3. Alexa.com

Find out your website popularity and ranking compared to all other websites of your competitors.


Sometimes, in pure html website, you may require to send email of the form contents to one ore more people. You can use the following code to first validate the form data entry and then send the contents of the form.More...


Recent Project Snapshots

  • Mary Kay - Make Over Contest
  • Utility Forms
  • Oncomed
  • Nutrition Vista
  • Forysth Barr - Letter Writer Application
  • Phase One Trials - Content Management System

About Us

studio NETSOULS is a complete IT services company, offering strategy, design, development and implementation of the total solution for your web and IT initiatives. The solutions we provide, enables businesses to leverage leading edge technology to gain sustainable competitive advantages in today's marketplace.

We specialize in designing, developing and deploying the next generation of IT solutions including e-business solutions Read more...

Month List