Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
69 views

the problem is that i declared the function of onitemdatabound but theres an error that says it cant find the cell bound  

for example i have a telerik: gridtemplatecolumn with unique name action and meta resourcekey gtcaction 

then i have an item template where i have an imagebutton with present the id

 

 

Vessy
Telerik team
 answered on 01 Oct 2021
3 answers
209 views

     Hi.  I am trying to convert an asp ImageButton to a RadImageButton because there are some useful features that would make my life a bit easier.  However, the binding for the image URL won't work - at least the way I am doing it.

So this works (both are in the same ListView):

<asp:ImageButton ID="im" runat="server" ImageUrl='<%# Eval("ImgUrl") %>'  /> 

 

But this:

<telerik:RadImageButton runat="server" ID="itemImageButton" ' >
     <Image Url='<%# Eval("ImgUrl") %>' />
 </telerik:RadImageButton>  

 

gives me an error something like Telerik.Web.UI.ButtonBase.ButtonImage does not have a DataBinding event.  

Is it possible to do this with the RadImageButton?

Vessy
Telerik team
 answered on 28 May 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?