My combo box label gets cut off for some reason.
As far as I can see, the background-image uses this resource:
url('/WebResource.axd?d=D0XVlF4dZ6ZUgux5cKk7ZyPm2E6FIhaORkgtz3vriZu6rK_ZO-gRaPkBT_nfVuX88yBxnjVTz5mbU45Eb3S8dVJ5lHJBw5t82CsKyXb485mJzH9EpPeg2yFgd1jBroKGlq9gkpB2PXpYpBDpctx38I7oMVIPsmGoayYdbXGl7uA1&t=636123087020000000')
How would I extend the white label area to fill the rest of it? Or is there another way of implementing this dropdown menu without this resource, as it includes the background label area and the button on the right.
Hi,
I have an issue with tabs in the Rad Editor and/or the Telerik.Windows.Documents libraries. In my scenario I use the saved HTML content from the editor and convert it to DOCX using HtmlFormatProvider and DocxFormatProvider in the Telerik.Windows.Document libraries.The reason why I convert it to DOCX is because I need to inject it into other Word documents using the MS JavaScript API for Office.
This soultion is working (more or less), however the issue is that the editor inserts four whitespaces to the editor HTML content when I click the tab button.After I convert the HTML to DOCX, this is the resulting OOXML fragment:
<w:r>
<w:t> Hallo</w:t>
</w:r>
If I do the same tab-operation in Word the result is this:
<w:r>
<w:tab />
<w:t>Hallo</w:t>
</w:r>
I've played around with inserting 	 and   in the editor using the InsertTab function in JavaScript, but to no avail. There is still no consistency in the converted ooxml versus the ooxml produced by Word. I've also tried to set DefaultTabStopWidth on the RadFlowDocument and adding a tabstop to the TabStops collection on the paragraph properties for the relevant style, but I cannot find any working solution.
As our users are allowed to work on the same content in both Word and in the editor in the web application, this causes some issues regarding consistency in text layout/placement.
I am using:
Telerik.Web.UI 2018.3.910.45
Telerik.Windows.Documents.* 2018.3.904.40
Internet Explorer 11.0.9600.19155
I'm not quite sure where to go from here. I guess it boils down to that the converted DOCX needs to have a <w:tab /> at the position I added a tab in the editor. Is there any possible solution out of the box?
Thanks
Best regards,
Geir Morten Hagen
Depending on the type of appointment, I would like to set enable=false for the basiccontrolspanel and the advancedcontrolspane and leave the ButtonsPanel enabled on the AdvancedEdit form. I am able to use .FindControl to get to ButtonsPanel, but the other panels I am cannot. I get "System.NullReferenceException: 'Object reference not set to an instance of an object.' I need the user to be able to view the AdvancedEdit, so I cannot set AllowEdits=False. Doing this will not allow the user to open the form. Any suggestions aside from finding each control (Subject, StartDate, EndDate, AllDayEvent, etc.) and setting them each to Enabled=false. I am using UI for ASP.NET AJAX, Version 2018.3.910.45.
Thank you for your help.
Lisa
<
telerik:RadComboBox
ID
=
"RadComboBox1"
runat
=
"server"
DataTextField
=
"Store_Desc"
DataValueField
=
"Store_Code"
CollapseDelay
=
"200"
DataSourceID
=
"storesDataSource"
SelectedValue='<%# Bind("Store_Code") %>'>
</
telerik:RadComboBox
>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestCntxMenu2.aspx.cs" Inherits="CMSNewTests.TestCntxMenu2" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
meta
http-equiv
=
"Content-Type"
content
=
"text/html; charset=utf-8"
/>
<
title
></
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
div
>
<
telerik:RadScriptManager
runat
=
"server"
ID
=
"RadScriptManager1"
/>
<
telerik:RadMenu
RenderMode
=
"Lightweight"
ID
=
"RadMenu1"
runat
=
"server"
ShowToggleHandle
=
"true"
Skin
=
"Bootstrap"
IconColumnWidth
=
"20"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"Products"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"Chairs"
></
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
"Sofas"
></
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
"Tables"
></
telerik:RadMenuItem
>
</
Items
>
</
telerik:RadMenuItem
>
</
Items
>
</
telerik:RadMenu
>
</
div
>
</
form
>
</
body
>
</
html
>
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TestCntxMenu2.aspx.cs" Inherits="CMSNewTests.TestCntxMenu2" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html>
<
html
xmlns
=
"http://www.w3.org/1999/xhtml"
>
<
head
runat
=
"server"
>
<
meta
http-equiv
=
"Content-Type"
content
=
"text/html; charset=utf-8"
/>
<
title
></
title
>
</
head
>
<
body
>
<
form
id
=
"form1"
runat
=
"server"
>
<
div
>
<
telerik:RadScriptManager
runat
=
"server"
ID
=
"RadScriptManager1"
/>
<
telerik:RadMenu
RenderMode
=
"Lightweight"
ID
=
"RadMenu1"
runat
=
"server"
ShowToggleHandle
=
"true"
Skin
=
"Bootstrap"
IconColumnWidth
=
"20"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"Products"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"Chairs"
></
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
"Sofas"
></
telerik:RadMenuItem
>
<
telerik:RadMenuItem
Text
=
"Tables"
></
telerik:RadMenuItem
>
</
Items
>
</
telerik:RadMenuItem
>
</
Items
>
</
telerik:RadMenu
>
<
telerik:RadContextMenu
runat
=
"server"
ID
=
"RadContextMenu1"
>
<
Items
>
<
telerik:RadMenuItem
Text
=
"Add research field"
Value
=
"Add"
/>
</
Items
>
</
telerik:RadContextMenu
>
</
div
>
</
form
>
</
body
>
</
html
>
How can I achieve the style & appearance of the first image when using both controls on the same page? Why is the style & appearance changing at all when inserting the context menu?
Thanks for your answer and help,
Harald
I have an asp label inside a footer template as follows:
<
telerik:RadGrid
RenderMode
=
"Lightweight"
runat
=
"server"
ID
=
"RadGrid1"
ShowFooter
=
"true"
>
<
MasterTableView
AutoGenerateColumns
=
"false"
TableLayout
=
"Fixed"
>
<
Columns
>
<
telerik:GridTemplateColumn
DataType
=
"System.Int32"
SortExpression
=
"PortalLoadSeconds"
HeaderButtonType
=
"TextButton"
HeaderStyle-Width
=
"14%"
HeaderText
=
"Portal Load Seconds"
AutoPostBackOnFilter
=
"true"
>
<
ItemTemplate
>
<%#String.Format("{0}", Eval("PortalLoadSeconds")) %>
</
ItemTemplate
>
<
FooterTemplate
>
<
asp:Label
ID
=
"lbl_TotalSeconds"
runat
=
"server"
></
asp:Label
>
</
FooterTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
How do I access the "lbl_TotalSeconds" label in a vb sub to change its text
Hi,
I would like to support English and Arabic same time. For example, when the user enter English and Arabic text i want to get same html in javascript but the radeditor content doesn't same with the html text in javascript its like vice versa. I added screenshots about my issue.
Thank you for your quick reply.