Telerik Forums
UI for ASP.NET AJAX Forum
11 answers
333 views
I have setup a NestedViewTemplate in my RadGrid. The template contains an ASP.NET DetailsView control that is populated upon expanding a row. I also have set up exporting to Excel and PDF through two external buttons. Here are my exporting settings:

<ExportSettings FileName="PDFExport" IgnorePaging="true" OpenInNewWindow="true" ExportOnlyData="true"> 
        <Excel Format="ExcelML" /> 
        <Pdf PageTitle="Lookup Results" Subject="Lookup Results" /> 
</ExportSettings> 

Exporting through Excel works perfectly. However, when I export to PDF, the first column always shows. I have it setup so that upon exporting to PDF, to fix certain columns to the right width, and if the column's unique name is "ExpandColumn" or "RowIndicator", set width to 0 pixels, and make it invisible and not displayable.

Is there anything else I need to do to make the first expand column not display?
Pavlina
Telerik team
 answered on 30 Jul 2009
1 answer
107 views
Hi,
I hit on issue with deleting <object> tags in FF.
When I insert some video or flash using Manager I get html code like that:

<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" type="application/x-oleobject" width="150" height="150"><param name="FileName" value="some_source"><embed src="some_source" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer" width="150" height="150"></object><br>

which is OK.
Problem occurs when I try to delete this object in FF in Design mode of RadEditor. It does not matter weather I try to delete the object by selecting it and hitting DEL or backspace. The result is that flash object disappears from design view but in HTML source is still some code left:

<object classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" type="application/x-oleobject" width="150" height="150"><param name="FileName" value="some_source"></object><br>

RadEditor only erases <embed> tag but lefts <object> in HTML code. When I open page with html code like this in it in IE I can still see the empty window of the mediaplayer.

Is there any way to easy fix this problem?

Best regards,
Jakub Sterba
Cyber Stream Technology
Rumen
Telerik team
 answered on 30 Jul 2009
4 answers
238 views
I am trying to access certain attributes of an appointment from the client side "onAppointmentEditing" event.  I'm using eventArgs.get_appointment().get_attributes().getAttribute("Type") and it is returning "undefined".  I saw a similar post here:


I'm confused about why the attribute name "Type" wouldn't work.  While debugging my javascript method, I was able to see that the get_attributes() method only has 10 items in it when I actually have 15 custom attributes on my scheduler.  The following custom attributes were missing from the get_attributes()._keys list:

  • "Calendar"
  • "EventTypeID"
  • "Description"
  • "Location"
  • "Type"

All of these are listed in the "CustomAttributeNames" field of my scheduler control.  Are these reserved words in the scheduler control?  Why can't I access them from the client side?

Thank you,
Laura
Peter
Telerik team
 answered on 30 Jul 2009
2 answers
201 views
Hello

I would like to add some validators to the edit form that is generated automatically by the rad grid when you go into edit mode.

I have seen this help topic on the subject.
http://www.telerik.com/help/aspnet-ajax/grdvalidation.html

I do not want to add the validators programmatically. I would prefer to add them manually. I believe i can add them manually to the edit item template of a grid template column. However all of the columns in my grid are simple bound columns. Does this mean i have to convert all of my bound columns into template columns in order to add the validators? This is quite a lot of work. I was hoping it would be easier than this

thanks
andieje
Top achievements
Rank 1
 answered on 30 Jul 2009
3 answers
186 views
Hi,

   We are encountering a problem in using RadEditor. We deployed RadEditor for MOSS v. 4.5.2 and activated the feature for our blog sites. Unfortunately, on first load of the page that has the RadEditor, we are unable to do anything to it (e.g. type words on the editor, click any button, etc.). Although, after clicking on the HTML tab and going back to Design, we can already type on the editor. May I ask what the problem might be? So far, we can't find any work-around for this. Also, we thought a newer version might not have this problem but I am not sure where we can download it from. Your help would be very much appreciated. Thanks!

