[Mono-aspnet-list] From Windows to Linux: handles clause requires declared with with events

zrmax zrmax at libero.it
Wed Jul 22 02:41:51 EDT 2009

Hi all, 
I am a .NET developer till now on Windows os. 
I am very happy to discovered the mono project and I want to perform some
tests. The result is very good in general but from 2 days I have a lot of
problem with the events: "handles clause requires declared with with events"
in a simple radiobuttonlist (for example). I want to use the event
OnSelectedIndexChanged but I receive the error in the subject.
Following the suggestion of this forum I tried to declare the radiobutton 
(in my base class)

Protected WithEvents RadioButtonList1 As RadioButtonList

but the compiler says that it says it is declared two times withevents

or change the call of the event OnSelectedIndexChanged="..."

For my poin of view  is a very nice world Mono but is really important to
use the events%-| to a good resault :-D

Main point is the difference between Windows os and ***ux os: in the first
environment we have no error about it, instead in my Suse distribution I
have that error.

Have you some idea or suggestion?

Thanks a lot!

View this message in context: http://www.nabble.com/From-Windows-to-Linux%3A-handles-clause-requires-declared-with-with-events-tp24595242p24595242.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20090722/db9043d2/attachment.html 

More information about the Mono-aspnet-list mailing list