I have a control that will house several asp:ImageButtons that are separate from my control that holds the RadImageEditor. But both controls are on the same page.
I'm wanting to use an onclick function to load whatever type of thumbnail image is displayed inside the ImageButton to send it's url to my RadImageEditor to display inside the control there.
I'm not sure how to communicate between them since they are both on different ascx.cs pages.
How do I communicate from my asp:ImageButton id="imgTopImage" to my RadImageEditor id="RadImageEditor1" ?
Click Function thus far. . .
I'm wanting to use an onclick function to load whatever type of thumbnail image is displayed inside the ImageButton to send it's url to my RadImageEditor to display inside the control there.
I'm not sure how to communicate between them since they are both on different ascx.cs pages.
How do I communicate from my asp:ImageButton id="imgTopImage" to my RadImageEditor id="RadImageEditor1" ?
Click Function thus far. . .
public
void
ImageButton_Click(
object
sender, ImageClickEventArgs e)
{
string
imageUrl = imgTopImage.ImageUrl.ToString();
// RadImageEditor1.ImageUrl = (imageUrl); //This is how easy I would like for it to be :)
}