[Mono-list] Problems getting my usercontrol to work in Mono
0.25 / xsp 0.4
Gonzalo Paniagua Javier
gonzalo@ximian.com
15 Jul 2003 15:12:00 +0200
El mar, 15-07-2003 a las 00:04, Eric Veltman escribió:
> Hello everyone,
>
> I took a usercontrol from the office to home to see how it would work on Mono
> and I've come across some issues till now. Herewith some information about 2
> of them. I hope to mail information about another problem tomorrow.
>
> 1. System.Web.UI.WebControls.DropDownList doesn't have a SelectedValue
> property. SelectedValue has been introduced in FrameWork 1.1, so I guess you
> didn't ( fully ) implement that yet ? Would be nice if this property would be
> added, because it's much more convenient than using SelectedItem.Value for
> getting the SelectedValue and using a combination of .Items.IndexOf() and
> setting SelectedIndex for setting the SelectedValue.
Ah. I definitely have to install 1.1 now :).
>
> 2. When I tried to run a page containing the usercontrol after making changes
> to work around problem #1, I got something like :
>
> /tmp/tmp1b02b4db.cs(126,0) : error CS0029: Cannot convert implicitly from
> `string' to `string[]'
> Line 126: __ctrl.Font.Names = "Verdana";
Can you please file a bug report about this in bugzilla providing a
simple test case?
> P.S. I this the correct way for posting bug reports / change requests ?
Take a look at this:
http://www.go-mono.com/contributing.html#goodbugreport
Cheers.
-Gonzalo