Recent Posts

0
Comments

Configure Check-Out Settings - How to avoid multiple checkouts in TFS 2010 by jhallal

Administrators of Team Foundation version control can configure source control check-out settings to avoid multiple checkouts in a project maintained in TFS 2010. To configure check-out settings, you must have the Edit project-level information set to...
Filed under:
0
Comments

Check if Point is inside a Polygon using SQL by jhallal

Using the geospatial SQL functions you can check if a point (with a given X,Y) is included inside a polygon Example: Declare @point geometry Declare @polygon geometry SET @point = geometry::STGeomFromText('POINT (-88.22 41.50000001)', 4326) SET @polygon...
Filed under: ,
1
Comments

Geospatial Data in SQL Server 2008 by jhallal

Introduction The spatial data type in SQL server 2008 allow you to store geospatial data which deals with the location of a point, line polygon... in a three dimensional space. SQL Server 2008 supports two spatial data types: Geometry : Stores data in...
Filed under: ,
0
Comments

jQuery Selectors by jhallal

jquery selectors are the most important aspects of the jquery Library. On top of standard CSS selectors jquery introduces some custom selectors that makes your code even more simpler and easier to read. Below is a summary table of the jquery selectors...
Filed under:
3
Comments

Hide the console window in "C# Console Application" by jhallal

To hide the console window right click the project -> Properties -> Application in Visual Studio , under Output type select "Windows Application"
0
Comments

jQuery 101 – The Basics by jhallal

What you should already know Before you start using jQuery, you should have a basic knowledge of: HTML CSS JavaScript What is jQuery? jQuery is a lightweight cross-browser JavaScript library designed to simplify the client-side scripting of HTML. It was...
Filed under: , , ,
1
Comments

The Style of the SP DateTimeControl is Corrupted by jhallal

I'm using a SharePoint DateTimeControl on a custom SharePoint page, while implementing theomplete behavior of the page I found that the DateTimeControl is not rendered properly on the page, the picker is opening but with no styles. Note that the control...
3
Comments

Large ViewState & ViewState chunking (maxPageStateFieldLength) by jhallal

The ViewState Chunking mechanism allow you to split the ViewState content into several chunks/hidden fields. The reason behind using this feature is that some proxies and firewalls will deny access to the aspx page that contains a huge ViewState size...
1
Comments

SharePoint Navigation - Setting the Audience Property of an SPNavigationNode by jhallal

In this tip/trick i will demonstrate a way of setting by code the target audience of an SP navigation node. You might say setting this property in SharePoint UI is quite simple, but if you want to set it by code you will not find any straight forward...
Filed under: , , ,
9
Comments

Label vs Literal in ASP.NET by jhallal

Unlike the Label control, the Literal control does not render any additional html tags thats why the best practice says: never use the ASP.NET Label control when a Literal can do the job. In different cases we use the Literal/Label controls to label input...
Filed under:
More Posts Next page »