Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
189 views
Hi,

I have a radgrid that is similar to this example:

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/selectrowwithcheckbox/defaultcs.aspx

The selected customers(rows) works fine on postback. However, once you select the pager and the page changes you lose your selected items on the previous page. Is there a way to keep in memory the selected items or would i have to persist the information from the viewstate? The example itself has the same problem.


Daniel
Telerik team
 answered on 18 Feb 2010
1 answer
138 views
Hi i want upload to physical paths and i cant create virtual folders because are hundreds of folders,  how can i upload to a physical path outside of my root folder?

how can i set a progress bar for the upload process?
thanks

Fiko
Telerik team
 answered on 18 Feb 2010
20 answers
760 views
I am getting this: Sys.WebForms.PageRequestManagerParserErrorException error pops saying "Error parsing near Begin:VCALENDAR " or something similar... The Export Button above the Scheduler doesn't throw this error, only when clicking on the Export buttons inside the calendar. However when I try to import the .ICS file that is generated from the 'above the scheduler export button', Outlook barks and throws this error:
Microsoft Office Outlook cannot import vCalendar file. This error can appear if you have attempted to save a recurring Lunar appointment in iCalendar format. To avoid this error, set the appointment option to Gregorian instead of Lunar.
Can anyone help me get this Export to ICS working? it works on Teleriks site - what am I doing wrong I'm going nuts and will be a big hero once this works right! lol
George Belardo
Top achievements
Rank 1
 answered on 18 Feb 2010
1 answer
147 views
Due to the very limited silverlight editor, I've placed a silverlight html placeholder in my silverlight app that launches an aspx page that then contains the aspnet ajax radeditor. But I can't even get that to work. The webfront end is aspnet mvc, the web admin part is silverlight. I tried both an aspnet mvc page and a direct to aspx page to host the editor. I keep getting

"The ScriptManager must appear before any controls that need it"

But I do have a ScriptManager there on the page right after the form tag. I even tried dynamically creating a ScriptManager and adding it to the controls collection at index 0 and it then throws an exception that I can only have one ScriptManager.

Why can't radeditor find it?

aspx snippet:

<form id="EditorForm" runat="server" style="width:100%;height:100%">
            <asp:ScriptManager id="ScriptManager" runat="server" />
            <telerik:RadEditor  ID="RadEditor" runat="server" SkinID="DefaultSetOfTools" Width="100%" Height="100%">



Valentin.Stoychev
Telerik team
 answered on 18 Feb 2010
1 answer
69 views
In IE 8 we experience problems with the image and document manager. We cannot browse or upload files. All other browser (including IE7) are working correctly.

We tried the meta tag <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> to solve this problem without success. Can anyone please help me solve this problem?

Below the exception:

"Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; chromeframe; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 1.1.4322; InfoPath.2; .NET CLR 3.5.30729; Tablet PC 2.0; .NET CLR 3.0.30729)
Timestamp: Wed, 17 Feb 2010 18:13:23 UTC

Message: Object doesn't support this property or method
Line: 43
Char: 1
Code: 0
URI: http://x.com/ScriptResource.axd?d=k9_WcGeHnBzIX0SwJ1hHBkr5kBcXu863kKpMKR2-7b9E4kK3qqxTmvryxYcecwo3htOAiEOzEqofbQTfzjoQRurXEpyUUF748iMgT7CMDI01&t=68acbf58

Message: Sys.ArgumentException:  does not derive from Sys.Component.
Parameter name: type
Line: 2707
Char: 9
Code: 0
URI: http://staging1.trailwalker.nl/ScriptResource.axd?d=UHI6jOZ9M5K2_V57IRIoQQN5QJ3SjEzNLJ2PxmzwQ1MI5Jdxis1GmeV7KFBO1yeGT8ayQEmntajDT9A3liF0UXiH32KdR-0PWCW_OIGMcAk1&t=ffffffffec2d9970"



Rumen
Telerik team
 answered on 18 Feb 2010
3 answers
121 views
Hi,

I am using OnClientPasteHtml event of RadEditor, it is fired in IE & Mozilla workinng fine. But the same event is not working on Safari.
Can someone please tell me any work around for this?? My code is like below.

 

<telerik:RadEditor ID="RadEditor1" runat="server" ToolsFile="~/Tools/ToolsFile.xml" SkinId="Vista" OnClientLoad="OnClientLoad" OnClientPasteHtml="PasteHeadings" Width="700px" Height="100%">
</telerik:RadEditor>

 

 

 

 


javascript function:
 

function 

 

PasteHeadings(editor,args)

 

 

{

 

    if(document.getElementById("pnlOutline").style.display == "block")

 

    {

 

        var strContent= args.value;  

 

 

        if((strContent.search(/<H1/i) != -1))

         {
            fnOutline(

false);

 

         }

    }

 

}

 

 


Regards
Chinnayya
Rumen
Telerik team
 answered on 18 Feb 2010
