
Well it could just be me not knowing when and how the ItemUpdated is fired but I’m really puzzled.
I have some simple custom objects set to the RadListView data source in NeedDataSource In the EditTemplate I have an update command having the CommandName set to ‘Update’ when pressed it fires the ItemUpdating event but the ItemUpdated never fires?
My Edit, Delete and Insert events all fires as I expect.
Best Søren
<telerik:RadAjaxPanel ID="TabContainer" runat="server" height="200px" width="980px" BorderStyle="None" BorderWidth="0px"> <div id="DivTabs" style="position:relative;"> <telerik:RadAjaxPanel ID="Bar4" runat="server" Height="32px" Width="987px" BorderColor="White" BorderStyle="Solid" BorderWidth="2px" style="z-index: 6000; position:relative; top: 0px; left: 5px;" BackColor="#C3D9FF" > <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" Skin="Outlook" SelectedIndex="2" ReorderTabsOnSelect="True" BackColor="#C3D9FF" BorderColor="#ADC9F7" BorderStyle="Solid" BorderWidth="0px" Height="25px" Width="900px" style="z-index: 6001; left: 10px; top: 6px; position: absolute"> <Tabs> <telerik:RadTab runat="server" PageViewID="PageView1" Text="Daily" Selected="True"> </telerik:RadTab> <telerik:RadTab runat="server" PageViewID="PageView2" Text="Weekly"> </telerik:RadTab> <telerik:RadTab runat="server" PageViewID="PageView3" Text="ToDo's"> </telerik:RadTab> </Tabs> </telerik:RadTabStrip> </telerik:RadAjaxPanel> <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" Style="z-index: 5000; border: 0px solid #ADC9F7; margin-top: -65px;margin-left: 0; position: absolute;" Height="200" > <telerik:RadPageView ID="PageView1" runat="server"><iframe id="MainFrame" runat="server" frameborder="0" height="2000" name="Events" scrolling="no" src="events.aspx" width="990"></iframe></telerik:RadPageView> <telerik:RadPageView ID="PageView2" runat="server"><iframe id="WeekTab" runat="server" frameborder="0" height="2000" name="Events" scrolling="no" src="eventsweek.aspx" width="990"></iframe></telerik:RadPageView> <telerik:RadPageView ID="Page3View" runat="server"><iframe id="ToDoTab" runat="server" frameborder="0" height="2000" name="Reminders" scrolling="no" src="events.aspx" width="988"></iframe></telerik:RadPageView> </telerik:RadMultiPage> </div> </telerik:RadAjaxPanel>
I'm trying to use formatted RadToolTips in a RadScheduler. I've implmented tooltips like those shown in the Examples (http://demos.telerik.com/aspnet-ajax/scheduler/examples/radtooltip/defaultvb.aspx), but this approach is apparently limited to working with the properties of the appointment, and I need to work with columns from a database.
You can see an example of what I'm doing by:
1. Go to: http://comsimplicity.com/WLAC/ScheduleOfClasses.aspx
2. Select the first three checkboxes in the far right "PLANNER" column of the grid
3. Click on the "2 MyPlanner" tab, top center of page
4. This will open the MyPlanner page. This has
- a RadScheduler
- a "Time: TBA" list to the right of the RadScheduler
5. Hover your mouse over the "ACCTG 002" item in the "Time: TBA" list
6. Hover over the "ACCTG 001" appointment in the RadScheduler, note the lack of formatting.
What we want is for the RadScheduler tooltips to look like the "Time: TBA" tooltips.
Can you can suggest an approach to this, or better yet, point me to an example of how this might be done?
(One thing we don't absolutely need is the AJAX which I got from the Example page.)
<telerik:RadWindowManager ID="RadWinManager" runat="server" OnClientDragStart="WindowDragStart" OnClientResize="WindowDragStart" OnClientResizeStart="WindowDragStart" OnClientResizeEnd="WindowDragStart"> <Windows> <telerik:RadWindow ID="DetailRadWind" runat="server" ShowContentDuringLoad="false" BackColor="Green" Behaviors="Default" Animation="FlyIn" Skin="Forest"> <contenttemplate> <div> <iframe frameborder="0" style="width: 100%; height: 100%; border-style: none; border-width: 0px" id="ifrmRadWin" runat="server"></iframe> </div> </contenttemplate> </telerik:RadWindow> </Windows></telerik:RadWindowManager>ScriptManager.RegisterClientScriptBlock(this.up, this.GetType(), "strSearSiteName", "document.getElementById('ctl00_PagePlaceholder_DetailRadWind_C_ifrmRadWin').src='OrdDet.aspx'", true); LinkButton lnkSiteName = (LinkButton)rw.FindControl("lnkSiteName"); string Title = "Order Details : " + lnkSiteName.Text; ScriptManager.RegisterClientScriptBlock(this.up, this.GetType(), "BlkRejection", "OpenSiteWindow('" + Title + "')", true);function OpenSiteWindow(Title) { var WinTitle = Title; var oWnd = GetRadWindowManager().GetWindowByName("DetailRadWind"); oWnd.set_width(810); oWnd.set_height(580); oWnd.set_title(WinTitle); var radwind = window.radopen("", "DetailRadWind");}<body> <form id="form1" runat="server"> <asp:ScriptManager ID="smOrddet" runat="server"> </asp:ScriptManager> <asp:UpdatePanel ID="upOrdTsk" runat="server"> <ContentTemplate> <div> Some HTML Code HERE</div> <telerik:RadWindow ID="RadWinReject" runat="server" Height="340px" Width="515px" Title="Bulk Task Completion" Behaviors="Default" CustomCSS="CSS/CustomStyle.css" ShowContentDuringLoad="false" BackColor="Green" Animation="FlyIn" Skin="Forest"> <contenttemplate> <asp:UpdatePanel ID="uprej" runat="server" OnUnload="Registerpanel5"> <ContentTemplate> <div>Some HTML HERE</div> </ContentTemplate> </asp:UpdatePanel> </contenttemplate> </telerik:RadWindow> </ContentTemplate> </asp:UpdatePanel> </form></body><%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="admin_Default" %><%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"> <div> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> </telerik:RadScriptManager> <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1" HorizontalAlign="NotSet"> Please select a file: <asp:FileUpload ID="FileUpload1" runat="server" /><br /> <asp:Button ID="upload" Text="Upload" runat="server" /><br /> <asp:Label ID="output" runat="server"></asp:Label> </telerik:RadAjaxPanel> <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" Transparency="10" BackgroundPosition="Center"> <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.LoadingProgressBar.gif") %>' style="border: 0px;" /> </telerik:RadAjaxLoadingPanel> </div> </form></body></html>Partial Class admin_Default Inherits System.Web.UI.Page Protected Sub upload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles upload.Click Response.Write("test") If (FileUpload1.HasFile) Then Try Dim name As String = FileUpload1.FileName.ToString Dim ext As String = System.IO.Path.GetExtension(FileUpload1.FileName) If (ext = ".csv") Then FileUpload1.SaveAs(Server.MapPath("~/admin/temp/" & name)) Else output.Text = "<span style='color: red;'>Invalid file type. File must be CSV.</span>" End If 'if ext = .csv Catch ex As Exception Response.Write(ex.ToString) End Try 'fileupload.hasfile Else output.Text = ("<span style='color: red;'>Please make sure you have selected a file and the size is greater than 0 bytes.</span>") End If 'fileupload.hasfile End SubEnd Class