Hallo,
> Weiss jemand wie man am besten auf Events in Custom Controls reagiert? Ich
> habe einige Buttons in einem Custom Control, welche dynamisch generiert
> werden. Wird nun das Custom Control in eine Seite eingebunden,
> soll bei einem Klick
> auf einen Button ein Ereignis ausgel�st und im Custom Control verarbeitet
> werden.
>
> Im Custom Control habe ich bis jetzt folgendes:
>
> protected override void Render(HtmlTextWriter output)
> {
> Button btnAction = new Button();
> btnAction.Attributes.Add("id", ((Node)enumerator.Current).GetName());
> btnAction.CommandName = "Test";
> btnAction.ImageUrl = "images/icon_space.gif";
> btnAction.RenderControl(output);
> }
>
http://samples.gotdotnet.com/quickstart/aspplus/doc/webctrlauthoring.aspx
Gruss
Alex
_______________________________________________
Asp.net Mailingliste, Postings senden an:
[EMAIL PROTECTED]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net