| <telerik:RadTimePicker ID="uxStartTime" runat="server" Skin="Default" TimeView-RenderDirection="Horizontal" |
| Width="85px" ClientEvents-OnDateSelected="dateSelected" TimeView-Interval="0:30" |
| TimeView-Columns="4" EnableTyping="false" /> |
| function dateSelected(sender, eventArgs) |
| { |
| var endTime = sender.get_selectedDate(); |
| endTime.setMinutes(endTime.getMinutes() + 10); |
| sender.set_selectedDate(endTime); |
| } |
using
System.Web.UI.WebControls;
using
Telerik.Web.UI;
namespace
WWR.Common.UI.WebControls
{
public class WWRFilteringGridBoundColumn : GridBoundColumn
{
public WWRFilteringGridBoundColumn() : base()
{
AutoPostBackOnFilter =
true;
}
protected override void SetupFilterControls(TableCell cell)
{
base.SetupFilterControls(cell);
TextBox txtFilter = (TextBox)cell.Controls[0];
txtFilter.Attributes.Add(
"onclick", "javascript:document.getElementById('" + txtFilter.ClientID + "').select();document.getElementById('" + txtFilter.ClientID + "').focus();");
Button btnFilter = (Button)cell.Controls[1];
btnFilter.Attributes.Add(
"onmouseover", "javascript:document.getElementById('" + btnFilter.ClientID + "').click()");
//btnFilter.Attributes.Add("onmouseout", "javascript: ");
}
}
}
Thank you for advance,
Tatiana
| <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_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></title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <div> |
| <telerik:RadScriptManager runat="server" ID="rsmScriptManager" /> |
| <telerik:RadAjaxManager runat="server" ID="ramAjaxManager"> |
| <AjaxSettings> |
| <telerik:AjaxSetting AjaxControlID="btnTest"> |
| <UpdatedControls> |
| <telerik:AjaxUpdatedControl ControlID="divColor" LoadingPanelID="rlpLoadingPanel" /> |
| </UpdatedControls> |
| </telerik:AjaxSetting> |
| </AjaxSettings> |
| </telerik:RadAjaxManager> |
| <telerik:RadAjaxLoadingPanel ID="rlpLoadingPanel" runat="server" Skin="Vista"/> |
| <div style="width: 500px; height: 500px; background-color: Red;" runat="server" id="divColor" /> |
| <asp:Button ID="btnTest" runat="server" Text="Test" OnClick="btnTest_Click" /> |
| </div> |
| </form> |
| </body> |
| </html> |
Hi,
When using the month view inthe Scheduler I would like to show a summary of all appointments in a day, OnMousehover I would like to show the details of the appointments for that day.
For Example
I have a room name Conference,and wish to see the bookings for a month for this room. I am able to show theappointments in the month view.
Say on a particular day thereare 5 bookings for the room, the month view shows all 5 bookings seperately.What I want is to show a summary stating there are 5 bookings and on mousehoverit should provide me information of the separate bookings for the day.
Thanks
Sabrish