Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
967 views

I was working on a simple test page and decided to load the latest Telerik DLLs (2020.3.915) for my asp.net webforms website.  I added a RadWizard to the page, all was working fine until I updated the page directive to set the ClientIDMode to Static. 

 

Using the devtools in Chrome, it shows the following error coming from ScriptResource.axd 

"Uncaught RangeError: Maximum call stack size exceeded"

 

I also noticed in the rendered HTML markup that the RadWizard did NOT use a static id.  In VS, the control was given an id of "wizardMain", but in the rendered HTML, I got the asp.net mangled version instead:

<div id="ctl00_ContentPlaceHolder1_wizardMain" class="RadWizard RadWizard_Default rwzHorizontal">

...

 

 

In general, the whole wizard markup was kind of messed up.  Take the ClientIDMode out of the page directive and it goes back to rendering and working as expected (so far).

 

Version loaded into project via nuget:

  <package id="Telerik.UI.for.AspNet.Ajax.Net45" version="2020.3.915" targetFramework="net48" />

Vessy
Telerik team
 answered on 13 Oct 2020
9 answers
1.1K+ views
Hey!

I have a page with a tabstrip, the whole page is inside RadAjaxPanel.

Inside this page (and also ajaxpanel). I have a jquery that hides/shows a div.

The function works fine, but then I click a tab on tabstrip, the postback happens and script stops working.

What is my solution?

Here is some code:

    <script type="text/javascript">
////FILTER
$('.filter').click(function() {
  $('.filterOpen').toggle('slow', function() {
  });
});
});($telerik.$);
    </script>
 
<div class="filter">Filter</div>
<div class="clear"></div>
<div class="filterOpen" style="display: none">
    <div class="sort">
        <%--Sort control--%>
    </div>
    <div class="time">
        <%--Time filter control--%>
        <div class="clear"></div>
    </div>
    <div class="clear"></div>
</div>
Vessy
Telerik team
 answered on 13 Oct 2020
14 answers
139 views

One of YAxis has negative value that throwing other out of balance

I attached current and desired pictures

Ideas?

Vessy
Telerik team
 answered on 13 Oct 2020
2 answers
680 views

Hello:

I am looking for some examples that show how I can create a set of cards (RadCards) dynamically.

Any pointer would be appreciated.

 

Thanks

 

 

Alan
Top achievements
Rank 1
 answered on 13 Oct 2020
1 answer
171 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
205 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
170 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
496 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
387 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?