To get familiar in a fast and pretty straight-forward manner with our panelbar control, I suggest that you visit the online resources linked below:
Of course, you can browse the public forum as well to find a specific information/code sample concerning an aspect of the panelbar object model/ features. There are numerous threads which can get you started/assist you through the development process.
Finally, we will appreciate your feedback on the structure/content of the online resources - our goal is to continue enriching them, thus facilitating our customers even more.
<
asp:DropDownList runat="server" ID="UserDropDown" AutoPostBack="true" DataSourceID="SqlDataSource1" DataTextField="TaskType" DataValueField="ID" OnDataBound="UserDropDown_DataBound">
</asp:DropDownList>
<telerik:radscheduler runat="server" id="RadScheduler1" width="100%" daystarttime="08:00:00" dayendtime="08:01:00" readonly="true" allowdelete="True" allowedit="True" allowinsert="True" dataendfield="End" datakeyfield="ID" onappointmentinsert="RadScheduler1_AppointmentInsert"
<ResourceTypes>
And i tried in Serverside also:
Private
Sub InitializeResources()
Dim resType As New ResourceType("TaskType")
resType.DataSourceID = "SqlDataSource1"
resType.ForeignKeyField = "ID"
resType.KeyField = "ID"
resType.TextField = "TaskType"
RadScheduler1.ResourceTypes.Add(resType)
RadScheduler1.Resources.Add(New Resource("TaskType", 1, "Expert"))RadScheduler1.Resources.Add(New Resource("TaskType", 9001, "Meeting"))RadScheduler1.Resources.Add(New Resource("TaskType", 90, "Staff"))RadScheduler1.Resources.Add(New Resource("TaskType", 92, "National Expert"))
End Sub
The types that i'm filling with the combo are 5 types. Appointment should be one of the 5 types.
| <telerik:GridBoundColumn |
| DataField="Price" |
| HeaderText="Price" |
| DataFormatString="${0:###,###.##}" |
| FooterText="Sub-Total: $" |
| Aggregate="sum"> |
| </telerik:GridBoundColumn> |
public
void TraducirMenuFiltrosGrid(RadGrid grid)
{
GridFilterMenu menu = grid.FilterMenu;
foreach (GridMenuItem item in menu.Items)
{
//change the text for the menu item with text StartsWith
switch (item.Text)
{
case "NoFilter":
item.Text =
"Sin Filtro";
break;
case "Contains":
item.Text =
"Que contenga";
break;
case "DoesNotContain":
item.Text =
"Que no contenga";
break;
case "StartsWith":
item.Text =
"Comienza por";
break;
case "EndsWith":
item.Text =
"Finaliza por";
break;
case "EqualTo":
item.Text =
"Igual A";
break;
case "NotEqualTo":
item.Text =
"Distinto de";
break;
case "GreaterThan":
item.Text =
"Mayor que";
break;
case "LessThan":
item.Text =
"Menor que";
break;
case "GreaterThanOrEqualTo":
item.Text =
"Mayor o igual que";
break;
case "LessThanOrEqualTo":
item.Text =
"Menor o igual que";
break;
case "Between":
item.Text =
"Incluido entre";
break;
case "NotBetween":
item.Text =
"No incluido entre";
break;
case "IsEmpty":
item.Text =
"Campo vacio";
break;
case "NotIsEmpty":
item.Text =
"Campo con valor";
break;
case "IsNull":
item.Text =
"Valor nulo";
break;
case "NotIsNull":
item.Text =
"Con valor";
break;
}
}
}