I build websites using DotNetNuke and recently I had a need to force downloads from standard A tag hyperlinks. This can be done with modern HTML5 browsers using the "download" attribute. But, the RadEditor that the DNN site offers strips this attribute while in its standard HTML mode. The only way I can get it to work is to switch the editor into text mode, which causes issues when later opening / saving the content in HTML mode.
Is there any method to alter the behavior of the editor to accept / allow the "download" attribute?
Thanks.
Following this demo:
http://demos.telerik.com/aspnet-ajax/ajax/examples/common/ajaxifytimer/defaultcs.aspx
But we have a TextBox as a TemplateColumn in the Grid and on the TextChanged event, it is saving the Textbox value to database.
Problem is when the database value is modified behind-the-scenes, the TextChanged event is firing and saving the old value over the new value.
function
AutoRefreshPage() {<br> RebindTasksGrid();<br> autoRefreshTimer = setTimeout(
"AutoRefreshPage()"
, 60000);<br> }
function
RebindTasksGrid() {<br>
var
masterTable = $find(
"<%= rgDeployTasks.ClientID %>"
).get_masterTableView();<br> masterTable.rebind();<br> }
function
pageLoad() {<br> AutoRefreshPage();<br> }
I have a telerik RadEditor used in a User control. I can upload images, select images, view images through ImageManager, but I cannot insert the Image to the content area.
I tried put same code in regular Aspx page, it has no problem to insert picture to the content area.
Could anyone help me how to get the insert image function work if the RadEditor is used in a user control?
I am trying to use RadSpell , but a web.config security setting is not allowing RadSpell to open it's frame popup window. The security setting is a must setting , i can not remove this setting. This setting is to prevent click jacking. ( more on this - https://www.owasp.org/index.php/Clickjacking)
Here is my web config setting.
<httpProtocol>
<customHeaders>
<clear/>
<add name="Strict-Transport-Security" value="max-age=31536000; includeSubDomains" />
<add name="X-Frame-Options" value="DENY"/>
<add name="Content-Security-Policy" value="frame-ancestors 'inherit' " />
<remove name="X-AspNet-Version" />
<remove name="X-Powered-By" />
</customHeaders>
</httpProtocol>
Hi,
I have a scenario where i wanted a textbox against a list of employees to enter some details. I want to disable the selection text while still being able retrieve the details entered against each employee in the given textbox. I could have used a grid control but for something this simple I like the dropdown feature of combobox. I was able to get the textbox in the template but I wasn't able to disable/hide the selection text. Is this doable?
I am using kendo ui for scheduler and it is working as I needed but when i represent more part of data thorugh tootip and provide some action over contextmenu. The tooltip overlap on the contextmenu makes contextmenu invisible for the tooptip portion only. following are the scenarios in the images attached.
Following are two images shows the problem exactly.
Hi,
I am pasting a sample html using editor.Pastehtml method in sitecore 8.1 Rich text editor and it removes iframe tags after pasting. It works in few scenarios like
1. when the editor is empty.
2. When we paste at the end of the entire html.
3. It works when there is one frame tag, but when there are two it removes both and pastes the left out.
Below is the sample html that i am trying to paste to the editor.
"<div class="root"><p class="article-exhibit__header iframe-header_57aa38e436cf474fa4eaeaa77c7fb05d">header</p> <p class="article-exhibit__title iframe-title_57aa38e436cf474fa4eaeaa77c7fb05d">title</p> <div class="iframe-component"> <div class="iframe-component__desktop ewf-desktop-iframe_57aa38e436cf474fa4eaeaa77c7fb05d" data-mediaid="57aa38e436cf474fa4eaeaa77c7fb05d" data-embed-link="enabled"> <iframe width="560" height="315" src="https://www.youtube.com/embed/x56ipAMMmLA" frameborder="0" class="ewf-desktop-iframe_57aa38e436cf474fa4eaeaa77c7fb05d"></iframe> </div> <div class="iframe-component__mobile ewf-mobile-iframe_57aa38e436cf474fa4eaeaa77c7fb05d" data-embed-link="enabled"> <iframe width="560" height="315" src="https://www.youtube.com/embed/x56ipAMMmLA" frameborder="0" class="ewf-mobile-iframe_57aa38e436cf474fa4eaeaa77c7fb05d"></iframe> </div> </div> <p class="article-exhibit__caption iframe-caption_57aa38e436cf474fa4eaeaa77c7fb05d">caption</p> <p class="article-exhibit__source iframe-source_57aa38e436cf474fa4eaeaa77c7fb05d">source</p> </div>"
Can anyone help me with this? Please let me know if you need any other information.