In the RadEditor for ASP.NET there are Disable Filters that can be applied like the following:
RadEditor1.DisableFilter(
EditorFilters.ConvertFontToSpan);
RadEditor1.DisableFilter(
EditorFilters.ConvertToXhtml);
RadEditor1.DisableFilter(
EditorFilters.FixUlBoldItalic);
Are there similar filters that can be applied to RadMarkupDialog to keep it from converting font to span, Bold, Italic and Underline to style, etc?
Hi
I have Telerik Q3 2010. I used radDatetimePicker in my form but it does not work.
when I click any date in datetimepicker it does not show date in that.
I used this code in main() function of my program.cs file to have persian calander.
Thread.CurrentThread.CurrentCulture =
new
System.Globalization.CultureInfo(
"fa-IR"
);
Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;
when I delete this code and set the culture of radDatetimePicker to fa-IR, it displays an error (I attached the picture of that error)
how can I solve this problem?
thanks in advance
The designer cannot process the code at line 56: this.panel1.BackgroundImage = global::Telerik.Examples.WinControls.Properties.Resources.brushedMetal; The code within the method 'InitializeComponent' is generated by the designer and should not be manually modified. Please remove any changes and try opening the designer again.
Hide Edit |
|
at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.CreateQuoteExpression(XmlElementData xmlElement) at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.XmlElementData.get_CodeDomElement() at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.EndElement(String prefix, String name, String urn) at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.Parse(XmlReader reader) at Microsoft.VisualStudio.Design.Serialization.CodeDom.XML.CodeDomXmlProcessor.ParseXml(String xmlStream, CodeStatementCollection statementCollection, String fileName, String methodName) at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomParser.OnMethodPopulateStatements(Object sender, EventArgs e) at System.CodeDom.CodeMemberMethod.get_Statements() at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.Deserialize(IDesignerSerializationManager manager, CodeTypeDeclaration declaration) at System.ComponentModel.Design.Serialization.CodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager manager) at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.PerformLoad(IDesignerSerializationManager serializationManager) at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.DeferredLoadHandler.Microsoft.VisualStudio.TextManager.Interop.IVsTextBufferDataEvents.OnLoadCompleted(Int32 fReload) |
Private
Sub
RadGridView1_CellFormatting(
ByVal
sender
As
System.
Object
,
ByVal
e
As
Telerik.WinControls.UI.CellFormattingEventArgs)
Handles
RadGridView1.CellFormatting
Dim
equationFont
As
New
Font(
"Cambria"
, 9, FontStyle.Bold
Or
FontStyle.Italic)
If
e.Row.DataBoundItem.Row(
"EQUATION"
) =
"Y"
Then
e.CellElement.Font = equationFont
If
gbUseColorCoding
Then
' global boolean variable for users to disable colors
e.CellElement.DrawFill =
True
e.CellElement.NumberOfColors = 1
e.CellElement.BackColor = Color.PaleGoldenrod
Else
e.CellElement.ResetValue(LightVisualElement.DrawFillProperty)
e.CellElement.ResetValue(LightVisualElement.NumberOfColorsProperty)
e.CellElement.ResetValue(LightVisualElement.BackColorProperty)
End
If
Else
e.CellElement.ResetValue(LightVisualElement.FontProperty)
e.CellElement.ResetValue(LightVisualElement.DrawFillProperty)
e.CellElement.ResetValue(LightVisualElement.NumberOfColorsProperty)
e.CellElement.ResetValue(LightVisualElement.BackColorProperty)
End
If
End
Sub