ASP.NET control for displaying an object through a type converter

CageOnede

New Member
Which ASP.NET control can I user for displaying an object through a type converter?I'm thinking of something like this:\[code\]<asp:output value="http://stackoverflow.com/questions/12618772/some object"/>\[/code\]I have registered a custom type converter which I can retrieve with the following snippet:\[code\]TypeConverter converter = TypeDescriptor.GetConverter(typeof(MyType));\[/code\]When given an instance of MyType, the imaginary control "output" should retrieve the type converter, convert the object to string and display it in the web page.
 
Back
Top