Feeds:
Posts
Comments

Archive for the ‘Development’ Category

Test e-mails in my Live mailbox

This far I have blogged about WebImage and Chart helpers. Now let’s see another new helper – WebMail – that you can easily use to send e-mails. WebMail is easy to configure and extremely easy to use. In this posting I will show you simple feedback form that uses WebMail to send feedback messages.

Source code

You can find source code of this example from Visual Studio 2010 experiments repository at GitHub.

Source code @ GitHub Source code repository
GitHub

Example is located in Experiments.AspNetMvc3NewFeatures.Razor project.

(more…)

Advertisements

Read Full Post »

Cheat Sheets are so useful for web-developers to remember various things. It’s always complicated to memorize syntax for web developers and designers since they are always evolving and rising. Here, Cheat Sheet is always come in handy. These cheat sheets are designed to be printer friendly.
In this article we are going to present some most useful cheat sheets, especially for front end web developer. It would helpful for HTML, CSS, JavaScript and SEO purposes.

Are you looking to contribute to our design community?

Suggest a link

to a relevant article, or submit your own! You will help push the design community to much higher levels.

(more…)

Read Full Post »

In the last weeks I frequently received a question about how to use CSS3 border-radiusproperty to draw HTML elements with rounded corners in Internet Explorer. How you know CSS3 border-radius property is natively supported in Safari, Firefox and Chrome but for some mysterious reason this property is not supported in Internet Explorer.

So to draw rounded corners in IE you have to use some trick, for example using CSS classes with a background image (take a look at this post).

(more…)

Read Full Post »

I have been anxiously awaiting the Dynamic Data release.  And now that it is here (it was released with VS 2008 and .Net 3.5 SP1) I decided I would start getting a feel for what is has to offer by building a real simple Dynamic Data web site that allows you to browse the 5 core Northwind tables – Customers, Employees, Orders, Products and Suppliers.  Read on for the details and don’t forget to download the code.  DiscountASP hasn’t quite upgraded to SP1 so I don’t have a live demo setup.  Hopefully they will get the upgrade completed soon, but I made sure to include lots of screen shots so you can get a good idea of what the screens look like.

[Update 9/21/2008] : Add link to the live demo

DownloadLive Demo

(more…)

Read Full Post »

I spent a few hours putting together a Dynamic Data web site using the YUI DataTable and DataSource components.  I mostly just did this out of curiosity to see how easy or difficult it would be to use the DD API with other components besides the GridView and DetailsView controls.  So I created a DD web site that provides read-only access to Northwind’s Customer, Employee and Supplier tables, but I am not using ASP.NET’s GridView, DataSource and UpdatePanel controls to render the grid.  Instead I have replaced these components with YUI’s client side DataTable and DataSource and serve the data using a web service (paging included!).  Below are a few of the highlights, and don’t forget todownload the sample and try it out for yourself.  Its experimental, but if you are new to DD or YUI you might find it interesting.

[Update: 9/21/2008]: Added live demo link

DownloadLive Demo

(more…)

Read Full Post »

Navigation menus are the most important element one should pay attention when designing a website. Web-developers can create user-friendly horizontal or vertical navigation menus using CSS. Javascript makes it possible to create more interactive, more responsive and more flexible navigation to any website.

This article presents over 25 (horizontal and vertical) multilevel drop down menu built using Javascript and CSS which you can use in your future projects. Also you will find some useful tutorials at the end of this post where you can use to start building your own multilevel navigation menu.

(more…)

Read Full Post »

This article describes a correct and smarter way of implementing Role based authorization with Forms authentication in ASP.NET.
Prize winner in Competition “Best overall article of May 2009”
Prize winner in Competition “Best ASP.NET article of May 2009”

Problem Space

Sad, but true, “Forms authentication in ASP.NET does not directly support role based authorization”. If you have ended up implementing Forms authentication along with configuring authorization rules for “users” and “roles” in the web.config, you are going to see the access rules working fine for “users”, but, not working at all for “roles”. You might have thought, there must be some way to specify user roles in the famous FormsAuthentication.RedirectFromLoginPage(), or, any other method. But, there isn’t!

(more…)

Read Full Post »

Older Posts »