Hi
How to Implemented CRUD Operation using this control Grid - Form Template Edit Form.
protected void dgTest_ItemCreated(object sender, GridItemEventArgs e)
{
if (e.Item.ItemType == GridItemType.FilteringItem)
{
GridFilteringItem filterItem = (GridFilteringItem)e.Item;
RadDatePicker startDate = (RadDatePicker)filterItem["StartDate"].FindControl("RDIPFStartDate");
startDate.Calendar.ShowRowHeaders = false;
}
}
I've just used the radSheduler for the first time and was impressed at how easy it was to setup from the on-line examples and demos. I am however experiencing one small problem with setting styles. I used the Telerik documentation on the subject here and everything seemed ok except that my styles are ignored but I can't figure out what I've missed.
Here is my aspx code for the Scheduler (it uses a SQLDataSource:
<
telerik:RadScheduler
ID
=
"RadScheduler1"
StartEditingInAdvancedForm
=
"false"
EnableExactTimeRendering
=
"true"
OnClientAppointmentEditing
=
"AppointmentEditing"
OnClientAppointmentInserting
=
"AppointmentInserting"
DataSourceID
=
"ds_Logbook"
DataDescriptionField
=
"ProgComment"
DataEndField
=
"StopDate"
DataKeyField
=
"Logbook_Id"
DataStartField
=
"StartDate"
DataSubjectField
=
"ActivityDescription"
SelectedView
=
"MonthView"
Height
=
"100%"
runat
=
"server"
>
</
telerik:RadScheduler
>
Here is the DataBound event in the codebehind:
Protected Sub RadScheduler1_AppointmentDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.SchedulerEventArgs) Handles RadScheduler1.AppointmentDataBound
e.Appointment.CssClass = "rsCategory" + Replace(e.Appointment.Subject, " ", "")
End Sub
Here is the CSS:
.rsCategoryActivity1 {
background-color: Blue;
border-color: Blue;
border-style: dotted;
border-width: thin;
}
.rsCategoryActivity2 {
background-color: Green;
border-color: Green;
border-style: dotted;
border-width: thin;
}
.rsCategoryActivity3 {
background-color: Yellow;
border-color: Yellow;
border-style: dotted;
border-width: thin;
}
.rsCategoryActivity4 {
background-color: Red;
border-color: Red;
border-style: dotted;
border-width: thin;
}
.rsCategoryActivity5 {
background-color: Orange;
border-color: Orange;
border-style: dotted;
border-width: thin;
}
and here is a rendered appointment that should be shown in red but just shows up in the default skin colours:
<
div
id
=
"RadScheduler1_3_0"
title
=
"Activity 4"
class
=
"rsApt rsCategoryActivity4"
style
=
"height:21px;width:500%;"
>
<
div
class
=
"rsAptOut"
style
=
"height:21px;"
>
<
div
class
=
"rsAptMid"
>
<
div
class
=
"rsAptIn"
>
<
div
class
=
"rsAptContent"
>
Activity 4<
a
class
=
"rsAptDelete"
href
=
"#"
>delete</
a
>
</
div
>
</
div
><
div
class
=
"rsAptResize rsAptResizeStart"
style
=
"z-index:80;top:0px;"
>
<!-- -->
</
div
><
div
class
=
"rsAptResize rsAptResizeEnd"
style
=
"z-index:80;top:0px;"
>
<!-- -->
</
div
>
</
div
>
</
div
>
</
div
>
Can anyone help?
Hi,
I have customize the inline editor. I want to save data in a database on clicking of customize button showing in red circle please see the attach image. so how can i get the id of customize button so that can i save the data using jquery.
Please Guide me on this issue.
Since upgrading to Telerik 2015.1.225.40, the Scheduler adds a horizontal scroll bar when switched to Week view (see attachment).
Is this a bug and/or is there a way to fix this?
What we currently have is an aspx page that contains a radgrid that allows users to modify a record. The information is loaded into a user control contained within a javascript/css modal window and I would like to replace it with the RadWindow. This is currently how it is:
<%@ Register Src="~/Common/camelScoreNotes.ascx" TagName="CamelNotes" TagPrefix="uc1" %>
<
telerik:GridTemplateColumn
UniqueName
=
"OpenNotes"
HeaderStyle-Width
=
"40px"
ItemStyle-HorizontalAlign
=
"Center"
>
<
ItemTemplate
>
<
div
id
=
"Div<%# FormatDateTime(Eval("
Date"), 2).Replace("/", "")%>" class="audit-notes-window">
<
uc1:CamelNotes
NoteDate='<%# Eval("Date").ToString%>' AuditID='<%# _hdnAuditID.Value %>' CamelScore='<%# Eval("CamelCAE_Score")%>' CamelComp='<%# Eval("CAMEL_Comp")%>' CreatedBy='<%# Eval("CreatedByName")%>' runat="server"/>
</
div
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
First, I am not sure if it is even possible? Can I only define one RadWindow and still pass the required variables in or would each GridTemplateColumn be a new RadWindow? Note: that I do have multiple user controls and would like to get them all being edited in a RadWindow; each require that I pass in variables. Maybe I create 3 RadWindows (one for each of the user controls) and define its contenttemplate as the user control but how could I pass in the required information?
Your assistance is appreciated.
hi
i have wich it's fill withe some items it's apear in the first pic i wnat items o combobox apear like the second pic and thank you
Hi,
I am working on radcombobox and radtreview with checkbox property, where when i am cheking nodes from radtreeview that checked item text must be shown.but three requirment that is
1.if parent node is checked all child node must be checked and there text must be shown on radcombobox
2.if any one of child is unchecked then parent node must be unchecked
3.if all child node is checked then automatically parent node must be checked.
without using tristate,and checkchild node property.becoz if i use tristate property then text of parent child is also shown in radcombobox even all child is not checked.
so i want help for 3rd option i.e if all child node is checked then parent node must be checked withoout using tristate property. in my example i have 2 parent each parent have two child so how to identify that this particular parent have some child.
reason behind to disabled tristate property is if any one of child is checked then it shows the text of that child aloong with that parent child which i dont want.
​
Hi Team,
I am facing an issue with RadAsyncUpload when i upload a file with size 6.22 MB we used to get RED mark as symbol.
But this is not happening all times. only happens sometimes we are getting Red symbol. But at the same time remaining files are uploading successfully.
We have 6 Web Front servers in our environment. We are using following telerik version. "2012.3.1308.35" .
Please help me out from this issue.
Thanks in Advance.