Hi
I have below code & i want to display image using Code behind
 %>)
Thanks
Tuhin PaulPosted Jun 18, 2023, 3:14 PM
Using the ItemDataBound event limits your flexibility in terms of controlling the rendering of the items. If you have complex logic or dynamic behavior that needs to be applied to the items, it can become challenging to manage within the event handler.
Tuhin PaulPosted Jun 18, 2023, 3:13 PM
Handling the ItemDataBound event for each item in the Repeater control can have a performance impact, especially when dealing with a large number of items. The event handler is executed for each item during data binding, which can result in slower page rendering.
Mohamed Azarudeen ZPosted Jun 17, 2023, 4:25 PM
Hi ramo
you can modify your code as follows:
Imagecontrol to your markup code:in your code-behind file, handle the
ItemDataBoundevent of theRepeatercontrol: