i hav a document in microsoft word document(like a form).i want to fill this document from sql table.....how can i do this??????
plz reply
Telerik.Web.DomElement.addExternalHandler as the javascript library to call (pre the introduction of the $ library), but when I try to call this, I get a popup saying "Exception while executing client event "OnClientLoad" Error: 'Telerik' is undefined." so basically I'm not referencing the library right, but I'm not sure how to do so correctly.
Many thanks for your aid!
FYI, Here's the code for my test application page that throws the exception cited above:
| <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TelerikTest2._Default" %> |
| <%@ Register TagPrefix="telerik" Namespace="Telerik.WebControls" Assembly="RadEditor.Net2" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml" > |
| <head runat="server"> |
| <title></title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <div> |
| <script type="text/javascript"> |
| function OnClientLoad(editor, args) |
| { |
| var element = document.all; |
| Telerik.Web.DomElement.addExternalHandler(element, "paste", function(e) { |
| window.setTimeout(function() { |
| //write here your code which you want to execute when the paste event is fired |
| //after that execute the editor's clean filters |
| var oSelElem = editor.get_html(); |
| alert(oSelElem); |
| editor.fire("SelectAll"); |
| editor.fire("FormatStripper", { value: "FONT" }); |
| editor.fire("FormatStripper", { value: "SPAN" }); |
| editor.fire("FormatStripper", { value: "CSS" }); |
| alert(editor.get_html()); |
| alert(oSelElem); |
| }, 300); |
| }); |
| } |
| </script> |
| <telerik:radeditor runat="server" ID="RadEditor1" OnClientLoad="OnClientLoad" StripFormattingOptions="NonesupressCleanMessage"> |
| </telerik:radeditor> |
| </div> |
| </form> |
| </body> |
| </html> |

To be honest, I'm unsure if this is a TreeView or Splitter problem, so please bare with me.
I have a TreeView in a RadPane. The TreeView, when expanded, puts some of the nodes close to, or past the RadPane's edge. If the overlapping nodes are neither selected or hovered over, all is OK, but otherwise, well you can see for yourself in ss3.gif (attached).
FYI, this happens in IE8 but not FF3.5. The skins are Q1 2009's WebBlue.
--
Stuart
Hi,
I place telerik grid inside Splitter. I want that splitter should display only vertical scroll so I try using Scrolling="X" and also Scrolling="Y", even after add Scrolling it display horizontal scrollbar. If I add Scrolling="None" it not display any scrollbar but I want that It should show me vertical scroll bar when scrolling need.
In deep when I check with RadGrid I found that I use PopUp In my application when user add/edit record using <MasterTableView EditMode="PopUp" Here if I replace EditMode="EditForms" in this case Scrolling work fine, but I don’t want to change my application appearance.

| <telerik:RadListView runat="server" ID="RadLVPhotos" Enabled="false" Visible="true" |
| AllowPaging="true" PageSize="10" DataKeyNames="Id" |
| OnNeedDataSource="RadLVPhotos_NeedDataSource" OnSelectedIndexChanged="RadLVPhotos_SelectedIndexChanged" ItemPlaceholderID="ProductsHolder"> |
| <LayoutTemplate> |
| <div id="list"> |
| <div style="clear: both;"> |
| </div> |
| <fieldset runat="server" id="ProductsHolder" /> |
| |
| <div style="clear: both;"> |
| </div> |
| </div> |
| </LayoutTemplate> |
| <EmptyDataTemplate> |
| <legend>Photos</legend>Aucune photo... |
| </EmptyDataTemplate> |
| <ItemTemplate> |
| <fieldset style="float: left; margin: 5px 5px 5px 5px; padding: 2px 2px 2px 2px; |
| background: #eeeeee" class="myClass" onmouseover="containerMouseover(this)" onmouseout="containerMouseout(this)"> |
| <telerik:RadBinaryImage Style="cursor: pointer;" runat="server" ID="RadBinaryImage1" |
| DataValue='<%#Eval("Fichier.Content") %>' AlternateText='<%#Eval("Fichier.itemID") %>' Height="120px" Width="120px" |
| ResizeMode="Fit" onclick="" /> |
| <br /> |
| <div style="margin-top: -30px; position: fixed; display: none; width: 60px;"> |
| </div> |
| </fieldset> |
| </ItemTemplate> |
| </telerik:RadListView> |
| Protected Sub RadLVPhotos_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) |
| Dim radLVPhotos As RadListView = DirectCast(sender, RadListView) |
| If radLVPhotos.SelectedItems.Count <> 0 Then |
| Else |
| radLVPhotos.ClearSelectedItems() |
| End If |
| End Sub |
| function OpenImageEditor() |
| { |
| debugger; |
| var args = new Telerik.Web.UI.EditorCommandEventArgs("DocumentManager", null, document.createElement("a")); |
| args.CssClasses = []; |
| var img = $get('<%= Image1.ClientID %>'); |
| args.imageSrc = img.src; |
| debugger; |
| var dialog = $find('<%= DialogOpener1.ClientID %>'); |
| dialog.open('ImageEditor', args); |
| } |
