Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
265 views
I tried to use the export to PDF for the Telerik RadGrid but it doesn't work.
I think that this is a problem for me since all of my pages are inside Master page that already has script manager, so I can't add another one in my content page.
What can I do to solve it?

right now, I have this:

masterpage:
<asp:ScriptManager id="scriptmanager1" runat="server"/>

contentpage:
<asp:content id="content1" contentplaceholder="contentplaceholder1" runat="server">
<asp:updatepanel id="up1" runat="sever"
<telerik:RadGrid id="radgrid1"...>
<exportSetting ignorePaging="true" openInNewWindow="true">
<pdf pageheight="297mm" pagewidth="210mm" 
</exportSetting>
<masterTableView commanditemdisplay="top">
<command itemtemplate>
<asp:imagebutton id="downloadpdf" runat="server" commandname="exporttopdf" imageurl="pdf.jpg" backcolor="white">
</command itemtemplate>
  
......
  
</asp:updatepanel>
</asp:content>
DANA
Top achievements
Rank 1
Veteran
 answered on 20 May 2012
1 answer
81 views
When using the Apply Class tool to allow the user to select a css class to format text - there is a "Clear Class" item that is automatically added to the list of classes/styles the user can select. 

How can I change the text of that first item? I would like it to say Clear Style or Clear Formattig instead. Is there a property somewhere I can set?
Rumen
Telerik team
 answered on 19 May 2012
1 answer
110 views
I need RadEditor to upload and embed YouTube videos.  This is working in several browsers, but not in IE8.  Is there any reason you can think of that it wouldn't or anything that needs to be configured in Explorer?  Here is some sample code. 

<object width="210" height="150">
     <param name="movie" value="http://www.youtube.com/v/o2GBYBTty0M">
     </param>");
     <param name="wmode" value="transparent">
     </param>");
     <embed src="{UrlVideo}"");
        type="application/x-shockwave-flash" wmode="transparent"
      width="210" height="150">
      </embed>
      </object>

Thanks in advance for your help.
Rumen
Telerik team
 answered on 19 May 2012
5 answers
88 views
While testing I came across this issue where if a block of text has multiple styles/classes already applied to it and you try to reset them all to one common style - it doesn't work. I can recreate this issue in your demo: http://demos.telerik.com/aspnet-ajax/editor/examples/cssfiles/defaultcs.aspx 


 In the attached image you can see the situation I created with the following steps:  It is what Microsoft chose to use  

  1. apply* Blue to "It is what Microsoft chose to use"
  2. apply Red to "Microsoft"
  3. apply Green to "chose"

Then this is where I have my problem. I have decided I want all the text to just be Blue again so I:
  1. select all the text "It is what Microsoft chose to use" 
  2. try to apply Blue
  3. no change!

or also does nothing if I select only "Microsoft chose" and try to apply Blue style to remove both the red and green at the same time.

It will work if I select text that has only 1 style involved such as only the word chose or only the word Microsoft - but it doesn't work if more then one style is involved.

*apply using the Apply CSS Class dropdown list


Rumen
Telerik team
 answered on 19 May 2012
3 answers
88 views
I am trying to apply formatting in editor's selected multiline  text , I select some multiline text and select bold then click on the bullets icon from the tool bar  it shows only one bullet for all lines.
2) another issue I face is when select the font size for selected text it changes the font size but in the dropdown of font in toolbar some other value(first value)  displayed selected 
3) I am able to reproduce the issue on your demo site with IE browser.
Rumen
Telerik team
 answered on 19 May 2012
3 answers
87 views
I just upgraded the editor on our site from 4.x to 5.8.x. because the original one just began blanking out today all of a sudden.  I got the binding redirects into the web.config so the site's not erroring out now; however, when I go to the list form where I'm supposed to be using it, the editor is still blank.  This can be explained by the javascript errors I'm getting, which I'll list below:

Sys is undefined (
On the form page at this line: Sys.WebForms.PageRequestManager._initialize('ctl00$SPWebPartManager1$g_2a0d2d04_10f6_44c4_a6a8_cd5734c12b7f$ff2_1$ctl00$ctl00$TelerikScriptManager', document.getElementById('aspnetForm'));

 

)

Type is undefined (MOSSEditorTools.js Line 25, Character 1)

Sys is undefined (
On the form page at this line:
WebForm_AutoFocus('ctl00_SPWebPartManager1_g_2a0d2d04_10f6_44c4_a6a8_cd5734c12b7f_ff1_1_ctl00_ctl00_TextField');Sys.Application.initialize();
)

I think I've seen somewhat similar threads to this, but I couldn't quite make the connection.  Any relevant advice would be MUCH appreciated.

~David

 

Rumen
Telerik team
 answered on 19 May 2012
5 answers
257 views
The tutorial RadControlsAJAXCourseware.pdf calls for Courseware Projects Folder and image files, such as CopyHS.png, CutHS.png, PasteHS.png, EditInformationHS.png, PrintHS.png and PrintPreviewHS.png, etc.  I downloaded the .zip file that also contains the .pdf.  I cannot find any of these files.  The project is simply the same demos you see online.  Where is the Courseware Projects file located?
Ann
Top achievements
Rank 1
 answered on 18 May 2012
1 answer
104 views
Is it possible to call the SelectedIndexChange of a RadGrid without actually clicking the row?

I can use Javascript within a HyperLink of that row to pass the "current selected row" if that helps.

It's a unique request, so having issues finding a good clean way of doing it.




Richard
Top achievements
Rank 1
 answered on 18 May 2012
2 answers
142 views

I am using asp:UpdateProgress control to show progress during a button click. I am using telerik controls to ajaxify the submit button. The code sample is below:

<telerik:RadAjaxPanel ID="RadAjaxPanel4" runat="server"> 
<div class="customButton">
<asp:LinkButton ID="lbtnSave"
OnClientClick="return Page_ClientValidate();"
runat="server" OnClick="lbtnSave_Click"
CausesValidation="true">
<img src="../admin/images/icons/16x16/save.png" />
Save
</asp:LinkButton>
<div class="customButton">
</telerik:RadAjaxPanel>

My issue:

When I surround the button with the telerik:RadAjaxPanel, I have to click on the button twice. If I remove the panel, the button submits in one click. Is this happening because of the OnClientClick or one of the other LinkButton attributes or because of the surrounding telerik:RadAjaxPanel? Please help.

EDIT 04 27 12 :: 03:08PM
I tried changing the LinkButton to Button - but still the same problem.
Removing the OnClientClick attribute did not help either.

Np
Top achievements
Rank 1
 answered on 18 May 2012
1 answer
77 views
Looking for a way to fire off the SelectedIndexChange when a GridHyperLink is clicked.  Currently when the row is selected the SelectedIndexChange fires off and works great.  We want the same behavior when that user clicks the HyperLink within
that same row (but not clicking the SelectedIndexChange area which currently works).

Is there a way to incorporate that?   Is there a hack to get it to work?

Thanks in advance.




Richard
Top achievements
Rank 1
 answered on 18 May 2012
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?