Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running Event Code from somewhere else
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01518388
Message ID:
01518500
Views:
54
Hi Peter . Thanks for your reply.
The event I am looking at has come from a third party, so I dont have direct access to the code as it is somewhere up the hierarchy of classes but I want to 'simulate' what happens when the RowEnter say is triggered .

Regards,
Gerard



>>Is it possible to run event code from elsewhere in .net(C#)
>>
>>Say I have a Datagridview with code in the RowEnter event , and I want to run the code thats in the RowEnter event from another place on the form say a button on the form . How would I do this ?
>>
>>Tia
>>Gerard
>
>Put the event code in a separate method and you can call it from where you like
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform