<tel:RadGrid ID="rgReferrals" runat="server" DataSourceID="odsReferrals" EnableLinqExpressions="true" AllowFilteringByColumn="true" AllowPaging="true" AllowSorting="true" AutoGenerateHierarchy="true" OnDetailTableDataBind="rgReferrals_DetailTableDataBind" OnPreRender="rgReferrals_PreRender" > <MasterTableView AutoGenerateColumns="false"> <Columns> <tel:GridBoundColumn HeaderText="ID" DataField="ReferralID" CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="true" /> <tel:GridBoundColumn HeaderText="Status" DataField="Status" CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="true" /> <tel:GridButtonColumn HeaderText="Accept" ImageUrl="~/Content/Images/Icons/tick.png" CommandName="Accept" ButtonCssClass="InoperatableButton" ButtonType="ImageButton" Text="Accept" /> <tel:GridButtonColumn HeaderText="Reject" ImageUrl="~/Content/Images/Icons/cross.png" CommandName="Reject" ButtonCssClass="InoperatableButton" ButtonType="ImageButton" Text="Reject" />Hi,
I would like to show the summary of appointment in monthview, I am able to get the dataset formonth view. I am able to bind this dataset in month view, there are noexceptions. The problem is that I am not able to see my appointment in monthview.
Design code:
<telerik:RadScheduler ID="schAdminView"
Width="700px"
Height="400px"
DataKeyField="AppoinmentId"
DataSubjectField="ApptName"
DataStartField="StrtTime"
DataEndField="EndTime"
DisplayDeleteConfirmation="true"
SelectedView="DayView"
Skin="Web20"
runat="server"
OverflowBehavior="Scroll"
AdvancedForm-Enabled="false"
ShowViewTabs="true"
AllowEdit="true"
ShowDateHeaders="true" >
<MonthView VisibleAppointmentsPerDay="10" />
</telerik:RadScheduler>
Sample dataset (Month view)
AppoinmentIdApptName StrtTime EndTime
1 2Appt 3/9/2009 12:00:00 AM 3/9/2009 11:59:59 PM
2 3Session 3/9/2009 12:00:00 AM 3/9/200911:59:59 PM
3 2Appt 8/9/2009 12:00:00 AM 3/9/2009 11:59:59 PM
4 3Session 8/9/2009 12:00:00 AM 3/9/200911:59:59 PM
Thanks
Sabarish
<asp:SqlDataSource ID="DS_catAttribute" runat="server" ConnectionString="<%$ ConnectionStrings:myCS %>" SelectCommand="sp_paramCatAttributeSelectGV" SelectCommandType="StoredProcedure"> <SelectParameters> <asp:ControlParameter ControlID="categoryTV" Name="catID" PropertyName="SelectedValue" Type="String" /> </SelectParameters></asp:SqlDataSource>i am using window.radopen function .and i want use OnClientclose event in this function how can i use.
return
string.Format("var win = window.radopen('DisplayImage.aspx?id={0}®no={1}&hosid={2}','Details');win.center();win.maximize();win.set_visibleStatusbar(false); ", Convert.ToString(id), Session["registrationId"].ToString(), Session["HospitalLocationId"].ToString());
<script type="text/javascript">
function OnResponseEnd(sender, arguments)
{
var treeviewInstance = <%=RadTreeView1.ClientID %>;
var selectedNode = treeviewInstance.SelectedNode;
if (selectedNode != null)
{
selectedNode.ScrollIntoView();
}
}
</script>
<radA:RadAjaxPanel
ID="RadAjaxPanel1"
runat="server"
ClientEvents-OnResponseEnd="OnResponseEnd">
</radA:RadAjaxPanel>
ListBox1.DataTextField = "Desc"ListBox1.DataValueField = "ID"ListBox1.DataSource = dtListBox1.DataBind()<telerik:RadListBox ID="ListBox1" runat="server" CheckBoxes="True" Skin="Default" Height="300px" > </telerik:RadListBox>