| <telerik:RadScheduler ID="RadScheduler1" runat="server" Width="100%" DataKeyField="idraport" |
| DataStartField="raportdatastart" DataEndField="raportdatakoniec" DataSubjectField="opis" |
| Skin="Office2007" Height="400px" ShowFooter="false" RowHeaderWidth="52" OverflowBehavior="Scroll" |
| HoursPanelTimeFormat="H:mm" TimelineView-UserSelectable="false" > |
| <Localization AdvancedAllDayEvent="<%$ Resources:General, CaleDni%>" Save="<%$ Resources:General, Zapisz%>" |
| Cancel="<%$ Resources:General, Anuluj%>" AdvancedFrom="<%$ Resources:General, Od%>" |
| AdvancedTo="<%$ Resources:General, Do%>" AdvancedEditAppointment="<%$ Resources:General, FormularzRaportu%>" |
| ConfirmDeleteText="<%$ Resources:General, ConfirmDeleteText%>" ConfirmDeleteTitle="<%$ Resources:General, ConfirmDeleteTitle%>" |
| HeaderToday="<%$ Resources:General, Dzis%>" HeaderDay="<%$ Resources:General, Dzien%>" |
| HeaderMonth="<%$ Resources:General, Miesiac%>" HeaderWeek="<%$ Resources:General, Tydzien%>" |
| ShowMore="<%$ Resources:General, Wiecej%>" AllDay="<%$ Resources:General, CalyDzien %>" /> |
| <WebServiceSettings Path="WebService/SchedulerWebService.asmx" ResourcePopulationMode="ServerSide" /> |
| <InlineInsertTemplate> |
| TEST!!! |
| </InlineInsertTemplate> |
| </telerik:RadScheduler> |
Hi,
1. How do I get the horizontal scroll bar for the timelineview in the scheduler?
2. How do I set the height and with of the appointment inthe time line view?
Thanks
Sabarish
Hi,
I am using a RadGrid in my Asp.net Form. I am facing an issue like the Grid is not refreshing automatically. Here is the scenario, I have Radgrid that displays list of items. Once it is displayed, when ever the user double click the RadGrid list, asp.net Pop-up window will be opened. User can modify the content in the POP-up window. Once the modification is done, then user clicks the Save image button I have to update the modified content to the DB as well as the Radgrid should be refreshed automatically. How can we achieve this using RadGrid. Please help me out to solve this issue.
Thanks,
KG
<asp:ScriptManager ID="ScMain" runat="server" LoadScriptsBeforeUI="false" ScriptMode="Release">
/asp:ScriptManager>
<asp:UpdatePanel ID="upSchedular" runat="server">
ContentTemplate>
telerik:RadScheduler ID="rsAppointments" runat="server" ShowFooter="false"
AllowEdit="true" AllowDelete="true" ShowAllDayRow="false" AllowInsert="true"
SelectedView="MonthView" DataMember="schd_description" DisplayRecurrenceActionDialogOnMove="true"
DisplayDeleteConfirmation="true" DataKeyField="schd_id" DataSubjectField="schd_description"
DataStartField="schd_start_time" DataEndField="schd_end_time" ValidationGroup="rsAppointments"
OnClientAppointmentInserting="OnClientAppointmentInserting" OnAppointmentInsert="rsAppointments_AppointmentInsert"
OnAppointmentDelete="rsAppointments_AppointmentDelete" OnAppointmentUpdate="rsAppointments_AppointmentUpdate"
OnTimeSlotCreated="rsAppointments_TimeSlotCreated">
</telerik:RadScheduler>
</ContentTemplate>
</asp:UpdatePanel>
public void GetData()
{
wsSchedular = new WSSchedular();
string strLabLocation = string.Empty;
try
{
objTable = wsSchedular.GetScheduling(
);
rsAppointments.Enabled = true;
rsAppointments.DataSource = objTable;
rsAppointments.DataBind();
}
catch (Exception ex)
{
ScriptManager.RegisterStartupScript(Page, Page.GetType(), "errMsg", "javascript:alert(\"Error:- Page -> ph_scheduler.aspx -> Method -> 'GetPhlebotmistSchedule' \\n Description:- \\n" + ex.Message + "\");", true);
return;
}
| schd_id | schd_hc_transaction_id | schd_phlebotomist_id | schd_customer_id | schd_location_id | schd_start_time | schd_end_time | schd_description | created_date | status |
| 2 | HMC2009/9/0001 | 9899899999 | 2009/9/0001 | Dwarka | 9/23/2009 4:30 | 9/23/2009 5:30 | Collect samples | 9/22/2009 13:23 | O |
| 4 | HMC2009/9/0002 | 9999999999 | 2009/9/0002 | IIT Area | 9/23/2009 4:30 | 9/23/2009 5:30 | Collect samples | 9/22/2009 16:56 | O |
| 5 | HMC2009/9/0003 | 9899899999 | 2009/9/0001 | Dwarka | 9/23/2009 4:30 | 9/23/2009 5:30 | Collect samples | 9/23/2009 12:54 | O |
| 10 | HMC2009/9/0004 | 9999999999 | 2009/9/0002 | IIT Area | 9/23/2009 5:30 | 9/23/2009 6:30 | Collect samples | 9/23/2009 15:34 | O |
| Args: [GridCommandEventArgs e] |
| Code: object eeditFormUserControl = e.Item.FindControl(GridEditFormItem.EditFormUserControlID); |
Hi, is there a property to hide Editor Tool during preview?
Is it possible also to replace it with custom text?
Thanks,
RJ
Folks,
I have Two level hierarchy Rad Grid. Allow filtering is enabled in both Master/DetailTables. Below codes (which I am using from Telerik Demos) works for Master Table.
I would like to know is it possible 1) when Filters are cleared in Master Table, Detail Tables Filters are also Cleared; 2) When Filter Show/Hide is checked in Master Table it applies to Detail Table also (i.e. Show/Hide Filters in Detail Table)
I am using RadControls for ASP.NET AJAX Q2 2009 with VS 2008 (Service pack 1)
Thanks a lot.
gc_0620
_________________
1) How to Clear the Filters in Detail Table when Clearing Filters in Master Table.
<asp:Button ID="Button_Clear_Filters" CssClass="form-button" Text="Clear all Filters" OnClick="Button_Clear_Filters_Click"
runat="server"></asp:Button>
protected void Button_Clear_Filters_Click(object sender, EventArgs e)
{
foreach (GridColumn column in RadGrid1.MasterTableView.Columns)
{
column.CurrentFilterFunction = GridKnownFunction.NoFilter;
column.CurrentFilterValue = string.Empty;
}
RadGrid1.MasterTableView.FilterExpression = string.Empty;
RadGrid1.MasterTableView.Rebind();
}
2) How to Show/Hide Filters in Detail Table when Show/Hide Filters in Master Table.
<td class="style3" >
Show filtering item? <input id="Radio3" type="radio" runat="server" name="showHideGroup" checked="true" onclick="showFilterItem()" /><label for="Radio1">Yes</label>
<input id="Radio4" type="radio" runat="server" name="showHideGroup" onclick="hideFilterItem()"/><label for="Radio2" >No</label>
</td>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
<script type="text/javascript">
function showFilterItem() {
$find('<%=RadGrid1.ClientID %>').get_masterTableView().showFilterItem();
}
function hideFilterItem() {
$find('<%=RadGrid1.ClientID %>').get_masterTableView().hideFilterItem();
}
</script>
</telerik:RadCodeBlock>