If you used wordpress, you will notice how it lets you assign categories to your posts. These categories or Tags are hierarchical and nested. One can assign one or more of these categories to a post (article). Here I’ll show you how to create such functionality and apply that to Questions inside a Quiz. The […]
Author Archives: admin
Two ways to render MVC3 Partial Views: Client side Javascript or server side html helper
We learned a great deal about the Partial Views in my post Fundamentals of MVC Partial Views. In this post I’ll show you how to create a partial view in a Visual Studio MVC 3 project and how to load the partial view inside a regular view using the following two methods: Server side using Html.Partial() helper […]
How to Bind a DropDownList with a EditItemTemplate in the GridView
ASP.NET GridViews are very handy to display data from a database table, view or a select statement that may contain joined tables. By default the gridview provides the fields in the boundfield format. The boundfields are fileds that have fixed GUI type and an associated datafield.
1 |
<asp:BoundField DataField="state" HeaderText="State" SortExpression="state" /> |
Convert a asp:BoundField to a asp:TemplateField In order to […]
Fundamentals of ASP.NET MVC 3 Partial Views
ASP.NET MVC Partial Views are similar to web user controls available in ASP.NET WebForms. They are reusable components that can be plugged into regular MVC views. A header or footer or a stock ticker is a good example of a partial view as it can be programmed into a Partial view and be used across […]
How to program MSAGL (GLEE) to create hierarchical graph layouts
MSAGL (Microsoft Automatic Graph Layout) is a .NET library and tools created by Microsoft Research for creating hierarchical graphs, viewing them and saving them to bitmaps. MSAGL is built on the principle of the Sugiyama scheme. MSAGL can be used to create layered or hierarchical graph layouts. These layered graphs can be used to represent […]