Dynamically set control visibility inside ItemTemplate’s of GridView using Bind Expression September 1, 2011Posted by Abhijit Jana in .NET 4.0, ASP.NET, C#.
Tags: ASP.Net, Beginners, Binding, BindingExpression, GridView, ItemTemplates
GridView TemplateField allow us to specify custom controls, multiple fields and Html using a custom template. TemplateField allows us to define a completely customized template for GridView Column. We can bind the data with in template control using binding expression. ASP.NET provides number of ways to take control over the template control. In this post I am going to discuss how we can set template control visibility based on certain condition which depends on the data source data. For example, imagine you have a link button within template field. You want to set visibility if that control based on the some value of your data source.
Multiple URL Binding with IIS Express August 5, 2011Posted by Abhijit Jana in IIS Express.
Tags: .NET, ASP.Net, Binding, IIS Express, Multiple Binding
IIS Express is a lightweight, self-contained version of IIS and optimized for developers. IIS Express provides the power of IIS7.x and makes it very easy to develop and test web applications. Visual Studio 2010 SP1 provides complete integration with IIS Express. In one of my previous post I discussed How you can Run “IIS Express” and “Cassini” simultaneously in Visual Studio 2010 SP1. In this post I am going to discuss about how you can bind multiple URL’s for a single Web Application with IIS Express.