protected
void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)
{
e.Appointment.Subject =
"TEST";
}
What I am aiming to do is to assign colors based on custom resources using a Data Source, which I was unable to get to work, so I hoped to prove the I was actually firing the Data Bound event by testing it with the Subject change.
Here is an example oh how I would like to display colors for different resources ("CalendarType"):
protected void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)
{
if (e.Appointment.Resources.GetResourceByType("CalendarType") != null)
e.Appointment.CssClass = DataBinder.Eval(e.Appointment.Resources.GetResourceByType("CalendarType").DataItem, "CalendarTypeColor").ToString();
}
Thanks in advance. You guys have a great product and we will purchase once we solve this problem!
<
telerik:RadMenuItem runat="server">
<ItemTemplate>
search:
<telerik:RadTextBox ID="txtQuickSearch" runat="server" Height="12px">
</telerik:RadTextBox> <asp:Button ID="btnQiuckSearch" runat="server" OnClick="btnQiuckSearch_Click"
Text="Go" BackColor="#FF8000" Height="22px" Font-Size="Small" BorderStyle="Double" /></ItemTemplate>
</telerik:RadMenuItem>
The above code .iam not able to access textbox and button from the code behind.
Please give me the suggession.
Thanks
Satish.
var masterTable = $find("<%=dtInvoice.ClientID%>").get_masterTableView();
var amount = masterTable.getCellByColumnUniqueName(masterTable.get_dataItems()[row], "Apply")
if (amount)
{
amount.innerHTML = displayamt;
}
return false;
I have not figured out a way to pull the value on the serverside. I tried pulling using the dataitem but it always returns empty. What am i missing?