or
<script runat="server"> |
protected void Page_PreRenderComplete(object sender, EventArgs e) |
{ |
if (Request.Browser.IsBrowser("IE")) |
{ |
RadTextBox1.EnabledStyle.CssClass = String.Empty; |
RadTextBox1.HoveredStyle.CssClass = String.Empty; |
RadTextBox1.FocusedStyle.CssClass = String.Empty; |
RadTextBox1.InvalidStyle.CssClass = String.Empty; |
} |
else |
{ |
RadTextBox1.EnabledStyle.CssClass = "rfdInput rfdRoundedCorners"; |
RadTextBox1.HoveredStyle.CssClass = "rfdInput rfdRoundedCorners"; |
RadTextBox1.FocusedStyle.CssClass = "rfdInput rfdRoundedCorners"; |
RadTextBox1.InvalidStyle.CssClass = "rfdInput rfdRoundedCorners"; |
} |
} |
</script> |
DataType="System.Int16" DataFormatString="{0:#,###,##0;-#,###,##0}"
<
telerik:radcombobox
id
=
"ebaCountry"
runat
=
"server"
DataTextField
=
"Text"
DataValueField
=
"Value"
MarkFirstMatch
=
"True"
AllowCustomText
=
"False"
OnClientSelectedIndexChanging
=
"LoadCountryDependentCombos"
OnItemsRequested
=
"ebaCountry_ItemsRequested"
OnClientSelectedIndexChanged
=
"EbaChangeCountry"
OnClientBlur
=
"EbaChangeCountry"
OnClientLoad
=
"SetCountryClientId"
></
telerik:radcombobox
>
var item = eventArqs.get_item();
ebaParticipant.set_text(" Loading...");
ebaParticipant.requestItems(item.get_value(), false);
<
telerik:RadComboBox
runat
=
"server"
ID
=
"ebaParticipant"
MarkFirstMatch
=
"true"
DataSourceID
=
"objdsParticipant"
OnClientItemsRequested
=
"ItemsLoaded"
AllowCustomText
=
"False"
OnClientSelectedIndexChanged
=
"EbaChangeParticipant"
OnClientBlur
=
"EbaChangeParticipant"
OnItemDataBound
=
"ebaParticipant_ItemDataBound"
OnClientLoad
=
"SetParticipantClientId"
OnItemsRequested
=
"ebaParticipant_ItemsRequested"
>
<
ItemTemplate
>
<
ul
>
<
li
style
=
"float: left; width: 110px; margin: 0; padding: 0 5px 0 0; line-height: 14px"
>
<%# DataBinder.Eval(Container.DataItem, "PersonName") %></
li
>
<
li
style
=
"float: left; width: 110px; margin: 0; padding: 0 5px 0 0; line-height: 14px"
>
<%# DataBinder.Eval(Container.DataItem, "MinistryName") %></
li
>
</
ul
>
</
ItemTemplate
>
</
telerik:RadComboBox
>
<
div
style
=
"clear:both;"
>
<
telerik:RadScheduler
runat
=
"server"
ID
=
"Scheduler"
DataStartField
=
"Start"
DataEndField
=
"End"
DataSubjectField
=
"CustomText"
DataKeyField
=
"Id"
ShowResourceHeaders
=
"True"
AllowDelete
=
"False"
AllowEdit
=
"False"
AllowInsert
=
"False"
SelectedView
=
"TimelineView"
GroupingDirection
=
"Vertical"
DayStartTime
=
"08:00:00"
DayEndTime
=
"19:00:00"
TimeZoneOffset
=
"02:00:00"
OverflowBehavior
=
"Expand"
ReadOnly
=
"True"
RowHeight
=
"25"
FirstDayOfWeek
=
"Monday"
LastDayOfWeek
=
"Sunday"
AppointmentStyleMode
=
"Simple"
NumberOfHoveredRows
=
"0"
OnAppointmentDataBound
=
"AppointmentDatabound"
OnResourceHeaderCreated
=
"ResourceCreated"
>
<
TimelineView
GroupingDirection
=
"Vertical"
SlotDuration
=
"7.00:00:00"
NumberOfSlots
=
"12"
ColumnHeaderDateFormat
=
"dd/MM"
UserSelectable
=
"False"
>
</
TimelineView
>
<
MonthView
UserSelectable
=
"False"
/>
<
DayView
UserSelectable
=
"False"
/>
<
WeekView
UserSelectable
=
"False"
/>
<
AppointmentTemplate
>
<
div
>
<
label
style
=
"color:black; font-size:7pt; display:block; text-align: center;"
><%# Eval("Subject") %></
label
>
</
div
>
</
AppointmentTemplate
>
</
telerik:RadScheduler
>
GridEditCommandColumn EditColumn =
new
GridEditCommandColumn();
this
.RadGrid1.MasterTableView.Columns.Add(EditColumn);
EditColumn.ButtonType = GridButtonColumnType.ImageButton;
EditColumn.UniqueName =
"EditCommandColumn"
;
EditColumn.HeaderText =
"SingleAction"
;
EditColumn.ColumnGroupName =
"test"
;
GridButtonColumn DeleteColumn =
new
GridButtonColumn();
this
.RadGrid1.MasterTableView.Columns.Add(DeleteColumn);
DeleteColumn.CommandName =
"Delete"
;
DeleteColumn.ButtonType = GridButtonColumnType.ImageButton;
DeleteColumn.UniqueName =
"DeleteCommandColumn"
;
DeleteColumn.ConfirmDialogType = GridConfirmDialogType.Classic;
DeleteColumn.HeaderText =
"SingleAction"
;
DeleteColumn.ConfirmText =
"Do you really want to delete?"
;
GridCalculatedColumn calcol =
new
GridCalculatedColumn();
calcol.DataFields =
new
string
[]{
"EditCommandColumn"
,
"DeleteCommandColumn"
};
calcol.Expression =
"{0}-{1}"
;
tableViewProjects.Columns.Add(calcol);