or
If you click the justify (left, center, right, justify) buttons in the RadEditor in Mozilla Firefox 9 when you have text highlighted, nothing happens.
Example: I checked Google Chrome and it works fine when I click the "center" justify button after inspecting the element.
element.style {
text-align: center;
}
Me
.re_html.DisableFilter(Telerik.Web.UI.EditorFilters.RemoveScripts)
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
|
<
telerik:RadGrid
ID
=
"grdAdmin"
runat
=
"server"
Width
=
"100%"
AllowFilteringByColumn
=
"True"
GridLines
=
"None"
AllowPaging
=
"True"
AllowSorting
=
"True"
AutoGenerateColumns
=
"False"
onneeddatasource
=
"grdAdmin_NeedDataSource"
PageSize
=
"20"
ondeletecommand
=
"grdAdmin_DeleteCommand"
>
<
GroupingSettings
CaseSensitive
=
"false"
/>
<
MasterTableView
DataKeyNames
=
"NominationID"
NoMasterRecordsText
=
"There are currently no nominations to display."
Width
=
"100%"
CommandItemDisplay
=
"Top"
AutoGenerateColumns
=
"False"
>
<
Columns
>
<
telerik:GridDateTimeColumn
DataField
=
"DateOfNomination"
DataFormatString
=
"{0:d}"
HeaderText
=
"Date Of Nomination"
SortExpression
=
"DateOfNomination"
UniqueName
=
"DateOfNomination"
ReadOnly
=
"true"
>
</
telerik:GridDateTimeColumn
>
<
telerik:GridBoundColumn
DataField
=
"NomineeName"
HeaderText
=
"Nominee Name"
SortExpression
=
"NomineeName"
DataType
=
"System.String"
UniqueName
=
"NomineeName"
ReadOnly
=
"true"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"NominatorName"
HeaderText
=
"Nominator Name"
SortExpression
=
"NominatorName"
DataType
=
"System.String"
UniqueName
=
"NominatorName"
ReadOnly
=
"true"
AllowFiltering
=
"false"
>
</
telerik:GridBoundColumn
>
<
telerik:GridButtonColumn
CommandName
=
"Delete"
Text
=
"Delete"
UniqueName
=
"DeleteCommandColumn"
ConfirmDialogType
=
"Classic"
ConfirmText
=
"Are you sure you want to delete this nomination from the database?"
ConfirmTitle
=
"Are you sure?"
>
</
telerik:GridButtonColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
protected void grdAdmin_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
using (RecognitionEntities dc = new RecognitionEntities())
{
string selectStatement = string.Format(@"select n.NominationID,
n.DateOfNomination,
(SELECT FULL_NAME FROM dwdata.person_table where PERSON_ID=n.NomineeEmployeeID) as NomineeName,
(SELECT FULL_NAME FROM dwdata.person_table where PERSON_ID=n.NominatorEmployeeID) as NominatorName
from dbo.tblNominations as n
where (n.DeletedBy IS NULL)
and (n.FiscalYear = '{0}')",
ConfigurationManager.AppSettings["CurrentFiscalYear"]);
// bind the results to the grid
IEnumerable<
NominationAdmin
> pn = dc.ExecuteStoreQuery<
NominationAdmin
>(selectStatement);
grdAdmin.DataSource = pn.ToList();
}
}
using
System;
using
System.Collections.Generic;
using
System.Linq;
using
System.Text;
namespace
Recognition.EntityDataModel
{
public
class
NominationAdmin
{
private
int
_nominationID;
private
DateTime _dateOfNomination;
private
string
_nomineeName;
private
string
_nominatorName;
public
int
NominationID
{
get
{
return
this
._nominationID; }
set
{
this
._nominationID = value; }
}
public
DateTime DateOfNomination
{
get
{
return
this
._dateOfNomination; }
set
{
this
._dateOfNomination = value; }
}
public
string
NomineeName
{
get
{
return
this
._nomineeName; }
set
{
this
._nomineeName = value; }
}
public
string
NominatorName
{
get
{
return
this
._nominatorName; }
set
{
this
._nominatorName = value; }
}
}
}