Archive : Web

LoginControl and CSSAdapters

1
Digg me

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified) 
I got this error when I started using LoginStatus Control. It seemed very wiered. After lot of struggle I found out this is caused by CSSAdapters.
Open CSSFriendlyAdapters.browser  (or something similar)
Look for this line and remove or comment it.
<adapter controlType="System.Web.UI.WebControls.LoginStatus"
 adapterType="CSSFriendly.LoginStatusAdapter" />
Now you LoginControl will work without any issues.
 

How to make your webpage IE8 compatible

3
Digg me

Follow these steps, to make your webpage IE8 compatible. Feel free to add more pointers in comments.
1. Make your webpages Xhtml 1.1 compatible by adding this on top of your .aspx or .html page
< ?xml version="1.0" encoding="UTF-8" ?>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2. Remove all Inline Styling
Donot use inline styling

[table style="width:100px;height:200px;background-color:#ebebeb;"] [/table]

Instead use

.tableStyle1 {
width:100px;
height:200px;
background-color:#ebebeb;
}

[table class="tableStyle1"] [/table]

Replace ‘[' & ']‘ with ‘< ' and '>‘

3. Validate your CSS using
http://jigsaw.w3.org/css-validator/#validate_by_uri+with_options
Profile : CSS Level 2.1
Medium : ALL
Warnings : ALL or Normal Report

4. Use XHTML equivalents for outdated / deprecated html tags
Click here to view new XHTML Constructs

Browser Comparison

1
Digg me

Recd. this comparison chart via email.

Interesting tools / .net components

0
Digg me

List of interesting  tools / .net components. Visit  www.codeplex.com for more :)

DoddleReport will add automatic reporting (HTML/PDF/Excel/etc) for any LINQ Query, IEnumerable, DataTable or SharePoint List

http://www.codeplex.com/doddlereport

Open DBDiff is an open source database schema comparison tool for SQL Server 2005/2008.

http://www.codeplex.com/OpenDBiff

Map Report

http://www.codeplex.com/MapReport

Visual Studio 2008 XHTML 1.1 Templates

http://www.codeplex.com/VSXHTML11Templates

MultiMenu ASP.NET Cascading Menu WebControl

http://www.codeplex.com/MultiMenu

Simple weather control

http://www.codeplex.com/aspnetweathercs

TytanNET – Visual Studio Great Add-in

http://www.codeplex.com/tytannet

.Net Documentor

http://www.codeplex.com/netDocumentor

Sharepoint Admin Report

http://www.codeplex.com/spadminreport

AJAX FileUpload

http://en.fileuploadajax.subgurim.net/

Extended Gridview Control

http://aspalliance.com/946_Extended_GridView_Control.all

ASP.NET Alerts

http://www.codeplex.com/alerts

HelpDesk – Very simple ticket and bugtracking web app for very small companies

http://www.codeplex.com/HelpDesk/Release/ProjectReleases.aspx?ReleaseId=13594

PickList ASP.NET WebControl

http://www.codeplex.com/picklist/Release/ProjectReleases.aspx?ReleaseId=16222

TooltipExtender

http://www.codeplex.com/tooltipextender

Multi-select listbox without holding down Ctrl Title is required

http://www.codeplex.com/AjaxControlToolkit/WorkItem/View.aspx?WorkItemId=11907