You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When we consider converting usercontrols, master pages, and pages we also need to consider converting custom controls.
Is there a shim abstract class that we could make available that these classes that inherit from WebControl or CompositeControl could inherit from and be able to work with Blazor?
I think this may be a separate .NET Standard class library to support this goal
The text was updated successfully, but these errors were encountered:
I've recently been working on a project that needed this. I'd like to take a look at what would be possible here. Some of the issues I've seen:
Need an HtmlTextWriter
Support for ControlCollection
FindControl(string id)
That's the order of importance I've seen. I've got a simple custom control working that takes in an HtmlTextWriter and writes out content via the RenderTreeBuilder; I can look at what the WebControl or CompositeControl looks like. I'm happy to submit that as a starting point.
Sounds like a separate assembly would be good for it (HtmlTextWriter itself should probably be in its own assembly as well as it's more general purpose). How about the following:
When we consider converting usercontrols, master pages, and pages we also need to consider converting custom controls.
Is there a shim abstract class that we could make available that these classes that inherit from WebControl or CompositeControl could inherit from and be able to work with Blazor?
I think this may be a separate .NET Standard class library to support this goal
The text was updated successfully, but these errors were encountered: