We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Is This Possible: Calling a Click Event From a String Variable

Thread ID:




7650 Oct 3,2003 06:07 PM UTC WinForms 0
Tags: FAQ
Mark Richardson
Asked On October 3, 2003 06:07 PM UTC

Hello everyone, I have something like this stored in a class file called editor.cs. strVariable += ""; strVariable += ""; strVariable += ""; strVariable += ""; strVariable += "
"; strVariable += "
"; I have a webpage called editor.aspx which creates a custom tag like "<%@ Register TagPrefix="mArea" Assembly="contenteditor" namespace="editor" %>" that registers my class I have created. The problem I am having is being able to call the "Save_Click" Event assiocated with the button that my class has created. How can I set up a click event assoicated with a button that was dynamically built in a string, that's also in another class?? I need help!! Mark Richardson


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon