Controls
16 posts in this category
- C#: Get Parent Control with GenericsI use the following method to return a parent control of a specific type. This method is recursive and uses generics.Apr 27, 20101 min read
- Create a Visual Studio add-in with contextmenu and selected text as inputCreate a Visual Studio add in with contextmenu and selected text as input When working with a new way of storing settings in a database. I was frustrated how…Feb 25, 20102 min read
- Asp.Net: DataPager problem with ListviewWhen using the Datapager with a ListView I had the following problem. When clicking a paging button for the first time nothing happens.But when I click a…Dec 23, 20091 min read
- Add meta data (keywords, description) dynamicallyAdd meta data dynamically to your page by adding a HtmlMeta control to your Header. In this example I dynamically add a keyword string to the page. You can…Jul 6, 20091 min read
- Using the ViewState within the SelectMethod of a ObjectDataSourceBy default it is not possible to use the ViewState within methods of a ObjectDataSource. Because the DataSource doesn't run within the current page instance,…Jun 3, 20091 min read
- Asp.Net: Clear inputfields after form submitEvery time a form is successful summited I need to clear all input fields to the default values and give feedback to the user. I wrote a method ClearControl…Apr 15, 20091 min read
- Sitecore: itemlist with ObjectDataSource, Listview and DataPagerFor a new project I started working with Sitecore again. I needed to create a listing of items with paging. I implemented a Listview with a ObjectDataSource…Apr 8, 20091 min read
- Asp.Net: Charting Control (Error ChartImg.axd)After installing and playing with the Asp.Net Charting control I decided to use it for a customer. When integrating the control to the project I got the…Mar 3, 20091 min read
- Asp.Net: Menu control remove MenuItem (MenuItemDataBound)For a project I needed to remove menu items to the pages in the folder 'Subscriberpages' when a the user is in the Role of 'Marketing' and…Feb 26, 20091 min read
- Asp.Net: Using the OnCommand Event with CommandArgumentWhen using a button, linkbutton or imagebutton with CommandArguments or CommandName you can use the OnCommand event instead of the OnClick event. Using the…Feb 4, 20091 min read
- Asp.Net: Databinding a array of stringsYou can use a string array as datasource and view the string values by using the Container.DataItem property. Code example Codebehind: \ code:c \ string\ \…Jan 30, 20091 min read
- Asp.Net : Setting the DefaultButton for the LoginControlYou can set the DefaultButton property of the Login control by putting the Login control in a Panel and set the DefaultButton property of the panel to the…Jan 22, 20091 min read
- Some tips for the Asp.net dropdown controlI always have problems implementing the Asp.Net dropdown control. Here are some simple tips to make your life with dropdown controls easier. Adding an…Dec 30, 20081 min read
- ListView: OnItemDataBoundGet dataItem onItemDataBound don't forget to replace the bold parts with your objectname : \ code:c \ protected void MainPostListView\ ItemDataBound object…Jul 23, 20081 min read
- Asp.Net AJAX controltoolkit javascript functionsI've search them all up for a 1000 times. Now I'm going to write them down as reference. This post will grow in the next few months. Remember do not forget…Jun 25, 20081 min read
- obout Suite for .Net 2.0When surfing around I found this great range ASP.Net controls. Obout.com offers a great variety of ASP and ASP .Net controls. The controls are Cross Browser…Jan 11, 20081 min read