Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
LinkButtons in Repeaters
Message
From
18/06/2004 10:27:01
Keith Payne
Technical Marketing Solutions
Florida, United States
 
 
To
18/06/2004 09:56:10
Rex Mahel
Realm Software, Llc
Ohio, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00915024
Message ID:
00915048
Views:
28
Rex,

You can hook in your own event handler to the Repeater's itemCreated event. Inside your event handler, you can set the properties of the individual button. The idea is to load the CommandName property with some data that identifies the particular button and also to hook an event handler from the composite control into the button's Click event. Then in the click event handler, you can decide what to do based on the CommandName, which is passed into the click event handler in the EventArgs parameter.

>All,
>
>I have a composite control that renders linkbuttons from a repeater control. I need to handle the linkbutton click events at the control level.
>
>How do I do this?
>
>TIA
>
>Rex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform