Panel edpanelContent = new Panel();edpanelContent.Attributes.Add("class", "popupcontent");RadDatePicker eddp = new RadDatePicker();eddp.ID = "dp_ENDDATE";eddp.DateInput.Attributes["onclick"] = String.Format("showPopUp('{0}');", eddp.ClientID);edpanelContent.Controls.Add(eddp);Private Sub DployRadScheduler_TimeSlotCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.TimeSlotCreatedEventArgs) Handles DployRadScheduler.TimeSlotCreated e.TimeSlot.Control.Attributes.Add("divName", "week1") End SubI don't know how to retrieve that Attribute in javascript when the user clicks on the timeslot. I already have the javascript function in place to handle the OnClientTimeSlotClick event, but I can't seem to get the object that contains the attribute.
Any ideas? Or is there another way to do this? Basically, in Month View, I just want to know what week they clicked in, within the current Scheduler (where the Scheculer is always displaying 5 weeks...).
By the way, I do see that my Attribute and Value are getting written into the source of the HTML, but I obviously don't want to try to navigate through the DOM to find the one that corresponds to the timeslot I clicked.
Thanks In Advance.
I have a rad grid in my page with template columns
On applying filter it gives
<>"Specified argument was out of the range of valid values.<telerik:RadAjaxPanel ID="panelAjaxPersonShortcut" runat="server" EnableAJAX="True"><br><div id="topNavigationControl-contentDiv"><br> <div id="textSize"><br> <asp:LinkButton ToolTip="Sign out" CausesValidation="false" ID="signOut" runat="server"<br> OnClick="signOut_Click">Sign Out</asp:LinkButton><br> </div><br> <asp:LinkButton ToolTip="Home" CausesValidation="false" ID="home" runat="server"<br> OnClick="home_Click">Home</asp:LinkButton><br> <asp:LinkButton ToolTip="Help" CausesValidation="false" ID="help" runat="server"<br> OnClick="help_Click">Help</asp:LinkButton><br> <ps:PersonShortcut ID="ucPersonShortcut " runat="server" /> <br></div><br></telerik:RadAjaxPanel> <telerik:RadDatePicker ID="DateBirthDate" runat="server" CssClass="input" MinDate="1850-01-01"><br> <Calendar UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" ViewSelectorText="x"><br> </Calendar><br> <DatePopupButton HoverImageUrl="" ImageUrl="" /><br> <DateInput DateFormat="dd/MM/yyyy" DisplayDateFormat="dd/MM/yyyy" CssClass="input"><br> </DateInput><br> <ClientEvents OnPopupOpening="PopupOpening" OnPopupClosing="PopupClosing" /><br> </telerik:RadDatePicker><asp:Content id="cntMain" contentplaceholderid="mainContent" runat="server"><br> <asp:Label runat="server" id="CaptionNumberPersons" class="caption"/><br> <telerik:RadAjaxManagerProxy ID="ajaxManagerProxy" runat="server"><br> <AjaxSettings><br> <telerik:AjaxSetting AjaxControlID="ucViewPersons"><br> <UpdatedControls><br> <telerik:AjaxUpdatedControl ControlID="ucManagePerson" /><br> </UpdatedControls><br> </telerik:AjaxSetting><br> </AjaxSettings><br> </telerik:RadAjaxManagerProxy><br> <br> <vp:ViewPersons ID="ucViewPersons" runat="server" /><br> <mp:ManagePerson ID="ucManagePerson" runat="server" /><br></asp:Content><br>