I try to fire the server side function when click on the image of the image librairy:
Nothing append...
any suggestion?
| <telerik:RadListView runat="server" ID="RadLVPhotos" Enabled="false" Visible="true" |
| AllowPaging="true" PageSize="10" DataKeyNames="Id" |
| OnNeedDataSource="RadLVPhotos_NeedDataSource" OnSelectedIndexChanged="RadLVPhotos_SelectedIndexChanged" ItemPlaceholderID="ProductsHolder"> |
| <LayoutTemplate> |
| <div id="list"> |
| <div style="clear: both;"> |
| </div> |
| <fieldset runat="server" id="ProductsHolder" /> |
| |
| <div style="clear: both;"> |
| </div> |
| </div> |
| </LayoutTemplate> |
| <EmptyDataTemplate> |
| <legend>Photos</legend>Aucune photo... |
| </EmptyDataTemplate> |
| <ItemTemplate> |
| <fieldset style="float: left; margin: 5px 5px 5px 5px; padding: 2px 2px 2px 2px; |
| background: #eeeeee" class="myClass" onmouseover="containerMouseover(this)" onmouseout="containerMouseout(this)"> |
| <telerik:RadBinaryImage Style="cursor: pointer;" runat="server" ID="RadBinaryImage1" |
| DataValue='<%#Eval("Fichier.Content") %>' AlternateText='<%#Eval("Fichier.itemID") %>' Height="120px" Width="120px" |
| ResizeMode="Fit" onclick="" /> |
| <br /> |
| <div style="margin-top: -30px; position: fixed; display: none; width: 60px;"> |
| </div> |
| </fieldset> |
| </ItemTemplate> |
| </telerik:RadListView> |
| Protected Sub RadLVPhotos_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) |
| Dim radLVPhotos As RadListView = DirectCast(sender, RadListView) |
| If radLVPhotos.SelectedItems.Count <> 0 Then |
| Else |
| radLVPhotos.ClearSelectedItems() |
| End If |
| End Sub |
Nothing append...
any suggestion?