Archive for January, 2017

In many scenarios you will need to display more than a single child table at the same level. I.e. display multiple child tables at the same level. To accomplish this within an MVC 2 application using jqGrid you need to include the following: in your Views\Shared\Site.Master file as show in the below image. Include the […]

If you have not read Part 1, read it here. On this website I use a Master page. In this example my web user control (.ascx) is contained within a webform (.aspx) which is containtws within a master page (.master). I need to understand this when I am passing my BLOGID from the web user […]

While creating this technical blog website, I decided to implement the functionality that allows readers to give feedback. This is a common function. What is not common is finding examples of how to create a feedback form. As well, a feedback form that can be resued inside of each blog using a web control. So […]

Delegates in C# are similar to function pointers in C++ and allow methods to be passed as parameters. In this example we will create a delegate called CalculateCharge and a Withdrawal class: Our Program class will create 2 delegates to execute the calculation. The first delegate will be named and the second one will be […]

When I convert one object to another using the keyword “as” and the original value is not of that type, the converted value simply becomes NULL. For example, if theItem is of type MessageBox, then row will be NULL. DataRowView row = theItem as DataRowView; However, when using this code, I.e. boxing. DataRowView row = […]