Home Account Search

How to include web link within website texts

My inner salesman requires me to advise you to get a content management system enabled website from KM Websol. With our CMS you can add link by just highlighting the texts you want to apply link to and then click on the chain icon and enter destination URL.

For your existing static website (static website means the sites without CMS), you will need to open the site in HTML mode. Your texts will look like this:

site body area start

paragraph start

These are some demo texts. click here to read more.

Paragraph ended

site body area ended

Apply web link to word "click here"

These are some demo texts. <A href=/0about.aspx>Click here</A> to read more.

In the given example, we provided the link to the page in root directory of your website. The root directory means the first directory in your HTTP folder. Let's say if the webpage was located inside a folder called "About", you would have applied A HREF link by adding the folder in front of / sign. It would have looked like "About/0about.aspx".

How to customise image size in Photoshop

This is a simple tutorial I came across on You Tube. I have often got clients requesting information on how to customise their product image size etc. This is the best video to address that and it also shows the effect of customisation on resolution etc.

 

Silverlight vs. Flash

Silverlight vs. Flash

As Microsoft describes Silverlight is a cross-devise plug-in for delivering the next generation of .NET based media experiences and rich interactive applications for the Web. In other words, it is something and only format to date that may be a threat for Macromedia Flash.

As a .net web developer I am all excited about Silverlight. I am also a big fan of Macromedia Flash and as Silverlight is in first stage of its life cycle it is difficult to comment if it will be better then Flash. however, we can not deny the possibility.

As you may know when Flash was first released there were many a thing that did not seem right, file sizes were bigger, load time, animation quality but over the time we have seen it getting better.

When we say there is a possibility that Silverlight may eventually be better than flash, following factors may play a big role in making it a reality.

Animation – Flash is frame based without notion of animation while Silverlight is better in this regards as it supports the WPF animation model so it lets you define the start and end motion conditions.

Shapes - Flash shapes are stored using binary shape records which may make it a bit too technical for beginner users to write shape definitions. Silverlight’s XAML is text based and can be output using a simple XML object.

Text - Flash stores font’s glyphs using the same shape definitions that are used for any other shapes. Silverlight WPF/E lets you embed true type font information directly into your projects.

Scripting - A .net developer can reuse C# classes for Silverlight while flash requires writing Action script. This means that a .net developer can reduce a lot of work load by using Silverlight.

Tools – As with scripting, Silverlight content can be created with the same tools that you use as a .net developer. Visual Studio.NET is by far the most powerful and most popular IDE.

This does not mean that Flash is not great, it certainly is. It will surely keep getting better. However, for a .net developer, Silverlight may turn out as an extra bonus from Microsoft!

Does Convert.ToDateTime read dd/mm/yyyy or mm/dd/yyyy? - ASP.NET ...

This is very commonly known setup yet very important so I think it is worth sharing. One of our developer partners struggled with this problem for 2 days! Finally he did the right thing - contacted someone extremely intelligent like myself. :)

Does the C# Convert.ToDateTIme function read date as "dd/mm/yyyy" or "mm/dd/yyyy"?

When the application on the local machine is uploaded to remote shared server, it started giving date/time error. It was working perfectly on local machine reading "dd/mm/yyyy", but on remote machine, it seems to read dates as "mm/dd/yyyy". The culture setting was checked  and there is same culture setting "en-GB" on both.

Here is the culture-proof way of reading date strings from a SQL Server 2000 database? 

Answer:

The format of the DataTime will depend on the current culture of your application. In order to have a specific format throught your application you can set the <globalization> tag in the web.config file under <system.web> section. In such case you need not write code to convert the datatime to proper format. By default all the dates will be set to the format specified.

<system.web>
 <globalization culture="en-GB" uiCulture="en-GB" requestEncoding="utf-8" responseEncoding="utf-8" />
</system.web>