Hi, I have a class object that I have created a DataSource on.
e.g.:
public class TestDataSource
{
string fld1;
public string Field1
{
get { return fld1; }
set { fld1 = value; }
}
}
When the DataSource object is created via the wizard, it will create a TextBox for "Field1", by default, that can then be dragged onto a form. Above example is only a working example, because I use many more defined fields.
One of the fields is intended to be a read only HTML Link that it is autogenerated/parsed from the text of another field. This is how I would like it to be displayed and function--to function like a LinkLabel control.
Problem or goal is that I would like to either:
1) customize the property of the Field1 to force the DataSource created by the wizard to be LinkLabel; or,
2) modify the field's default TextBox control to act similar to a LinkLabel without recreating the control; or,
3) if I must recreate the control as a LinkLabel control, determine how I would restore the binding it already has (as a TextBox) with my BindingSource object
Your help is appreciated--thanks!