By the way, this issue is only happening in Firefox. The control works fine in IE.

Cheers,
Arthur
Stanimir
Telerik team
 answered on 30 Jul 2009
3 answers
130 views
In my scenario I want to add javascript to anchor tag. I have done following steps by reading other threads but still can make it work.
  1. Added AllowScripts property in ConfigFile.xml located at C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.4.1.0__1f131a624888eeed\RadControls\Editor
  2. Then add AllowSpecialTags="true" e.g. <radE:RadHtmlField runat="server" FieldName="RelatedLinks" AllowSpecialTags="true"></radE:RadHtmlField>
  3. After that when I add id to my anchor tag and add the javascript editor is not stipping out the javascript, but it looks as javascript is no executed after page is loaded. Instead it shows some thing like this just after anchor tag 

<PRE id="RadEditorEncodedTag" style="DISPLAY:none"> NjcmlwdD5kb2N1bWVudC5nZXRFbGVtZW50QnlJZCgndGVzdDEnKS5vbmNsaWNrPWZ1bmN0aW9uKCl7YWxlcnQoIjEiKX08L3NjcmlwdD4=

</PRE>

I have also added javascript code below in MOSSEditorTool.js located at C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\4.4.1.0__1f131a624888eeed\RadControls\Editor\Scripts\7_2_1

Telerik.Web.UI.Editor.EncodeScriptsFilter.prototype.getHtmlContent = function(content)  

{  

        return content;  

};  

 

Telerik.Web.UI.Editor.EncodeScriptsFilter.prototype.getDesignContent = function(content)  

{  

        return content;  

};


Kindly can you identify the problem or is there any version issue as I am using 4.4.1.0
Stanimir
Telerik team
 answered on 30 Jul 2009
1 answer
137 views
We've upgraded recently to the most recent Q2 version of the controls.
There appears to be a bug. It deals with the Rad Dock.
Here is what happens, unlike before in the Q1 version

dock.set_closed(

false);

 

and

dock.set_closed(true)

;
are now handled by Dock's OnClientCommand handler.
This is fine, but in that handler I have no idea if I am closing the doc or opening, because the boolean parameter is not available, which causes a problem since we have the following:

 

if

 

(cmd.get_name() == "Close" )
{
    do some work...
}
I never had this issue before because OnClientCommand was only hit when the user pressed the X button on the Dock.
Please help, as we

 

Pero
Telerik team
 answered on 30 Jul 2009
1 answer
127 views
I need to bind a RadGrid to an object (called "Article").  

Most of the fields of this object are strings or ints and so are straightforward to display/sort/filter, but one of the fields is a collection of other objects (simple objects that just contain a name and a couple of other strings and ints).

What I need to do is:

a) Display the contents of the collection one of the columns of the grid.  If there is only one object in the collection I need to display it's name.  If there are multiple objects then I need to display the name of the first object and just append it with "(and n more)"

b) I need to be able to Filter on that column based on the names of the objects in the collection.  Ideally I would like a RadComboBox in the header that contains all of the names that exist in any of the collections.  When one is selected, only those rows who have that name in their collection should be displayed.

Have been trying to get this working for hours now.  Any help would be much appreciated!!

Johnnie
Yavor
Telerik team
 answered on 30 Jul 2009
0 answers
108 views
Hi,

Select a item in the Combobox.After the postback.Clear the combobox.
Select the same item, no event will be fired.

Ex: Combobox contains a,b,c,d items.
User will select 'a' then postback event will be fired. I am clearing the combobox item for the next item selection.
Again user will select the same item i.e 'a' then no event will be fired.

Regards,
Medac
Medac
Top achievements
Rank 1
 asked on 30 Jul 2009
1 answer
62 views
In our implementation when the replace process completed this notification is showing  ‘The search string was not found’ i think it should be ‘Search completed’ or ‘Search has finished’.
Rumen
Telerik team
 answered on 30 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?