Hi,
The text option available in the RadImage editor, once entered doesn't allow to edit it. Is it possible to get/generate a click event on the image displayed in RadImage editor? I am trying a scenario where, when the user clicks anywhere on the image it opens a radwindow with the co-ordinates where it is clicked and add a comment allowing to edit at later time. Is this scenario possible with RadImageEditor?
Thanks,
Vidya
I having a random problem recently with the last Q4 ASP.NET Ajax library. On occasion I get the following error. It seems to happen when one is editing the editor. I am posting here because the error message specifically mentions my script manager.
Message: HierarchyRequestError
URL: https://salescrm.olincorp.net/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_rsmMainScriptManager_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a4d4da635-3815-4b70-912b-f389ade5df37%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%3aen-US%3a19b52502-df64-4cc0-aea9-c7e50aa82eb1%3a16e4e7cd%3af7645509%3a22a6274a%3a33715776%3a4877f69a%3a86526ba7%3aed16cbdc%3a88144a7a%3a24ee1bba%3ae330518b%3a2003d0b8%3ac128760b%3a1e771326%3ac8618e41%3a1a73651d%3a333f8d94%3acb4a7569%3a30f1f089%3ab2e06756%3a92fe8ea0%3afa31b949%3a874f8ea2%3a19620875%3af46195d3%3a490a9d4e%3a6d43f6d9%3ab7778d6c%3aaa288e2d%3a258f1c72%3ae085fe68%3a63b115ed%3a3856fd9f%3adc7e0bd%3a1569bb5f%3addbfcb67%3abd8f85e4
Line Number: 23595
Not sure it matters, but for my editors i have the following client script that has been in place for a while. I have been unsuccessful in tracking this issue down.
Telerik.Web.UI.Editor.CommandList.AjaxSpellCheck =
function
(commandName, editor) {
var
spell = $find(
'<%= radspellSpellChecker.ClientID %>'
);
spell.spellCheck(
new
PrometheusTextSource(editor));
return
false
;
}
var
PrometheusTextSource =
function
(editor) {
this
._editor = editor;
this
.get_text =
function
() {
return
this
._editor.get_html(); };
this
.set_text =
function
(value) {
this
._editor.set_html(value); };
}
function
OnEditorLoad(editor, args) {
editor.oldValue = editor.get_html(
true
);
var
element = document.all ? editor.get_document().body : editor.get_document();
$telerik.addExternalHandler(element,
"blur"
,
function
(e) {
var
ed = editor;
var
newValue = ed.get_html(
true
);
if
(ed.oldValue != newValue) Master_SetFormChanged(); });
}
function
OnClientModeChange(sender, args) {
if
(sender.get_mode() == 4)
// Checking the mode, where mode 4 is Preview
{
sender.get_toolContainer().style.display =
"none"
;
// Hide ToolBar
}
else
{
sender.get_toolContainer().style.display =
"block"
;
// Show ToolBar
}
}
I have a RadGrid control with server side filtering enabled such that you can enter text and then select Contains, Equals, etc.
http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/filtering/basic-filtering/defaultcs.aspx
I need to be able to have filter as a dropdown list with only the available options in the current grid.
For example if the grid's Country field contains only two countries, England and USA then the filter dropdown for the Country field should only display England and USA.
Is this functionality possible?
I have created a custom theme with the Theme Builder but I have notice that many, if not all, of the URL references in the css files contain server-side code blocks. Since I am adding links to these files directly the server side code does not get executed.
Example from the SearchBox css file:
.RadSearchBox_BP_FormDefault .rsbLoadingIcon {
background-image: url('<%=WebResource("Telerik.Web.UI.Skins.BP_FormDefault.Common.loading_small.gif")%>');
}
The example linked in several of the existing threads does not provide any information.
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/appearance-and-styling/modifying-existing-skins#creating-a-custom-skin-basic-steps
I have a very simple grid
<
telerik:RadGrid
ID
=
"GrdCourses"
runat
=
"server"
OnNeedDataSource
=
"GrdCourses_NeedDataSource"
OnDetailTableDataBind
=
"GrdCourses_DetailTableDataBind"
AutoGenerateColumns
=
"false"
MasterTableView-ExpandCollapseColumn-HeaderStyle-Width
=
"50px"
>
<
ClientSettings
AllowDragToGroup
=
"false"
>
<
Scrolling
AllowScroll
=
"true"
UseStaticHeaders
=
"True"
/>
<
Resizing
AllowColumnResize
=
"true"
/>
</
ClientSettings
>
<
MasterTableView
DataKeyNames
=
"ProductPlanID"
>
<
Columns
>
I was thinking that MasterTableView-ExpandCollapseColumn-HeaderStyle-Width property was there to set the width of the ExpandCollapse column... but it has no effect at all.
The skin has been set to tBoostrap in the web.config.
No other CSS are applied
I'm using v 2017.1.228
Anyone knows a workaround to this bug?
We have a project that has been built over many years and uses a master page with content pages to deliver to the browser. We are embarking on project to migrate web pages to a new fresh look. To achieve this look or as near as I need to make use of using custom skins which will be applied in the code-behind.
Now this is where the problem arises; I have spent more than 8 hours trying to make this happen; I copied from the telerik skins folder the Metro skin and changed this to our product name INONI. In my testing I thought I would apply it to the RadWindow control; I so I edited the CSS and change the styles ending with _Metro to _INONI in keeping with skin. Using the code-behind method I used it with my project and clicked a button with uses the radopen java script method this opened to what can only be described as a ghost version of the window.
Using the same method but configuring the project to use in-built Metro skin this works fine. I have constructed a mockup project (30mb unfortunately zipped) with all the elements to show you what I mean but I am unable to attach this to the thread. I am in need of some inspiration.
Hi,
What i want to achieve is to set an aggregate function for a field (for example min) to calculate on the latest subtotal the sum.
Please check following printscreen.
Is it possible ?
Regards,
Maxime LEMARE
protected
void
btnSave_Click(
object
sender, EventArgs e)
{
RadGrid1.AllowPaging =
false
;
RadGrid1.Rebind();
foreach
(GridDataItem item
in
RadGrid1.Items)
{
CheckBox chk = (CheckBox)item[
"Select"
].Controls[0];
if
(chk.Checked)
{
...
}
}
RadGrid1.AllowPaging =
true
;
RadGrid1.Rebind();
}
I have looked at the documentation for RadPageLayout to try to understand what is the difference between Span and (SpanXs, SpanSm, SpanMd, SpanLg, SpanXl) but the documentation only covers Span and does not explain what (SpanXs, SpanSm, SpanMd, SpanLg, SpanXl) is.
With Span for columns, it just says it is the size or width in grid units of the column. One grid equals 1/12 of the total width.
That is still not clear enough for me.
For example, what does it mean when a column has Span=4 and SpanMd=8?
Sincerely,
Keith Jackson