Comments (3)
Examples where this is problematic right now:
- BWFC DataBinder uses Reflection: https://github.com/FritzAndFriends/BlazorWebFormsComponents/blob/dev/src/BlazorWebFormsComponents/DataBinder.cs#L89-L90
- WebForms DataBinder uses TypeDesciptor: https://github.com/microsoft/referencesource/blob/master/System.Web/UI/DataBinder.cs#L155
- BWFC uses Reflection.Emit to mimic much of what ICustomTypeDescriptor does: https://github.com/FritzAndFriends/BlazorWebFormsComponents/blob/d1b9dfecd4ae335458ca0b42f7c0b88162aa8a4a/src/BlazorWebFormsComponents/Extensions/DataTableExtensions.cs
- But if it used TypeDescriptor, this shouldn't be necessary.
- BWFC GridView generates columns with Reflection:
- Web Forms GridView (very indirectly) goes through TypeDescriptor
from blazorwebformscomponents.
I already have a work in progress on this that I can share soon. I think it simplifies much code.
from blazorwebformscomponents.
This also avoids the design-time compiler error The typeof operator cannot be used on the dynamic type
:
Because now you use ItemType="object"
instead of ItemType="dynamic"
.
from blazorwebformscomponents.
Related Issues (20)
- Hyperlink needs more documentation HOT 5
- Add Style features to Hyperlink HOT 1
- Image control needs style and some attributes HOT 1
- Image needs some documentation HOT 1
- ImageButton is missing Style and other attributes HOT 3
- Need to make it clear that Windows / Visual Studio is not required to contribute HOT 1
- Need HyperLink integration samples
- Need to update Strategies doc about DataBinder
- Modifying style properties after style is calculated is not reflected HOT 3
- CodeTour for new contributors?
- ValidationGroup
- Rename IHasXXXStyle to IXXXStyle HOT 1
- Need a GetRouteUrl helper HOT 2
- object sender in all events is not available
- info:how can retrive seleced keys in gridview?
- Move sample project to NET 6.0
- Add CI workflows for PR/deploy via GitHub Actions
- Is this project dead? HOT 8
- Add DataGrid Componant HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blazorwebformscomponents.