Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
162 views

I am using pagination for my RadGrid and I have a telerik:GridClientSelectColumn at page load the page size is set to 10 however when I change from 10 to 20 in the page size dropdown the checkboxes 11 and grater to do not display on UI (see attachment). 

 

 

Attila Antal
Telerik team
 answered on 13 Oct 2020
4 answers
195 views

Hello,

We are working on multiple document pages, that we want to have the same XML source file to populate both pages but with different data from the XML file.

For example if we had a baseball.XML file that listed all the teams in MLB and we have a page for American league and a separate page for Nation league.

We want both pages to get the data from the same XML file and populate multiple treeviews.  We also want to break it down by division.  We want the name of the team to be a link to the team homepage.

This is an example of one of the pages:

American League

-AL East

  -Tampa Bay

  -New York

+AL Central

+AL West

 

Is this possible with XML and treeview control?  Thank you for any help or direction you can give me. 

Jerry
Top achievements
Rank 1
 answered on 12 Oct 2020
7 answers
1.6K+ views

Had a few sites on the same server that suddenly stopped working and started having issues

looking into the issues found the following weird entry appear in the root web.config:

 

<location path="Telerik.Web.UI.WebResource.axd">
    <system.web>
<authorization>
<allow users="*" />
</authorization>
</system.web>
</location>

Also found the following folders had been created:

"ScriptResource.axd" - Blank web.config

"Telerik.Web.UI.WebResource.axd" - contains a web.config as follows:

<configaration>
<location path="Telerik.Web.UI.WebResource.axd">
<system.webServer>
<httpRedirect enabled="true" destination="ROOT" httpResponseStatus="Permanent" />
</system.webServer>
</location>
</configaration>

"WebResource.axd" - Blank web.config

Anyone else ever seen this?

Is it a hack?

Thanks

 

Rumen
Telerik team
 answered on 12 Oct 2020
1 answer
162 views

Hi, We need help here. I want to call this 

var editor = $find("<%=editor1.ClientID %>");

var someContent = editor.get_html();

from .JS file instead of .aspx file. But when I am calling $find method from function which reside in .JS file, getting "$find is not defined" error.

Please advice how to fix this.

Vessy
Telerik team
 answered on 09 Oct 2020
6 answers
464 views
Hi,

I have a radgrid in batch edit mode inside a RadDock control.
I have a save button (dockcommand) outside of the grid which calls the save
function of the grid using the OnClientCommand and a javascript function.
If i edit a cell in the grid and then click of the cell (anywhere on the page)
the cell loses focus and the innerGrid.get_batchEditingManager()._changes
is updated. Clicking the save button works correctly.

The problem is if a user edits a cell and then clicks the save button (without
clicking anywhere else first) the cell is still in edit mode and the save has
nothing to save.

How do i get the edit cell to loss focus and come out of edit when clicking on
the save button?

All this is done clientside. The radgrid is wrapped within our own control
which implements a save function


Doncho
Telerik team
 answered on 09 Oct 2020
9 answers
351 views

How do you paste a file, in this instance a screen capture image, into the RadUpload dropzone?  My users do not want to have to save the file to disk first.  They want to copy and past it straight from an email or snippet tool.  I have been unsuccessful at finding any documentation for this.

 

Thanks.

Peter Milchev
Telerik team
 answered on 08 Oct 2020
4 answers
159 views

Hello,

It appears that setting a Path for StyleSheetReference is case sensitive.  The below page was served up from a local IIS and the style sheet is "Package.css."  I had inadvertently typed "package.css" and the lower case failed.  Chrome indicated a 200 result code, but the body of the request showed: /* START */ /* Skipped loading 1 invalid resource. */ /* END */ .   IE 11 also indicated a 200 result code, but gave this error:  SEC7113: CSS was ignored due to mime type mismatch.

Is this an issue with IIS or the RadStyleSheetManager?   Been a while since I had a single typo cause this much grief.  :)

Thanks!

Dave

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server">
        <StyleSheets>
            <telerik:StyleSheetReference Path="package.css" />
        </StyleSheets>
    </telerik:RadStyleSheetManager>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <script type="text/javascript">
        //Put your JavaScript code here.
    </script>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <div>
 
    </div>
    </form>
</body>
</html>
Dave
Top achievements
Rank 1
Iron
Veteran
Iron
 answered on 08 Oct 2020
6 answers
1.1K+ views
Hi,

I have a RadTabStrip and RadMultiPage which loads user controls for each tab.  This I had to do using the PageViewCreated event of the RadMultiPage, but at least it works.

Now, I need to be able to navigate through the tabs from one of my user controls that are loaded into the PageViews in the RadMultiPage.  If I set the RadTabStrip.Tabs[i].Selected = true then the tab is selected, but the assosciated PageView is not shown.

How can I programmatically get the PageView to show?

Thanks.
Vessy
Telerik team
 answered on 08 Oct 2020
14 answers
345 views
I just deployed an application that uses the RadEditor v2008.2.813.35 and my client doesn't see the icons when she loads the page.  The toolbars are visible, but not the icons.

The strange thing is that I can see the icons, and so do my other clients.  Could this be an intranet issue with my client's company?

Any thoughts?

Thanks.
Vessy
Telerik team
 answered on 08 Oct 2020
3 answers
1.0K+ views
We ran into a situation that we need get/set the whole html from radeditor, but GetHtml()/SetHtml() only get/set the content whithin <body> tag.

what happens is:
on server side, we use
radeditor.html = "<html><header>...</header><body>...</body></html>"

on client side, we need to get the html, do some process and set it back. But GetHtml() only get the content whithin <body>, and SetHtml does the same.

var e1 = <%=radEditor.ClientID%>;
  
var h1 = e1.GetHtml();
process h1...
  
e1.SetHtml(h1);

On server side, we can do that with html property. But how can I update the whole html from client side? 

Thanks
Peter Milchev
Telerik team
 answered on 08 Oct 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?