Protected
Sub
RadGrid1_SelectedIndexChanged(sender
As
Object
, e
As
EventArgs)
Handles
RadGrid1.SelectedIndexChanged
If
RadGrid1.SelectedItems.Count > 0
Then
For
Each
item
As
GridDataItem
In
RadGrid1.SelectedItems
Dim
strid
As
String
strid = item(
"UniqueID"
).Text
Session(
"Selected"
) =
"Selected"
Session(
"ID"
) = strid
Dim
newwidow
As
New
RadWindow
newwidow.NavigateUrl =
"MessageForm1.aspx"
RadWindow1.Windows.Add(newwidow)
Next
End
If
End
Sub
var datepicker = $find("<%= RadDatePicker1.ClientID %>");
Hey Community,
i hope you can help me.
I use the RadListView Control. In that I have the asp.net image control.
I try to bind a path from my Database at the image in the RadListView Control.
But it doesn’t work…
I found this code:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
For Each item As RadListViewDataItem In rlvGalerie.Items
Dim fcimgGalerie As Image = DirectCast(item.FindControl("imgGalerie"), Image)
Dim Verzeichnis As String = Hilfsfunktion.GetCRTUploadVerzeichnisZuordnung(13, "Dateisystem")
fcimgGalerie.ImageUrl = Verzeichnis & "\" & SlidewayGalerie.GETDateiName(13)
Next
End Sub
Thats the control definition:
<telerik:RadListView ID="rlvGalerie" runat="server" DataSourceID="sdsGalerie" Skin="Windows7">
<LayoutTemplate>
<asp:PlaceHolder runat="server" ID="itemPlaceholder"></asp:PlaceHolder>
</LayoutTemplate>
<ItemTemplate>
<div style="float: left; margin: 5px; padding: 2px; background: #eeeeee;" class="myClass"
onmouseover="containerMouseover(this)" onmouseout="containerMouseout(this)">
<asp:ImageButton ID="imgGalerie" ImageUrl="" Width='<%# ImageWidth %>'
Height='<%# ImageHeight %>' runat="server" OnClientClick="openRWGalerie(window.location.pathname;)"
Style="margin: 0; padding: 0;" />
</div>
</ItemTemplate>
</telerik:RadListView>
I hope you can help my
Greetings Daniel
Sorry for my Englich