Contact
 

 Friday, May 12, 2006
Version 2.2 of the HierarGrid and DCP

I just published a new version 2.2 of the HierarGrid and the DynamicControlsPlaceholder that hopefully fixes all problems with reloading UserControls under ASP.NET 1.0-2-0. As before, both components are compiled against .NET 1.0 but tested with 1.1 and 2.0.

V2.2.0.0 (published 2006-05-12)

  • Bugfix: Under some conditions, UserControls still could not be reloaded when the application is configured as a website

Download here

DynamicCtrlPlh | HierarGrid
5/12/2006 7:34:48 PM (W. Europe Standard Time, UTC+01:00)  #  Comments [18] 


 Wednesday, January 11, 2006
Another new version of the HierarGrid and DCP for ASP.NET 2.0

I just published another new version 2.1 of the HierarGrid and the DynamicControlsPlaceholder that fixes another problem with ASP.NET 2.0. Please find the detailed changelog on the respective pages. As before, both components are compiled against .NET 1.0 but tested with 1.1 and 2.0.

V2.1.0.0 (published 2006-01-11)

  • Bugfix: UserControls could not be reloaded when the application is configured as a website (as opposed to virt.dir.) (thanks to Keith Culpepper)
  • Bugfix: fixed regression if ShowHeader=false and AllowPaging=false, colspan is wrong (thanks to Stuart Hilbert)

Download here

DynamicCtrlPlh | HierarGrid
1/11/2006 11:14:28 PM (W. Europe Standard Time, UTC+01:00)  #  Comments [30] 


 Monday, December 19, 2005
New HierarGrid and DynamicControlsPlaceholder versions for ASP.NET 2.0

I just posted a new version 2.0 of both the HierarGrid and the DynamicControlsPlaceholder that works with ASP.NET 2.0. As many of you pointed out, the old versions worked with ASP.NET Beta2 but failed under the final version.

If you run into an error message "The file '/.../<WrongFilename>.ascx' does not exist." in any of the two components please download the newest version and try it again.

Sorry for the late response to this problem but I've been on vacation (South Africa, FWIW) the last 4 weeks. :)

Download here

DynamicCtrlPlh | HierarGrid
12/19/2005 9:28:19 AM (W. Europe Standard Time, UTC+01:00)  #  Comments [16] 


 Tuesday, February 08, 2005
Differences between System.Web.UI.LiteralControl and System.Web.UI.WebControls.Literal

Mike Ogden pointed out the fact that the DynamicControlsPlaceholder (DCP) does not correctly recreate System.Web.UI.LiteralControl. At first I was very perplexed because I was somehow sure that I successfully tried that before. However, I must have mixed it up with the System.Web.UI.WebControls.Literal which works without problems.

That raises the question why there are two different controls and how they differ. The major difference is that the LiteralControl does not persist the Text property in ViewState, which is why it is recreated emptily by the DCP. The Literal, however, takes a LiteralControl as a child and saves its Text in ViewState:

protected override void AddParsedSubObject(object obj)
{
    if (!(obj is LiteralControl))
    {
	throw new HttpException(
	    HttpRuntime.FormatResourceString("Cannot_Have_Children_Of_Type", 
	    "Literal", obj.GetType().Name.ToString()));
    }
    this.Text = ((LiteralControl) obj).Text;
}

So, if you want to use literal controls with the DynamicControlsPlaceholder make sure that you use Literal instead of LiteralControl.

ASP.NET | DynamicCtrlPlh
2/8/2005 8:40:45 PM (W. Europe Standard Time, UTC+01:00)  #  Comments [1] 


 Friday, July 09, 2004
Feedback and question mails vs. SPAM

If you send me an email and wonder why I never get back to you, maybe it has been stuck in my SPAM filter. My mail software blocks and sends me a list of all potential SPAM and virus mails and I just skim the subjects. So please make sure you DON'T use a trivial subject like "question" or "hi" and rather include "HierarGrid", "ASP.NET" or whatever might catch my attention.

DynamicCtrlPlh | HierarGrid | Version Switcher
7/9/2004 3:58:30 PM (W. Europe Standard Time, UTC+01:00)  #  Comments [0] 


 Thursday, June 17, 2004
Cryptographic failure when recompiling the HierarGrid, DCP, FileDisassembler etc.

I've been asked twice in the last 24h about the following error when trying to create your own build of the HierarGrid or any other of my components:

error CS1548: Cryptographic failure while signing assembly 'DBauer.Web.UI.WebControls.HierarGrid.dll'
-- 'Error reading key file '..\..\..\DBauer.Web.UI.WebControls.snk' -- The system cannot find the file specified. '

This happens because all builds that I compile are strong named and signed with my private key. The reference to my private key is located in the AssemblyInfo.cs file. Therefore, if you want to recompile the HierarGrid please either remove the reference to my keyfile in the AssemblyInfo.cs or create your own private key and use it to sign the assembly.

Further information on creating a key and strong named assemblies can be found here:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconStrong-NamedAssemblies.asp

FileDisassembler | DynamicCtrlPlh | HierarGrid
6/17/2004 10:12:05 AM (W. Europe Standard Time, UTC+01:00)  #  Comments [3] 


 Wednesday, September 24, 2003
New DynamicControlsPlaceholder version 1.1 and a VB.NET sample application

Due to the "issue" Ben and I have found with the CheckBoxList I've created a new version of the DynamicControlPlaceholder that excludes the CheckBoxList's child controls from being persisted.

Furthermore I've translated the simple DynamicControlPlaceholder demo application to VB.NET.

You can find all the files here.

P.S.: In case you don't know about the DCP: It is a placeholder control which you can add controls to using Placeholder.Controls.Add(myControl) and they are automatically recreated after a postback.

DynamicCtrlPlh
9/24/2003 6:17:05 PM (W. Europe Standard Time, UTC+01:00)  #  Comments [1] 


 Thursday, May 29, 2003
Enhacement for DynamicControlsPlaceholder

Chris van de Steeg pointed out that the DynamicControlsPlaceholder currently doesn't restore User Controls that have a "_" in the filename.

He proposed a fix for the RestoreChildStructure method that I have now compiled into the new version 1.0.2.0 which can be downloaded at http://www.denisbauer.com/ASPNETControls/DynamicControlsPlaceholder.aspx  

Thanks Chris!

DynamicCtrlPlh
5/29/2003 7:19:33 PM (W. Europe Standard Time, UTC+01:00)  #  Comments [0] 



Categories

Search

Blogroll


<May 2008>
SunMonTueWedThuFriSat
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

RSS 2.0 | Atom 1.0 | CDF


Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008, Denis Bauer