Hi !
I'm new to ASP.NET and Telerik and I can't find examples on how to use the "OnDataBound" event on the code-behind of my page. So I'm lost.
Could you help me please ? This is my problem :
I have this code on my page (vb.net) :
In my code behind I have this :
Dim objOccasions As New Occasions
radrotator1.DataSource = objOccasions.DataSetResultat
radrotator1.DataBind()
Occasions is an object I have created to manages an sql database of cars.
DataSetResultat is a DataSet which contains the result of the sql request.
What I would like to do, is something as the same as I can do with Gridview in VB.NET.
I mean, I would like to manage the onrowdatabound event to be able to access the ASP.NET controls in my rotator for each item of the rotator and to add some personnal code to fill in their properties.
To understand my problem, for example, with a classic gridview in vb.net, I can do this (I would like to do the same thing with the rotator but I'm not able to do it) :
Code in my page :
Code-behind of this page :
But I'm not able to do the same thing with te radrotator.
Could you help me by showing me examples so I could understand how to manage the event OnDataBound of the radrotator ?
Thnak you very much for this.