in

ASP.NET Weblogs

Andy Smith's Blog

Page.RegisterStartupScript('Andy', 'MetaBuilders_WebControls_GainKnowledge();');

new control

That new ParsingContainer control I mentioned the other day is now available. Hope you like it.

Comments

 

Fabrice said:

Another great one, Andy!

I tested it with VS 2002, here are some notes:
- people using VS 2002 may need this utility to convert the solution and project files: http://www.codeproject.com/useritems/VSConvert.asp
- you may unbind the solution from VSS
- the AssemblyKeyName info must be removed from AssemblyInfo.cs in order to compile the project
- the <%# Container.DataItem.ToString() %> stuff must be between quotes
- At design time the Repeater displays "There was an error rendering the control. Check to make sure all properties are valid."
- How come we cannot add the control to the Toolbox?

Anyway, it works fine at run-time :-)
May 23, 2003 6:25 AM
 

Andy Smith said:

- the solution conversion thing... i'm sure that tool will come in handy for some people.

- the unbinding thing and the assembly key name thing... ya, i'm lazy, sue me :)

- As for the databinding stuff to be in quotes... It works for me. I've never needed quotes for databinding expressions.

- the design time problems are specific to 2002. It works fine with 2003 and webmatrix. Don't know what to tell you about them. Sounds like a bug in 2002. Maybe it wants you to derive from WebControl instead of Control.
May 23, 2003 1:47 PM

Leave a Comment

(required)  
(optional)
(required)  
Add