Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
303 views
This is a two part problem, with the interaction between RadGrid and RadEditor.

I am using (Q1) RadEditor inside a RadGrid.  I have encountered a bit of a problem.  When the user enters newlines within the editor, it renders them as <BR> instead of the proper <BR />.  I generally wouldn't care.  Unfortunatly, later when I do a call to RadGrid->ExportToPdf() I get the following exception:

Invalid XHTML. RadGrid has to render correct XHTML in order to export to PDF.
Parse error:
The 'br' start tag on line 688 does not match the end tag of 'div'. Line 688, position 268.
at line:
<span id="ctl00_BodyPlaceHolder_RadGrid1_ctl00_ctl04_Label2">In lists granted to other people, you currently can't see the thumbnails without permission.<div><br><div>Add a check in file loader for ListPermission exception.</div></div></span>


If you edit the Grid item to not contain any newlines it works correctly.  Add a new return in the editor and export will break again.

So, I either need RadEditor to render properly formatted HTML, or I need Rad Grid to be less strict in its HTML parsing.  Personally, I actually view this as a bug in both products as RadEditor should encode newlines as <BR /> instead of <BR> and RadGrid's export to PDF should be able to handle this situation.


Is there a workaround?
Abhijit
Top achievements
Rank 1
 answered on 24 Oct 2017
0 answers
90 views

How do I bind a datasource to a Range Column Chart, From...  To.. all examples are hard coded.

 

thanks

 

jeff

Jeff
Top achievements
Rank 1
 asked on 24 Oct 2017
0 answers
62 views

You want to plot a graph that shows the level of calories lost to heart-beats but you only start losing calories once your heart-beat is at a certain point.

I'm struggling to find a way to allow my first marker to have a vertical line straight up from zero as seen in the excel graph.

To be honest I've given up but...you never know with the community...maybe there is a solution!

 

 

Missing User
 asked on 24 Oct 2017
4 answers
327 views
Repeater InterestsRepeater = e.Item.FindControl("rptInterests"as Repeater; 
if (InterestsRepeater != null
    InterestsRepeater.DataSource = Bazaar.Web.Model.Business.Interest.GetByMemberId(Convert.ToInt32(RadGridMembers.Columns.FindByUniqueName("Id"))); 
    InterestsRepeater.DataBind(); 

<telerik:GridTemplateColumn DataField="interests" UniqueName="interests" HeaderText="Intressen"
   <ItemTemplate> 
      <%#DataBinder.Eval(Container.DataItem, "interests")%> 
      <asp:Repeater ID="rptInterests" runat="server"
            <ItemTemplate><%#DataBinder.Eval(Container.DataItem, "Name")%></ItemTemplate
      </asp:Repeater> 
   </ItemTemplate> 
</telerik:GridTemplateColumn> 

The InterestsRepeater is allways null in the method ItemDataBound, I've tried to find de repeater with a Recursive method but with no luck, Is there somehing I've missed! I've tried to solve this for quite a time now so im out of ideas is there someone that can't see what im doing wrong or what Im missing to do?

Tanks for all replies!


<telerik:GridTemplateColumn DataField="interests" UniqueName="interests" HeaderText="Intressen"
   <ItemTemplate> 
      <%#DataBinder.Eval(Container.DataItem, "interests")%> 
      <asp:Repeater ID="rptInterests" runat="server"
            <ItemTemplate><%#DataBinder.Eval(Container.DataItem, "Name")%></ItemTemplate
      </asp:Repeater> 
   </ItemTemplate> 
</telerik:GridTemplateColumn> 

oeub
Top achievements
Rank 1
 answered on 24 Oct 2017
5 answers
558 views

We have a multiple radgrid on one page. The problem is on the succeeding radgrid when filter button is clicked the context menu is out of position and display way on top of the page. I've attached a screenshot. Would anyone have an idea why is this happening?

Thanks,

Francis

Michele
Top achievements
Rank 2
 answered on 24 Oct 2017
1 answer
235 views

Hi,

 

Is there a way to hide the add new sheet button in asp.net ajax spreadsheet control?

 

In WPF, there is a way to hide the new sheet button using the RadSpreadsheetSheetSelector class, however I am not able to find any thing in the asp.net ajax?

Vessy
Telerik team
 answered on 24 Oct 2017
7 answers
502 views

I want that once user mouse over the legend item, the related series item will highlighted and show the same tooltips as they are hovered. I'm using the version 2016 Q1, but there is no OnLegendItemHover event, how?

And how to make the databind template for Legend?

Thanks
Slava
Top achievements
Rank 1
 answered on 24 Oct 2017
1 answer
58 views
We are using telerik filter enabled radgrid that has 8 (say) columns and we have to export the filtered records  to excel when required and the excel report should have additional columns 25(say) with relevant data. Is there a possibility to achieve this? The frequency of exporting to excel is comparatively very low and hence loading all 25 rows and making the columns invisible will have considerable performance hit. 
Eyup
Telerik team
 answered on 24 Oct 2017
9 answers
214 views
In http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/batch-editing/defaultcs.aspx
1. Click to add a new record
2. The "Delete" link will appear in the new row - it would be nice to have the same X icon
3. Click "Delete" link - it fires validation and the new row could not be deleted until you enter all required fields - bug.
Upender
Top achievements
Rank 1
 answered on 23 Oct 2017
4 answers
252 views

When using the pasting functionality via ctrl-v or right-click then clicking paste menu, on a RadEditor content area that has enough content to require it to scroll down in the actual edit, after the paste is done, the RadEditor is automatically scrolled up to the top of the content area of the RadEditor.  I am using the Telerik.Web.UI version 2013.1.220.40, Telerik RadControls for ASP.NET Ajax in Chrome, version Version 61.0.3163.100 (Official Build) (64-bit), as all our users are required to do so.  This was not always occurrring but seemed to start a couple of months ago, or less.  This issue, however, does not occur in IE or Firefox.

Below is a video showing a replication of the issue.  In the code it seems that none of the copied text is going into the radePasteHelper and then the following code in Telerik.Web.UI.WebResource.axd is ending putting the focus in the wrong area:

m.innerHTML = "&nbsp;";
                            e = this.getSelection();
                            l = this.get_document().createRange();
                            l.setStart(m.firstChild, 0);
                            l.setEnd(m.firstChild, 1);
                            e.selectRange(l);

I understand this is a legacy version of the Telerik control, but need to get this fixed ASAP while we work on the possibility of implementing a newer version.

https://youtu.be/yBsHoJ6zxA0

 

Bradley
Top achievements
Rank 1
 answered on 23 Oct 2017
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?