Feeds:
Posts
Comments

Archive for the ‘DotNet 3.0’ Category

        We have used FCK editor as an HTML editor for our recent project. It is one the best and easy to integrate HTML editor available free. When I test the editor on local server and it works fine. However when we add image using FCK editor the image path is relative to tour webpage. [...]

Read Full Post »

     While refreshing the AJAX skill today I wrote a simple code to display please wait message while asynchronous postback. I added one Update Panel, one Update Progress panel and a button control and registered button  as Asynchronous Postback Trigger control. I assign my UpdatePanel’s id as AssociatedUpdatePanelID to UpdateProgress panel. I ran the code [...]

Read Full Post »

     I was reading articles on URL Rewriting in ASP.NET and I found the most common way suggested is to use Context.RewritePath either in global.asax file or in HttpHandler with Application_BeginRequest method. The most common found code is Context.RewritePath(NewURL). When you the application you find it works like a charm and yes it does so!!!!. [...]

Read Full Post »

      Sometime we need to find when the page is loaded or page is completely loaded before specific java script function is called.  As we all know if try to access DOM element using document.getElementBtId() before page is loaded or page is completely loaded we get error. So to prevent the error we can user [...]

Read Full Post »

       Most of us have faced the case when we have to load the controls dynamically. We can load user control by calling LoadControl method. To load inbuilt server controls we can use Page.Form.Controls.Add() method or we can user any container like panel or place holder and call Controls.Add() method. Upto this it looks very [...]

Read Full Post »

        You may receive “Could not load file or assembly Microsoft.SqlServer.Management.Sdk.Sfc” while connection to database.  I got the error when I tried to connect to SQL Server 2005 from Visual studio 2008 using server explorer. The exact error is,
Could not load file or assembly ‘Microsoft.SqlServer.Management.Sdk.Sfc, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91′ or one of its dependencies. The system [...]

Read Full Post »

         You may find this error while working with Data Application block in enterprise library. When you look into the inner exception you will find the message “The value can not be null or an empty string.”.  This message does not give proper information to user.
         When enterprise library does not find default database [...]

Read Full Post »

     Today I was exploring Enterprise Library 4.1 and encounter this error. I created a sample application and added reference to few DLL from “EntLib41Src\bin” folder to my application. When I hit F5 to run the application I got following error,
“An error occurred creating the configuration section handler for exceptionHandling: Could not load file or [...]

Read Full Post »

            “Velocity” a caching framework introduced by Microsoft for distributed caching in ASP.NET. When you use “Velocity,” you can retrieve data by using keys or other identifiers, named “tags.” “Velocity” supports optimistic and pessimistic concurrency models, high availability, and a variety of cache configurations. “Velocity” includes an ASP.NET session provider object that enables you to [...]

Read Full Post »

     I have generic list say, List<int> and I want to find the duplicate values from the List<int> and store it in new List<int>. There are many ways to achive this. One can loop through all the elements of List<int> and store the duplicate in other list OR can use anonymous method to acieve same. [...]

Read Full Post »

Older Posts »