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
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 Response.Redirect("MessageForm1.aspx?id=" + strid) Next End IfEnd Subfunction Message() { var ow = window.radopen('MessageForm1.aspx'); ow.setSize(600, 1000); ow.set_title("MessageForm"); ow.moveTo(400, 0); return false;}<telerik:GridBoundColumn DataField="IsCorrect" FilterControlAltText="Filter IsCorrect column" HeaderText="IsCorrect" SortExpression="IsCorrect" UniqueName="IsCorrect" DataType="System.Int32"> </telerik:GridBoundColumn> <telerik:GridTemplateColumn UniqueName="CheckMark" HeaderText="Status"> <ItemTemplate> <asp:Image ID="TemplateColumn" runat="server" ImageUrl="~/Images/check2.gif" /> </ItemTemplate> <ItemStyle Width="30px" /> <HeaderStyle Width="30px" /> </telerik:GridTemplateColumn>protected void grdExamReults_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e) { GridDataItem dataItem = e.Item as GridDataItem; try { if (dataItem["IsCorrect"].Text != "1") dataItem["CheckMark"].Text = ""; } catch { } }It is important that my CallingPages can both get/set properties in the AdvancedWindow (which I could do with QueryString parameters and return arguments) and respond to events from controls in the AdvancedWindow. As an example,. the AdvancedWindow contains a RadListView and I need the CallingPages to handle the OnNeedDataSource event.
I'd be grateful for any help/suggestions.
--
Stuart
protected void homeBtn_Click(object sender, EventArgs e) { ControlPath = "Mainpage.ascx"; LoadUserControl(); homeBtnH4.Attributes.Add("class", "activem"); eventBtnH4.Attributes.Remove("class"); }private void LoadUserControl() { if (!string.IsNullOrEmpty(ControlPath)) { placeHolder1.Controls.Clear(); UserControl uc = (UserControl)LoadControl(ControlPath); placeHolder1.Controls.Add(uc); } } public string ControlPath { get { if (ViewState["controlPath"] != null) return Convert.ToString(ViewState["controlPath"]); else return null; } set { ViewState["controlPath"] = value; } }<div class="contentholder" id="updatepanel" runat="server" > <asp:PlaceHolder ID="placeHolder1" runat="server"></asp:PlaceHolder></div><telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="homeBtn"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="updatepanel" LoadingPanelID="RadAjaxLoadingPanel1" > </telerik:AjaxUpdatedControl> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager> <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default"> </telerik:RadAjaxLoadingPanel>