2 answers
285 views
I have a grid, which has the following GridButtonColumn defined:

                <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" ConfirmText="Delete this selector?" 
                    Text="Delete" UniqueName="DeleteColumn"> 
                    <ItemStyle CssClass="EditImageButton" HorizontalAlign="Center" /> 
                </telerik:GridButtonColumn> 
>

On some rows that are shown in the grid I would like to hide the DeleteButton (i.e. these are rows that can't be deleted by the user)  -- how do I conditionally hide the delete button?

Thankyou.
Brian
Top achievements
Rank 1
 answered on 18 Feb 2010
3 answers
156 views
Hi!

I am trying out DockingZone with the toolbars which is a great feature but I get some weired graphics.

Edit: The toolbar is re-added at every postback. Which means I get many identical toolbars in the dockingzone.

Screendump is attached. My DockingZone div 

<div id="divToolbarDockingZone"></div>

Another question. Is it possible to move the location of the edit mode buttons? Is it possible to change the appearece of the buttons? I want them appear in the toolbar. I have achieved this by adding custom buttons (as you can see in the screendump) but when the editors mode is 2 or 4 the toolbar is disabled which makes it hard to switch back to the designer mode =). Any work around?

ToolsFile
<root>
<tools DockingZone="divToolbarDockingZone">
<tool name="BizWizardRadEditorDesign"/>
<tool name="BizWizardRadEditorHTML" />
<tool name="BizWizardRadEditorPreview"/>
<tool name="FindAndReplace"/>
<tool name="Print"/>
<tool name="AjaxSpellCheck"/>
<tool separator="true"/>
<tool name="Cut"/>
<tool name="Copy"/>
<tool name="Paste"/>
<tool name="PastePlainText"/>
<tool separator="true"/>
<tool name="Undo"/>
<tool name="Redo"/>
<tool separator="true"/>
<tool name="JustifyLeft"/>
<tool name="JustifyCenter"/>
<tool name="JustifyRight"/>
<tool name="JustifyFull"/>
<tool separator="true"/>
<tool name="Indent" />
<tool name="Outdent" />
<tool name="InsertOrderedList" />
<tool name="InsertUnorderedList" />
<tool separator="true"/>
<tool name="InsertHorizontalRule" />
<tool name="InsertSymbol" />
<tool name="InsertDate" />
<tool name="InsertTime" />
</tools>
<tools DockingZone="divToolbarDockingZone">
<tool name="ApplyClass"/>
<tool name="Bold"/>
<tool name="Italic"/>
<tool name="Underline"/>
<tool separator="true"/>
<tool name="FontName"/>
<tool name="FontSize"/>
<tool name="ForeColor"/>
<tool name="BackColor"/>
<tool name="StrikeThrough" />
<tool name="Superscript" />
<tool name="Subscript" />
<tool separator="true"/>
<tool name="InsertTable" />
<tool separator="true"/>
</tools>
<tools DockingZone="divToolbarDockingZone">
<tool separator="true"/>
<tool name="BizWizardLinkManager" />
<tool name="Unlink" shortcut="CTRL+SHIFT+K"/>
<tool name="BizWizardImageManager" />
<tool name="BizWizardFlashManager" />
<tool name="BizWizardTagManager"/>
<tool separator="true"/>
<tool name="BizWizardModule_Article"/>
<tool name="BizWizardModule_Form" />
<tool name="BizWizardShareManager" />
<tool name="BizWizardYouTubeManager" />
</tools>
<links>
<link name="telerik" href="http://www.telerik.com">
<link name="Products" href="http://www.telerik.com/products" />
<link name="Purchase" href="http://www.telerik.com/purchase" />
<link name="Support" href="http://www.telerik.com/support" />
<link name="Client.Net" href="http://www.telerik.com/clientnet" />
</link>
<link name="Microsoft">
<link name="Main Site" href="http://www.microsoft.com" />
<link name="MSDN Online" href="http://msdn.microsoft.com" />
<link name="Windows Update" href="http://windowsupdate.microsoft.com" />
</link>
<link name="Search Engines">
<link name="Google" href="http://www.google.com" />
<link name="Yahoo" href="http://www.yahoo.com" />
<link name="AltaVista" href="http://www.altavista.com" />
</link>
</links>
</root>
Rumen
Telerik team
 answered on 18 Feb 2010
6 answers
406 views
Hi,

Whenever I put a RadAjaxLoadingPanel on my form and set it to be used by either a RadAjaxPanel or RadAjaxManager, it causes the controls within the panel or or those managed by the manager to disappear during AJAX postbacks (they reappear when it is complete).

I've tried playing with the transparency, size, positioning, etc. Nothing makes any difference.

What am I doing wrong? This can't be the intended behavior.

-Al
Kevin Babcock
Top achievements
Rank 1
 answered on 18 Feb 2010
3 answers
94 views
Hi Guys,

 I am having a problem where I have a grid that has client selection enabled. What happens in this grid is that when I select an item or record in the grid, the client selection gets lost on post-back.I have set the EnablePostBackOnRowClick property to true. If I turn this property to false, the selection is possible, but then there is o postback.

What could be causing this?

regards

Malibongwe
Pavlina
Telerik team
 answered on 18 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?