Contents tagged with C#
-
ASP.NET MVC 3 Custom Validation using Data Annotations
ASP.NET MVC 3 System.ComponentModel.DataAnnotations package provides a vast range of Data Annotations attribute, but there are certain scenarios where we need something which is very specific to our business requirements and we need to implement our own Validation Attributes. ASP.NET being an extensible framework which makes it possible for the developer to add user defined custom business validations using custom data annotations.
-
WCF REST and SOAP Service with WSSF (Service Factory 2010)
SOAP or REST this is always been a debated topic. In both the approach we have certain disadvantages as well as advantages. Internet is flooded with such an articles, but what if we want to keep both parallel, yes of course we can do this because WCF gives us all the freedom to use both the Approach using the same Service Contract. There is a very nice article which covers this topic you can find here.
-
Rows and Columns Merging in ASP.NET GridView Control
Its been a long time I have written any article on ASP.NET. Just few weeks back I got a very interesting requirement where I had to customize my GridView by Grouping the Columns and also merging the Rows by using Colspan properties. So while in View mode of GridView the data should be display in Rows and Columns format, but when I click on Edit it will display in List Format where we can place the controls in any format we want. You can refer to the figure below for the final target what I am going to show in this article.
-
Passing Objects between ASP.NET and Silverlight Controls.
This is Part –2 of my previous post “Passing parameters between Silverlight and ASP.NET – Part 1”
-
Custom Configuration Sections in app.config or web.config
There are certain scenarios where we need to define our own custom configuration section. I have recently faced one where I had to Store the key value pairs as given below.
-
Working with Silverlight DataGrid RowDetailsTemplate
In this post I am going to show how we can use the Silverlight DataGrid RowDetails Template, Before I start I assume that you know basics of Silverlight and also know how you create a Silverlight Projects.
-
Simple Preferred time control using silverlight 3.
Here I am going to show you a simple preferred time control, where you can select the day of the week and the time of the day. This can be used in lots of place where you may need to display the users preferred times. Sample screenshot is attached below.
-
Silverlight 3 DataGrid Columns Grouping using PagedCollectionView
In this post I am showing how to implement Column Grouping in SIlverlight 3 DataGrid,
-
FREE Cheat Sheets for Developers(Quick Reference Card)
Hi All, here is the link for the great library of cheat sheets, I assure you that after looking into this collection you will be amazed....these Cheat Sheets are...
-
Sharing source code between .NET and Silverlight