I wanted to use this Accordion control on a page and so I specified the ContentTemplate and HeaderTemplate and gave it a DataTable as a DataSource and DataBound it. Nothing! No errors, no warnings, no display of any kind. After a few frustrating minutes of trying to solve it I asked buddy Google about it and it turned out that the Accordion control MUST receive a DataView as a DataSource and nothing else. Using datatable.DefaultView solved it.
I am a .NET programmer living and working in Bucharest, Romania. Posts are divided into programming and misc. Check out the icons above on how to contact or chat with me.
Unless otherwise specified, all code or any type of work you find on this blog is under MIT license. While I welcome attribution, I don't require it. Just use anything in any way you see fit. Consider it completely and utterly shared for the lulz.
I realize that the original format of the post was confusing, so, before you start reading it, here is a summary of solutions. You should re...
I am continuing my series about .NET Core, using Visual Studio Code only, on Windows, with as little command line work as possible. Read a...
Update 12 Feb 2016: As an alternative, if you have access to your hosts file , you can use a generated list of domains to immediately blo...
We all know that the best way to prevent SQL injection is to use parameters, either in stored procedures or in parameterized queries. Yet ...
Warning: the algorithm works perfectly well and is better than Sift3, however you might want to consider it in beta, as I am still looking...
I've decided to read some of the stuff that takes place in the Star Trek universe, for research purposes. I was particularly intereste...
Update February 2016 : This post discusses a problem in .Net 2.0 that is more than 8 years old. Perhaps you should look elsewhere. That bein...
Update November 2014: Sift4 is here!! Check out the new improved version of Sift here: Super Fast and Accurate string distance algorithm: S...
I wanted to take an arbitrary XML format and turn it into C# classes. I even considered for a while to write my own IXmlSerializable impl...
- ► 2016 (121)
- ► 2015 (109)
- ► 2014 (69)
- ► 2013 (95)
- ► 2012 (99)
- ► 2011 (106)
- ► 2010 (131)
- UpdatePanel Shrinker on CodePlex
- Programatically changing Web.Config
- Leaving my job was the best thing I ever did
- Change of chat
- this._postBackSettings.async is null or not an obj...
- Databind an AjaxControlTookit Accordeon
- Why TDD has the worst name ever
- Pluto - a gem of a manga
- IE7 Pro - Internet Explorer addon
- ▼ February (9)
- ► 2008 (133)
- ► 2007 (236)
- ► 2006 (106)
Powered by Blogger.