or
| <table cellspacing="2" cellpadding="2" width="900px" align="left" border="0"> |
| <tr valign="top"> |
| <td valign="top" align="left" width="200px" > |
| ...... |
| </td> |
| <td valign="top" align="left" width="200px"> |
| ...... |
| </td> |
| </tr> |
| <tr> |
| <td colspan='2'> |
| <asp:Panel ID="MonitoringPanel" Runat="server"> |
| <div style="width:900px"> |
| <Telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True" PageSize='20' |
| AllowPaging="True" AllowCustomPaging='true' VirtualItemCount='100000' |
| AllowSorting="True" GridLines="None" ShowGroupPanel="True" ShowStatusBar='true' Width='100%' > |
| <MasterTableView TableLayout='Fixed' > |
| <RowIndicatorColumn Visible="False"> |
| <HeaderStyle Width="20px" /> |
| </RowIndicatorColumn> |
| <Columns> |
| <Telerik:GridClientSelectColumn UniqueName='SelectColumn' HeaderStyle-Width="30px"/> |
| </Columns> |
| </MasterTableView> |
| <ClientSettings AllowDragToGroup="True"> |
| <Selecting AllowRowSelect="True" /> |
| <Scrolling AllowScroll="True" EnableVirtualScrollPaging="True" UseStaticHeaders="True" SaveScrollPosition="True" /> |
| <Resizing EnableRealTimeResize="True" ResizeGridOnColumnResize="False" AllowColumnResize="True" ClipCellContentOnResize="true" /> |
| </ClientSettings> |
| <HeaderStyle Width="100px" /> |
| <PagerStyle Mode='NumericPages' /> |
| </Telerik:RadGrid> |
| </div> |
| </asp:Panel> |
| <br /> |
| <asp:label id="LabelNoData" runat="server" Visible="False" /> |
| <asp:Label Id="ErrorLabel" Runat="server" CssClass="Error" Visible="false"></asp:Label> |
| </td> |
| </tr> |
| </table> |

<
ResourceTypes>
<telerik:ResourceType KeyField="SalesRepID" Name="SalesRep" TextField="SalesRep"
ForeignKeyField="SalesRepID" DataSourceID="odsSalesRep" />
<asp:TextBox id="ID" runat="server"/> ? is this possible in Resource Type Collection?
is this possible in Resource Type Collection?
protected
void RadToolTipManager1_AjaxUpdate(object sender, ToolTipUpdateEventArgs e)
{
try
{
char[] splitters = { '_' };
string[] SelectedAppt = (e.TargetControlID.Split(splitters));
int aptIndex = Convert.ToInt32(SelectedAppt[4]);
Appointment apt = RadScheduler1.Appointments[aptIndex];
AppointmentToolTip tooltip = LoadControl("AppointmentToolTip.ascx") as AppointmentToolTip;
tooltip.TargetAppointment = apt;
RadToolTipManager1.Visible =
true;
e.UpdatePanel.ContentTemplateContainer.Controls.Add(tooltip);
}
catch (Exception ex)
{
}
}
Thanks,
-David
| protected void Page_Load( object sender , EventArgs e ) |
| { |
| if ( !Page.IsPostBack ) |
| { |
| DateRangePicker1.ConfigureAjax(RadAjaxManager1); |
| } |
| } |
| protected void pbAdd_Click( object sender , EventArgs e ) |
| { |
| AccessDataSource1.FilterExpression = String.Format( |
| "TransactionDate>='{0}' AND TransactionDate<='{1}'" , |
| DateRangePicker1.StartDate , DateRangePicker1.EndDate); |
| } |
| public void ConfigureAjax( RadAjaxManager ajm ) { |
| ajm.AjaxSettings.AddAjaxSetting( |
| ddlDateRange , dpStart , RadAjaxLoadingPanel1); |
| ajm.AjaxSettings.AddAjaxSetting( |
| ddlDateRange , dpEnd , RadAjaxLoadingPanel1); |
| } |
| return dpStart.SelectedDate; |