Stoyan Stratev's blog Stoyan Stratev's blog http://blogs.telerik.com/StoyanStratev/Posts.aspx http://backend.userland.com/rss Improvements in the visual appearance of RadSlider for ASP.NET AJAX <p>The RadSlider is getting a subtle, but still important update for its visual appearance in the Q1 2010 release of <a title="product overview" href="http://www.telerik.com/products/aspnet-ajax.aspx">RadControls for ASP.NET AJAX</a>. We made the appearance of all skins be consistent so you can have more choice when it comes to picking the right one for your application. </p> <p>Here is the comparison between the old an new look: </p> <p><img style="border-width: 0px; border-style: solid;" src="http://blogs.telerik.com/Libraries/Stoyan_Stratev/Slider2010_Q1.sflb" alt="slider skins" /><br /> <em></em></p> <p><em></em></p> <p>The first difference is that we have added a border at both ends of the slider track. The border is not part of the track itself. The second difference is that all slider arrows now have a background and look like buttons.Finally, the drag handle orientation on some skins has been changed. The slider will now actually point the drag handle depending on where you put the track (<a title="RadSlider API " href="http://www.telerik.com/help/aspnet-ajax/telerik.web.ui-telerik.web.ui.radslider-trackposition.html">TrackPosition</a> property). </p> <p>We hope that these changes will improve the usability of the control and make it easier to integrate with other controls in your application. If you wish to upgrade to Q1 2010, but keep the old look, then you can simply set the slider properties EnableEmbeddedSkins and EnableEmbeddedBaseStyleSheet to <em><strong>false</strong></em> and load the Q3 2009 skin and base stylesheet <a title="ASP.NET AJAX Controls help" href="http://www.telerik.com/help/aspnet-ajax/skinregistration.html">manually on the page</a>. <a href="http://blogs.telerik.com/Libraries/Stoyan_Stratev/RadSliderQ12010_with_PreQ12010Skin.sflb">Click here</a> for a sample page that shows how to do this (using the old Default skin). </p> <p></p> http://blogs.telerik.com/stoyanstratev/posts/10-02-26/improvements_in_the_visual_appearance_of_radslider_for_asp_net_ajax.aspx Stoyan Stratev http://blogs.telerik.com/stoyanstratev/posts/10-02-26/improvements_in_the_visual_appearance_of_radslider_for_asp_net_ajax.aspx 9ae54379-4f2f-41d2-8dea-0772460a6de1 Fri, 26 Feb 2010 08:03:35 GMT RadEditor dialogs - what's new in the Q1 2010 release <p>As usual, the next major update of the RadControls for ASP.NET AJAX will be packed with exciting new features. Unfortunately, this means that some performance related optimizations will be left in the background, which is why I want to present one of them here.</p> <p>The Q1 2010 release will add a new property for the RadEditor's RadDialogOpener control - <em>EnableTelerikManagers</em>. When it set to true and you have a <a href="http://www.telerik.com/help/aspnet-ajax/radscriptmanager.html">RadScriptManager</a>&nbsp;or a <a href="http://www.telerik.com/help/aspnet-ajax/radstylesheetmanager.html">RadStyleSheetManager</a> on the page, the editor dialogs will start using these controls as well. The main benefit from the script and stylesheet managers is faster loading speed - due to less browser requests, smaller HTML output or the <a href="http://blogs.telerik.com/blogs/posts/09-12-08/cdn_support_ndash_radcontrols_for_asp_net_ajax.aspx">CDN support</a>, if you have enabled it. </p> <p>The best part is that this all happens automatically - the editor turns on <em>EnableTelerikManagers</em> whenever it detects a RadScriptManager on the page and since the dialogs are re-using the manager controls from the main editor page, you will not have to setup any additional settings (e.g. if you are using a custom HTTP handler path).</p> <p>Not all dialogs benefit the same, but with the file manager ones you can expect about 17% smaller markup size due to script and stylesheet combining. </p> http://blogs.telerik.com/stoyanstratev/posts/10-01-14/radeditor_dialogs_-_what_s_new_in_the_q1_2010_release.aspx Stoyan Stratev http://blogs.telerik.com/stoyanstratev/posts/10-01-14/radeditor_dialogs_-_what_s_new_in_the_q1_2010_release.aspx 3a442fb4-79f3-4808-98a6-ea97a182ddae Thu, 14 Jan 2010 08:22:46 GMT Accessible RadEditor used by the Royal National Institute of Blind People <p>I am posting this on behalf of the editor team here at Telerik. </p> <p>It has been a really great experience to work with the folks at the <a href="http://www.rnib.org.uk/">Royal National Institute of the Blind People (RNIB)</a> and <a href="http://www.contentandcode.com/">Content and Code</a>. The folks at RNIB helped us a lot to improve the accessible feature set of <a href="http://www.telerik.com/products/aspnet-ajax/editor.aspx">RadEditor for ASP.NET AJAX</a> and we are very happy with the results. We are proud to be the chosen component vendor for an accessible HTML editor.</p> <p>The required changes to the editor client code were not difficult and added the needed features for blind and partially sighted people. Some of the differences from the default editor are:</p> <ul> <li>adding shortcuts for the basic editor functions (activate content area, activate toolbar, use Alt-F4 to close editor dialogs, etc.)</li> <li>changes to editor tools (e.g. insert table) to make them accessible</li> <li>using standard browser windows to help screen readers (e.g. JAWS).</li> <li>changing some of the editor dialogs (e.g. image manager) to be easily readable and require only keyboard for navigation.</li> </ul> <p></p> For more information, check out the resources bellow:<br /> <p></p> <p></p> <p>See <a href="http://www.youtube.com/watch?v=1eCRTumDMS8">video</a></p> <p></p> <p>See <a href="http://demos.telerik.com/aspnet-ajax/editor/examples/accessibleeditor/defaultcs.aspx">demo with RadEditor</a></p> http://blogs.telerik.com/stoyanstratev/posts/09-12-11/accessible_radeditor_used_by_the_royal_national_institute_of_blind_people.aspx Stoyan Stratev http://blogs.telerik.com/stoyanstratev/posts/09-12-11/accessible_radeditor_used_by_the_royal_national_institute_of_blind_people.aspx 2f70745a-045c-4123-a107-c30e656d4aca Fri, 11 Dec 2009 09:08:27 GMT Coming up in Q3 2009 SP1 - RadEditor thumbnail support <p>One of the cool new features, that will make its way in the Q3 2009 RadControls for ASP.NET AJAX service pack release, is the additional thumbnail option in the Image Manager dialog. When you select an image, that ends with a specific suffix (e.g. "_thumb"), and there is an image with the same name but without the suffix in the current folder, the image dialog will offer the ability to automatically create a link to the original and open it in a new browser window. Here is how this will look like:</p> <p>&nbsp;</p> <p></p> <p>&nbsp;<img alt="Image Manager Thumbnails" src="http://blogs.telerik.com/Libraries/Stoyan_Stratev/image_manager_thumbnails.sflb" /></p> <p>&nbsp;</p> <p>We hope that this will provide a much quicker way to do a task that will otherwise require either opening a new Link manager dialog or manually modifying the HTML content. Even though the new features are visible only if you click on an image with a specific suffix, there is a way to turn them off completely via the editor server API:</p> <p>&nbsp;</p> <p></p> <p> </p> <div class="reCodeBlock" style="border: 1px solid #7f9db9; overflow-y: auto;"> <div style="background-color: #ffffff;"><span><span style="margin-left: 0px ! important;"><code style="color: #000000;">&lt;</code><code style="color: #006699; font-weight: bold;">telerik:RadEditor</code> <code style="color: #808080;">ID</code><code style="color: #000000;">=</code><code style="color: blue;">"RadEditor1"</code> <code style="color: #808080;">runat</code><code style="color: #000000;">=</code><code style="color: blue;">"server"</code><code style="color: #000000;">&gt;</code></span></span></div> <div style="background-color: #f8f8f8;"><span><code>&nbsp;&nbsp;&nbsp;&nbsp;</code><span style="margin-left: 12px ! important;"><code style="color: #000000;">&lt;</code><code style="color: #006699; font-weight: bold;">ImageManager</code> <code style="color: #808080;">EnableThumbnailLinking</code><code style="color: #000000;">=</code><code style="color: blue;">"false"</code>&nbsp; <code style="color: #808080;">ViewPaths</code><code style="color: #000000;">=</code><code style="color: blue;">"~/"</code> <code style="color: #000000;">/&gt;</code></span></span></div> <div style="background-color: #ffffff;"><span><span style="margin-left: 0px ! important;"><code style="color: #000000;">&lt;/</code><code style="color: #006699; font-weight: bold;">telerik:RadEditor</code><code style="color: #000000;">&gt;</code></span></span></div> </div> <p></p> <p>&nbsp;</p> <p>Setting EnableThumbnailLinking to false in the Image Manager properties will disable the two new checkboxes altogether.</p> <p></p> http://blogs.telerik.com/stoyanstratev/posts/09-11-26/coming_up_in_q3_2009_sp1_-_radeditor_thumbnail_support.aspx Stoyan Stratev http://blogs.telerik.com/stoyanstratev/posts/09-11-26/coming_up_in_q3_2009_sp1_-_radeditor_thumbnail_support.aspx 4ec2c8e4-43fd-4b29-a1ae-37a96203ef84 Thu, 26 Nov 2009 08:44:25 GMT Introduction to RadRating <p>One of the new controls we added to the Q3 2009 RadControls for ASP.NET AJAX suite is <a title="Rad Rating for ASP.NET AJAX" href="http://www.telerik.com/products/aspnet-ajax/rating.aspx">RadRating</a>. Even though this is the first release of the rating control, we made sure that it is packed full of excellent features and it has the same quality you have come to expect from the Telerik ASP.NET suite - cool skins, wide cross browser support, automated tests, and more.</p> <p><img alt="" src="http://blogs.telerik.com/Libraries/Stoyan_Stratev/RadRating.sflb" />&nbsp;</p> <p></p> <p>You can see all of the control's features on its overview page, but I will list some of the major ones here as well: whole item/half item/exact precision; four possible orientations; customizable number of items. Naturally, you can easily combine the new rating controls with other RadControls and quickly create powerful applications. The new <a title="RadRating default demo" href="http://demos.telerik.com/aspnet-ajax/rating/examples/default/defaultcs.aspx">online demos</a> for RadControls Q3 2009 feature a Rating and Feedback options on each example page. They were very easily implemented by combining the RadRating and RadToolTip controls with the power of RadXmlHttpPanel for easy communication with the server.</p> <p></p> <p>&nbsp;</p> <p>We hope that the new RadRating control will help our customers and be a valuable addition to the RadControls for ASP.NET AJAX!</p> <p></p> <p></p> http://blogs.telerik.com/stoyanstratev/posts/09-11-17/introduction_to_radrating.aspx Stoyan Stratev http://blogs.telerik.com/stoyanstratev/posts/09-11-17/introduction_to_radrating.aspx 70540b33-f28e-4a2c-ae82-d5ae9075bd30 Tue, 17 Nov 2009 07:53:24 GMT How to Use Google Spellcheck with RadSpell <p>Sometimes the default spellchecking algorithms in RadSpell are not providing the best possible suggestions for misspelled words. For example, the phonetic algorithm works best with English words, but is not very accurate with Russian. The edit distance algorithm is language independent, but will not recognize easy mistakes if the word spelling is not very similar to the original. Unfortunately, implementing your own custom algorithm for a specific language is not an easy task. </p> <p>The latest Q3 2009 release of the RadControls for ASP.NET AJAX features a new example for RadSpell, which shows how to use an existing service provided by Google to spellcheck - <a href="http://demos.telerik.com/aspnet-ajax/spell/examples/googlespell/defaultcs.aspx" title="RadSpell example">http://demos.telerik.com/aspnet-ajax/spell/examples/googlespell/defaultcs.aspx</a>. This example uses a feature of the control that allows using a custom provider (<code>SpellCheckProviderTypeName</code>). The provider needs to implement an existing interface (<code>ISpellCheckProvider</code>) and define simple methods like CheckWord, GetSuggestions, etc. </p> <p>The Google provider works on the server by making a secure service request to the spell check service, which in turn returns a list of misspelled words and suggestions for them. We then convert this to a format that RadSpell can work with and push it back to the client browser where the actual spell check dialog is displayed. The provider is fully functional with the exception of adding custom words to the dictionary. However, you can easily implement that as well using an example from our Knowledge base - <a href="http://www.telerik.com/support/kb/aspnet-ajax/spell/changing-the-custom-dictionary-files-location.aspx" title="custom dictionary files location provider">Changing the custom dictionary files location</a>.If you do not need to add custom words, then you can simply copy the Google provider code in your project without the need for any modifications.</p> http://blogs.telerik.com/stoyanstratev/posts/09-11-09/how_to_use_google_spellcheck_with_radspell.aspx Stoyan Stratev http://blogs.telerik.com/stoyanstratev/posts/09-11-09/how_to_use_google_spellcheck_with_radspell.aspx 84b43262-aa8c-4426-ad05-508361a82206 Mon, 09 Nov 2009 10:43:40 GMT New content providers for the RadEditor and RadFileExplorer controls <p>The default content provider, that ships with the editor and file explorer controls will only work with files in the current web application. Naturally, there are scenarios where you wish to show files that are not physically in the application folder. The provider model allows you to do just that - you can either customize the existing provider (FileSystemContentProvider) or write a completely new one (FileBrowserContentProvider).</p> <p>We recently went through the forums and noted what custom providers are most frequently used with the RadEditor and RadFileExplorer controls. After that we created sample providers for those scenarios and posted them as support resources so people don't have to write them from scratch. Here are the links to those resources:</p> <ul> <li><a href="http://www.telerik.com/support/kb/aspnet-ajax/fileexplorer/ftpcontentprovider.aspx" title="FTP Content Provider">FTP Content Provider</a></li> <li><a href="http://www.telerik.com/support/kb/aspnet-ajax/fileexplorer/physical-paths-and-different-content-types.aspx" title="Physical paths provider (for files outside the web application)">Physical paths provider (for files outside the web application)</a></li> <li><a href="http://www.telerik.com/community/code-library/aspnet-ajax/file-explorer/amazon-s3-filebrowsercontentprovider.aspx" title="Amazon S3 Provider">Amazon S3 Provider</a></li> <li><a href="http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/dbfilebrowsercontentprovider/defaultcs.aspx" title="SQL Database content provider">SQL Database content provider (part of our online demos)</a> </li> </ul> We hope that these will be useful and will save you some development time. For more information about the content provider model, see the following link - <a href="http://www.telerik.com/help/aspnet-ajax/radfileexplorer-custom-filebrowsercontentprovider.html" title="Using a custom FileBrowserContentProvider">Using a custom FileBrowserContentProvider</a> http://blogs.telerik.com/stoyanstratev/posts/09-10-30/new_content_providers_for_the_radeditor_and_radfileexplorer_controls.aspx Stoyan Stratev http://blogs.telerik.com/stoyanstratev/posts/09-10-30/new_content_providers_for_the_radeditor_and_radfileexplorer_controls.aspx 2d223c73-304f-4d30-aa15-d6238cac36fd Fri, 30 Oct 2009 10:07:46 GMT Using the RadFileExplorer for ASP.NET AJAX in a MOSS web application <p>The RadFileExplorer is a fairly new control in our ASP.NET AJAX suite and we are happy to see that a lot of people are already adopting it into their solutions. In this post I will show how to make the file explorer work with SharePoint libraries.</p> <p>By default, the control interfaces with a virtual folder in your web application and allows you to do all kinds of file/folder operations (create new folders, upload/move/delete items, preview, etc.). Unfortunately, the default behavior of the control is limited to virtual folders that can be mapped to physical locations on the server's drives. MOSS web applications use "libraries" to store documents/images and these libraries are only available from the SharePoint database - the files are not stored as physical files on the server, they go in the database instead.</p> <p>Using the RadFileExplorer in SharePoint web applications will require a new file browser content provider (the logic that connects the file explorer UI to the actual files/folders). Fortunately, we already have such a provider - the RadEditor control uses the RadFileExplorer in its dialogs and we have had a <a title="MOSS RadEditor version" href="http://www.telerik.com/products/aspnet-ajax/sharepoint.aspx">MOSS RadEditor version</a> for some time now. The Editor and FileExplorer controls share the same content provider model. Here are the three steps you need to make to integrate the explorer in a SharePoint web part:</p> <p>&nbsp;</p> <ol style="padding-left: 40px;"> <li>You need to make sure that you have enabled the ASP.NET AJAX Extensions in your MOSS web application - <a href="http://www.telerik.com/help/aspnet-ajax/moss-install-aspnet-ajax.html" title="enabling ASP.NET AJAX in MOSS">http://www.telerik.com/help/aspnet-ajax/moss-install-aspnet-ajax.html</a></li> <li>Next you need to deploy the Telerik.Web.UI assembly in the MOSS server's GAC. This way you can use the RadControls in your site collections - <a href="http://www.telerik.com/help/aspnet-ajax/moss-deploying-radcontrols.html" title="deploying RadControls in MOSS">http://www.telerik.com/help/aspnet-ajax/moss-deploying-radcontrols.html</a></li> <li>When you add the RadFileExplorer in your web part, you need to set the [RadFileExplorer].Configuration.ContentProviderTypeName property to the SPContentProvider class.</li> </ol> <p><img alt="" src="http://blogs.telerik.com/Libraries/MetaBlog/fileExplorer_webPart.sflb" /></p> <p>&nbsp;</p> <p> I am attaching a simple SharePoint web part project for Visual Studio 2005, which includes the SPContentProvider class. If you have already done steps 1 and 2 above, you can deploy this project and the FileExplorer web part will show you all libraries in the current site and allow you to interact with them (if you have the required permissions for the libraries of course). I used the 2009.1.527 release of RadControls for ASP.NET AJAX to build and test the web part.</p> <a href="http://blogs.telerik.com/Libraries/Stoyan_Stratev/FileExplorer_MOSS.sflb">FileExplorer_MOSS_WebPart</a>&nbsp; http://blogs.telerik.com/stoyanstratev/posts/09-06-17/using_the_radfileexplorer_for_asp_net_ajax_in_a_moss_web_application.aspx Stoyan Stratev http://blogs.telerik.com/stoyanstratev/posts/09-06-17/using_the_radfileexplorer_for_asp_net_ajax_in_a_moss_web_application.aspx b03d4f1f-27a0-4e27-a307-01ca8a3f0895 Wed, 17 Jun 2009 05:57:35 GMT Integrating RadEditor for ASP.NET AJAX with the WIRIS family of products We have received several requests to integrate a formula editor for RadEditor or allow editing of MathML. The wonderful guys at WIRIS(<a href="http://www.wiris.com/" title="WIRIS">http://www.wiris.com/</a>) have the right tools for this job so we decided to post an example of the WIRIS formula editor and CAS working as RadEditor dialogs. <p>&nbsp;</p> <p>A couple of words about the formula editor - it uses a Java applet so be sure to have the Java plugin installed in your browser. We used the basic ASPX demo that WIRIS offers as a base for our integration example. The demo can be seen here - <a href="http://www.wiris.eu/demo-aspx/pluginwiris/generic/" title="WIRIS ASPX Demo">http://www.wiris.eu/demo-aspx/pluginwiris/generic/</a>. There are two editors that we converted to dialogs - a formula editor and a CAS (Computer Algebra System). We made a number of changes to the basic demo. and converted it to a proper ASP.NET website using .NET 3.5 (it was originally using .NET 1.0). </p> <p>Here is a screenshot of the demo:</p> <p><img src="http://blogs.telerik.com/Libraries/MetaBlog/WIRIS_Demo.sflb" alt="Demo" /></p> <p>Here is the download link for the integration example: <a href="http://blogs.telerik.com/Libraries/Stoyan_Stratev/WIRIS_RadEditor.sflb">WIRIS_RadEditor</a></p> <br /> http://blogs.telerik.com/stoyanstratev/posts/09-04-30/integrating_radeditor_for_asp_net_ajax_with_the_wiris_family_of_products.aspx Stoyan Stratev http://blogs.telerik.com/stoyanstratev/posts/09-04-30/integrating_radeditor_for_asp_net_ajax_with_the_wiris_family_of_products.aspx 654b8dd4-d174-46e6-91dd-63dc08efdfb4 Thu, 30 Apr 2009 05:36:21 GMT RadControls for ASP.NET AJAX are now compatible with DotNetNuke 5.0.0 At the very end of 2008, the DotNetNuke Corporation released a new major version of their web application framework - DNN 5.0.0. Our modules and skinobject PAs were not compatible with the new release because of a change in DotNetNuke's handling of files and subfolders in the PA archive. With the new RadControls for ASP.NET AJAX service pack release (2008.3.1314), we updated our DNN resources to be compatible with the 5.0.0 installer. The new build of the RadControls modules and skinobjects for DotNetNuke can be used in version 5 and 4 as well. If you find an issue with the RadControls in DNN 5.0, which was not present before you upgraded from 4.X.X , please contact us.<br /> <br /> http://blogs.telerik.com/stoyanstratev/posts/09-01-20/radcontrols_for_asp_net_ajax_are_now_compatible_with_dotnetnuke_5_0_0.aspx Stoyan Stratev http://blogs.telerik.com/stoyanstratev/posts/09-01-20/radcontrols_for_asp_net_ajax_are_now_compatible_with_dotnetnuke_5_0_0.aspx cae560d4-0ee2-41f2-9b74-daa4e21a7851 Tue, 20 Jan 2009 06:24:13 GMT RadRotator for ASP.NET AJAX: Using dynamic templates My colleague Todd Anglin has already written a post about how to create a rotator control dynamically - you can read it here - <a href="http://blogs.telerik.com/ToddAnglin/Posts/07-08-27/How_to_Create_RadRotator_Programmatically.aspx" title="blog post">How to Create RadRotator Programmatically</a>. Unfortunately, this code in that post is for the old RadRotator control and if you try to use it in the new ASP.NET AJAX version, you will notice that it will not compile. Fortunately, you can quickly fix that. Here is what you need to change:<br /> <br /> <strong>FrameTemplate </strong>- this property has been replaced with <strong>ItemTemplate</strong><br /> <br /> <strong>RadRotatorFrame </strong>- this object has been replaced with <strong>RadRotatorItem</strong><br /> <br /> After you update the above names, you should be able to compile and run Todd's code.<br /> <br /> Creating a RadRotator control from code is handy in many cases - for example if you are developing a web part or some other server control you wish to easily reuse in your application.<br /> <br /> You can can get the updated demo code (C# and VB.NET versions) here:<br /> <a href="/Libraries/Stoyan_Stratev/DynamicRotator.sflb?download=true">DynamicRotator</a> <p>&nbsp;</p> http://blogs.telerik.com/stoyanstratev/posts/08-08-20/radrotator_for_asp_net_ajax_using_dynamic_templates.aspx Stoyan Stratev http://blogs.telerik.com/stoyanstratev/posts/08-08-20/radrotator_for_asp_net_ajax_using_dynamic_templates.aspx c5950ca6-601e-4767-baae-0eb3101e0b6c Wed, 20 Aug 2008 02:43:52 GMT RadRotator binding to XML data As you already know, the upcoming RadControls for ASP.NET AJAX Q2 2008 release will add a new control to the suite - the RadRotator. If you are familiar with the RadRotator control from the classic ASP.NET controls suite, you will be glad to know that it is now included in the new Ajax suite as well. <p>&nbsp;</p> <p>One important change I would like to talk about is how the new rotator works with XML data. The classic rotator control had a property called <em>ContentFile</em>, which allowed the developer to specify a XML file to use as a datasource for the rotator frames. For example:</p> <br /> <div style="border: 1px solid rgb(127, 157, 185); overflow: auto; background-color: white; width: 500px; line-height: 100% ! important; font-family: courier new; font-size: 11px;"> <table cellspacing="0" cellpadding="0" style="border-width: 0px; border-bottom: 0px solid rgb(238, 238, 238); margin: 2px 0px; width: 99%; border-collapse: collapse; background-color: rgb(255, 255, 255);"> <col style="border-bottom: 1px solid rgb(247, 247, 247); font-family: courier new; font-size: 11px; padding-left: 10px; white-space: nowrap;" /> <tbody> <tr> <td><span style="font-size: 11px;"></span><span style="color: blue;">&lt;</span><span style="font-size: 11px;">rad:RadRotator&nbsp;</span><span style="color: red;">id</span><span style="font-size: 11px;">=</span><span style="color: blue;">"RadRotator1"</span><span style="font-size: 11px;">&nbsp;</span><span style="color: red;">runat</span><span style="font-size: 11px;">=</span><span style="color: blue;">"server"</span><span style="font-size: 11px;">&nbsp;&nbsp;</span></td> </tr> <tr> <td style="background-color: rgb(247, 247, 247);"><span style="color: red;">ContentFile</span><span style="font-size: 11px;">=</span><span style="color: blue;">"news.xml"</span><span style="font-size: 11px;">&nbsp;</span><span style="color: red;">height</span><span style="font-size: 11px;">=</span><span style="color: blue;">"100px"</span><span style="font-size: 11px;">&nbsp;</span><span style="color: red;">width</span><span style="font-size: 11px;">=</span><span style="color: blue;">"300px"</span><span style="font-size: 11px;">&gt;&nbsp;</span></td> </tr> <tr> <td>&nbsp;&nbsp;<span style="color: blue;">&lt;</span><span style="font-size: 11px;">FrameTemplate</span><span style="color: blue;">&gt;</span><span style="font-size: 11px;">&nbsp;</span></td> </tr> <tr> <td style="background-color: rgb(247, 247, 247);">&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">&lt;</span><span style="font-size: 11px;">div</span><span style="color: blue;">&gt;</span><span style="font-size: 11px;">&nbsp;</span></td> </tr> <tr> <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">&lt;</span><span style="font-size: 11px;">%#&nbsp;DataBinder.Eval(Container.DataItem,&nbsp;"Title")&nbsp;%</span><span style="color: blue;">&gt;</span><span style="font-size: 11px;">&nbsp;</span></td> </tr> <tr> <td style="background-color: rgb(247, 247, 247);">&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">&lt;/</span><span style="font-size: 11px;">div</span><span style="color: blue;">&gt;</span><span style="font-size: 11px;">&nbsp;</span></td> </tr> <tr> <td>&nbsp;&nbsp;<span style="color: blue;">&lt;/</span><span style="font-size: 11px;">FrameTemplate</span><span style="color: blue;">&gt;</span><span style="font-size: 11px;">&nbsp;</span></td> </tr> <tr> <td style="background-color: rgb(247, 247, 247);"><span style="color: blue;">&lt;/</span><span style="font-size: 11px;">rad:RadRotator</span><span style="color: blue;">&gt;</span><span style="font-size: 11px;">&nbsp;</span></td> </tr> </tbody> </table> </div> <p>&nbsp;</p> <p>The new RadRotator will not have a <em>ContentFile </em>property. Instead, the rotator should be bound to a XmlDataSource control, which in turn will load the XML file. Note that the XmlDataSource control can work with live XML streams (RSS) as well. Here is an example of how the new rotator will work with XML:</p> <p>&nbsp;</p> <div style="border: 1px solid rgb(127, 157, 185); overflow: auto; background-color: white; width: 500px; line-height: 100% ! important; font-family: courier new; font-size: 11px;"> <table cellspacing="0" cellpadding="0" style="border-width: 0px; border-bottom: 0px solid rgb(238, 238, 238); margin: 2px 0px; width: 99%; border-collapse: collapse; background-color: rgb(255, 255, 255);"> <tbody> <tr> <td><span style="font-size: 11px;"></span><span style="color: blue;">&lt;</span><span style="font-size: 11px;">telerik:RadRotator&nbsp;</span><span style="color: red;">ID</span><span style="font-size: 11px;">=</span><span style="color: blue;">"RadRotator1"</span><span style="font-size: 11px;">&nbsp;</span><span style="color: red;">ScrollDirection</span><span style="font-size: 11px;">=</span><span style="color: blue;">"Up"</span><span style="font-size: 11px;">&nbsp;</span><span style="color: red;">ScrollDuration</span><span style="font-size: 11px;">=</span><span style="color: blue;">"2000"</span><span style="font-size: 11px;">&nbsp;</span></td> </tr> <tr> <td style="background-color: rgb(247, 247, 247);"><span style="color: red;">runat</span><span style="font-size: 11px;">=</span><span style="color: blue;">"server"</span><span style="font-size: 11px;">&nbsp;</span><span style="color: red;">DataSourceID</span><span style="font-size: 11px;">=</span><span style="color: blue;">"xmlDataSource1"</span><span style="font-size: 11px;">&nbsp;</span><span style="color: red;">Width</span><span style="font-size: 11px;">=</span><span style="color: blue;">"500"</span><span style="font-size: 11px;">&nbsp;</span><span style="color: red;">Height</span><span style="font-size: 11px;">=</span><span style="color: blue;">"200"</span><span style="font-size: 11px;">&gt;&nbsp;</span></td> </tr> <tr> <td>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">&lt;</span><span style="font-size: 11px;">ItemTemplate</span><span style="color: blue;">&gt;</span><span style="font-size: 11px;">&nbsp;</span></td> </tr> <tr> <td style="background-color: rgb(247, 247, 247);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">&lt;</span><span style="font-size: 11px;">div&nbsp;</span><span style="color: red;">class</span><span style="font-size: 11px;">=</span><span style="color: blue;">"module"</span><span style="font-size: 11px;">&nbsp;</span><span style="color: red;">style</span><span style="font-size: 11px;">=</span><span style="color: blue;">"width:500px"</span><span style="font-size: 11px;">&gt;&nbsp;</span></td> </tr> <tr> <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">&lt;</span><span style="font-size: 11px;">strong</span><span style="color: blue;">&gt;</span><span style="font-size: 11px;">&lt;</span><span style="font-weight: bold; color: black;">a</span><span style="font-size: 11px;">&nbsp;</span><span style="color: red;">href</span><span style="font-size: 11px;">=</span><span style="color: blue;">'&lt;%#&nbsp;XPath("link")&nbsp;%&gt;'</span><span style="font-size: 11px;">&nbsp;</span><span style="color: red;">target</span><span style="font-size: 11px;">=</span><span style="color: blue;">"_blank"</span><span style="font-size: 11px;">&gt;&nbsp;</span></td> </tr> <tr> <td style="background-color: rgb(247, 247, 247);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">&lt;</span><span style="font-size: 11px;">%#&nbsp;XPath("title")&nbsp;%</span><span style="color: blue;">&gt;</span><span style="font-size: 11px;">&nbsp;</span></td> </tr> <tr> <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">&lt;/</span><span style="font-size: 11px;">a</span><span style="color: blue;">&gt;</span><span style="font-size: 11px;">&lt;/</span><span style="font-weight: bold; color: black;">strong</span><span style="font-size: 11px;">&gt;&nbsp;</span></td> </tr> <tr> <td style="background-color: rgb(247, 247, 247);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">&lt;</span><span style="font-size: 11px;">br&nbsp;</span><span style="color: blue;">/&gt;</span><span style="font-size: 11px;">&nbsp;</span></td> </tr> <tr> <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">&lt;</span><span style="font-size: 11px;">%#&nbsp;XPath("pubDate")&nbsp;%</span><span style="color: blue;">&gt;</span><span style="font-size: 11px;">&nbsp;</span></td> </tr> <tr> <td style="background-color: rgb(247, 247, 247);">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">&lt;/</span><span style="font-size: 11px;">div</span><span style="color: blue;">&gt;</span><span style="font-size: 11px;">&nbsp;</span></td> </tr> <tr> <td>&nbsp;&nbsp;&nbsp;&nbsp;<span style="color: blue;">&lt;/</span><span style="font-size: 11px;">ItemTemplate</span><span style="color: blue;">&gt;</span><span style="font-size: 11px;">&nbsp;</span></td> </tr> <tr> <td style="background-color: rgb(247, 247, 247);"><span style="color: blue;">&lt;/</span><span style="font-size: 11px;">telerik:RadRotator</span><span style="color: blue;">&gt;</span><span style="font-size: 11px;">&nbsp;</span></td> </tr> <tr> <td><span style="color: blue;">&lt;</span><span style="font-size: 11px;">asp:XmlDataSource&nbsp;</span><span style="color: red;">ID</span><span style="font-size: 11px;">=</span><span style="color: blue;">"xmlDataSource1"</span><span style="font-size: 11px;">&nbsp;</span><span style="color: red;">XPath</span><span style="font-size: 11px;">=</span><span style="color: blue;">"rss/channel/item"</span><span style="font-size: 11px;">&nbsp;</span><span style="color: red;">runat</span><span style="font-size: 11px;">=</span><span style="color: blue;">"server"</span><span style="font-size: 11px;">&nbsp;</span></td> </tr> <tr> <td style="background-color: rgb(247, 247, 247);">&nbsp;<span style="color: red;">DataFile</span><span style="font-size: 11px;">=</span><span style="color: blue;">"http://rss.cnn.com/rss/cnn_topstories.rss"</span><span style="font-size: 11px;">&nbsp;</span><span style="color: blue;">/&gt;</span><span style="font-size: 11px;">&nbsp;</span></td> </tr> </tbody> </table> </div> <p>&nbsp;</p> The above example will bind the rotator to CNN's Top Stories RSS feed. Note that instead of <em>DataBinder.Eval</em>(), the XmlDataSource uses <em>XPath</em>() to get specific items from the data container. This means that if you are upgrading from the classic RadRotator with XML content file, you will need to update your template as well. <p>&nbsp;</p> <br /> http://blogs.telerik.com/stoyanstratev/posts/08-07-18/radrotator_binding_to_xml_data.aspx Stoyan Stratev http://blogs.telerik.com/stoyanstratev/posts/08-07-18/radrotator_binding_to_xml_data.aspx 57af5c2c-713e-4c4e-8ac1-f778f3088d42 Fri, 18 Jul 2008 06:06:40 GMT RadEditor for ASP.NET AJAX in Community Server We have updated the Telerik editor provider for Community Server to use the new RadEditor from the ASP.NET AJAX suite. The new provider is available for download from the following URL - <a href="http://blogs.telerik.com/Libraries/Stoyan_Stratev/RadEditorWrapper20080623.sflb?download=true" title="download link">http://blogs.telerik.com/Libraries/Stoyan_Stratev/RadEditorWrapper20080623.sflb?download=true</a> (deployment instructions are included in the archive).<br /> <p>&nbsp;</p> There are some major changes in the new provider. I will list them here: <p>1. ScriptManager - since the new editor is built on top of the Microsoft ASP.NET AJAX Extensions, it requires that the System.Web.Extensions.dll assembly is either in the bin folder of the CommunityServer web site or in the machine's GAC. You do not need to add a ScriptManager control on the pages you plan to use the editor. It will be added automatically (if needed).</p> 2. Resouces folder - the new editor stores most of its resources (dialogs, skins) in the Telerik.Web.UI.dll assembly. However, we still need a RadControls folder in the Community Server provider for several reasons - to store the RadSpell dictionaries, configuration files, etc. <p>&nbsp;</p> <p>3. Localization - if you want to change the editor language, you need to extract the localization files (.resx) in the App_GlobalResources folder in your CS website.</p> <p>&nbsp;</p> <p>As always, we would appreciate your feedback/suggestions for improving the provider.</p> <p>&nbsp;</p> http://blogs.telerik.com/stoyanstratev/posts/08-06-23/radeditor_for_asp_net_ajax_in_community_server.aspx Stoyan Stratev http://blogs.telerik.com/stoyanstratev/posts/08-06-23/radeditor_for_asp_net_ajax_in_community_server.aspx 41e9bb0d-5581-428a-9234-5fdc221e59dd Mon, 23 Jun 2008 08:59:50 GMT Full-featured RadEditor for MOSS 5.0 <p>Our RadEditor for MOSS product has reached version 5.0. There are some major changes that you should know before you upgrade from version 4.x. First and most important is that the 5.0 version uses <a href="http://www.telerik.com/products/aspnet-ajax/controls/editor/overview.aspx" title="editor product page">RadEditor for ASP.NET AJAX</a>. The new editor offers many improvements over the previous RadEditor for ASP.NET, too many to list here. Check the product page for more details. This is a major upgrade and it means that you will need to have the WSS v3/MOSS 2007 Service Pack 1 and <a href="http://asp.net/ajax/" title="asp.net ajax page">ASP.NET AJAX</a> installed in your web farm. </p> <p>&nbsp;</p> <p>The second important change is in the RadEditor features. There are still two features in the "Site Features" page, but their meaning is different. The first feature will activate the editor in all lists in the current site. In the new version this feature activates the editor for all browsers, while in 4.x we had a separate feature for Internet Explorer. The other feature will activate the editor for all publishing HTML fields on the site (WCM scenario). This is the same as using SharePoint designer to replace all editors in your publishing layouts, but it does not actually change the pages (i.e. the pages will still contain the original editor declaration - &lt;<strong>PublishingWebControls:RichHtmlField... /&gt;</strong>). It is up to the SharePoint developer to decide whether to replace the original editor with SharePoint designer, or using our feature. </p> <p>&nbsp;</p> <p>Upgrading from version 4.x is a simple process. We have outlined the steps in the online documentation - <a href="http://www.telerik.com/help/aspnet-ajax/upgrade-instructions-from-v4-to-v5.html">http://www.telerik.com/help/aspnet-ajax/upgrade-instructions-from-v4-to-v5.html</a>. Speaking of which, the documentation for the new editor has been moved in the main RadControls for ASP.NET AJAX help, so you can access it online from <a href="http://www.telerik.com/help/aspnet-ajax/moss-introduction.html">http://www.telerik.com/help/aspnet-ajax/moss-introduction.html</a>.</p> <p> </p> <p>The new RadEditor for MOSS 5.0 is available from the RadControls for ASP.NET AJAX downloads page. Note that the LITE version of the editor has not been updated to 5.0. It will remain in the 4.x branch and will be updated only with bugfixes - no new features will be added to version 4.x. </p> <p>Finally, you can see a simple page with the MOSS content editor web part on our SharePoint demo site - <a href="http://sharepoint.telerik.com/Products/RadControlsAjax/Pages/RadEditorfor.aspx">http://sharepoint.telerik.com/Products/RadControlsAjax/Pages/RadEditorfor.aspx</a></p> http://blogs.telerik.com/stoyanstratev/posts/08-06-04/full-featured_radeditor_for_moss_5_0.aspx Stoyan Stratev http://blogs.telerik.com/stoyanstratev/posts/08-06-04/full-featured_radeditor_for_moss_5_0.aspx 549492d7-affa-4317-aab4-e4a4436c9884 Wed, 04 Jun 2008 07:35:39 GMT The New RadControls Installer We have been using the same old installer for a very long time. The reason for that is very simple - because it worked. However, with the release of the new RadControls for ASP.NET Ajax suite we felt that it is time for a change. The people who tried our new futures build for Q1 2008 already know what I am talking about - the Prometheus controls come with a totally redesigned installation experience.<br /> <br /> There were two main issues we wanted to address - install/uninstall speed and the look &amp; feel of the installation wizard. I am happy to say that we achieved success on both accounts. The installer went from this (click to open in a new window):<br /> <a href="http://blogs.telerik.com/Photos/Storage/spellini/Controls_install.PNG" target="_blank"><img width="205" height="148" alt="" src="http://blogs.telerik.com/Photos/Storage/spellini/Controls_install.PNG" border="0" /></a> <br /> <br /> to this (click to open in a new window):<br /> <a href="http://blogs.telerik.com/Photos/Storage/spellini/Prometheus_Install.PNG" target="_blank"><img alt="" style="width: 232px; height: 176px" src="http://blogs.telerik.com/Photos/Storage/spellini/Prometheus_Install.PNG" border="0" /></a> <br /> <br /> The new installation wizard gives you even more options when you want to do a custom install - you can choose whether or not to install the examples, Visual Studio integration, or the documentation. A lot has been changed under the hood as well - the install/uninstall process now takes only a couple of minutes (several times faster than the old installer). <br /> <br /> Try the new RadControls for ASP.NET Ajax build tell us what you think. There are still a few weeks left until the official release and your feedback will be appreciated. <br /> <br /> More information about the futures build as well as download instructions are available in our fourms - <a href="http://www.telerik.com/community/forums/thread/b311D-bcmkaa.aspx">http://www.telerik.com/community/forums/thread/b311D-bcmkaa.aspx</a><br /> http://blogs.telerik.com/stoyanstratev/posts/08-03-31/the_new_radcontrols_installer.aspx Stoyan Stratev http://blogs.telerik.com/stoyanstratev/posts/08-03-31/the_new_radcontrols_installer.aspx 64a29461-2583-422c-a120-a6e083abc9ea Mon, 31 Mar 2008 09:26:13 GMT