Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
119 views
Hi,
I have the following requirements for a project.
Input - Word document.
Output - 
1.Tree control to display the word document.- I have split the word document into HTML using RAD Editor, store it in a database and then populate RADTree from the database.
2. User can select a node from the tree and print the contents. This should be identical to the orignal word document(in content and formatting)

The problem is when I print the document from the Tree, the formatting is different from what it is in the word document(indentation, bullet points, paragraphs etc.. are different in word than in RADEditor).

How can I make the print out from the RADTree to replicate the orignal contents of the word document.

thanks and regards...
Rumen
Telerik team
 answered on 23 Mar 2009
2 answers
218 views
Is there a way to not display a cell value if the previous row has the same value for this cell like so

Paris         18/12/08
                  21/12/08
London     19/12/08
Gordon
Top achievements
Rank 1
 answered on 23 Mar 2009
1 answer
211 views
Hi,
    I am using Rad editor in my application. I am opening a pop up window and pasting the value selected in the pop up to the editor. The problem i am facing is that the text  is getting pasted in the first position of the editor inspite of the cursor posistion. The code used is given below:

RadEditor1ClientObject.SetFocus();

 

RadEditor1ClientObject.PasteHtml(Symbol);

I wanted to the paste the text from the pop up in the cursor position of the ediotr. Please help me with this issue.

Thanks
Gayatri

Rumen
Telerik team
 answered on 23 Mar 2009
9 answers
344 views
I am attempting to modify the Default RadComboBox style to meet my needs but have an issue on changing the hover style to behave as per the images below:

Current Hover style

http://img15.imageshack.us/img15/9381/currentp.jpg

Wanted Hover style

http://img16.imageshack.us/img16/9854/wantedeffect.jpg

I was wondering what classes on the CSS file i would need to change to remove the fill on hover and also on the focus of the control.

I am using the 2009 Q1 controls.

Many thanks

Stuart
Stuart Ferguson
Top achievements
Rank 1
 answered on 23 Mar 2009
2 answers
226 views
I have 2 grids on my page and I add the columns to the grids programmatically. When I test, everything appears fine on initial view, but when I sort, the column headers disappear. The first column is set to not allow a header and not allow a sort, but additional columns do allow this. Any hints on why this may be happening and what I can do to solve it?
Peggy
Top achievements
Rank 1
 answered on 23 Mar 2009
1 answer
129 views
When I am using Q3 2008, radwindow is displaying correctly w/o any scroll bar (vertical). However, after updating to Q1 2009, scroll bar is shown all the times even I enlarge the height much more than the content required. How do I resolve this issue?
Georgi Tunev
Telerik team
 answered on 23 Mar 2009
1 answer
104 views
Hi,

I have a parent page with a RadComboBox. Next to it, I have a link which opens a RadWindow. The RadWindow has a few fields that allows me to create a record in my database. What I need to happen is that when the RadWindow is closed, I want the RadComboBox to be updated the the new record. I do not want the entire page to refresh, only the RadComboBox.

Thank you!
Georgi Tunev
Telerik team
 answered on 23 Mar 2009
2 answers
95 views
Hello

I've built a CMS using RadEditor as the HTML editor for page conent, and one of my customers has requested that the site is multi-lingual - these languages being English, Greek, Russian and Arabic... so all different alphabets.

I've just tried cutting and pasting in some russian copy to the cms, and this rendered fine on-screen, but seems to have been stored in the database as a series of question marks like this :  ???? ???? ??????

(HTML tags are stored fine)

This looks to be more of a SQL issue, but I was wondering if anybody had any good pointers?

Thanks

Darren
Darren Ratcliffe
Top achievements
Rank 1
 answered on 23 Mar 2009
3 answers
90 views
Is it possible to add tabs via an ajax updater? I'd like to do the following:

Protected Sub NavMenu_ItemClick(ByVal sender As ObjectByVal e As Telerik.Web.UI.RadPanelBarEventArgs) Handles NavMenu.ItemClick 
        Select Case e.Item.Value 
            Case "PredefAllContacts" 
                OpenTab(TabTypesEnum.TabContacts) 
            Case "PredefContacts" 
            Case "PredefDepartments" 
            Case "PredefClients" 
            Case "PredefMyOpenQueries" 
            Case "PredefAllOpenQueries" 
            Case "PredefAllQueries" 
            Case "PredefAllParts" 
        End Select 
    End Sub 
 
    Protected Sub OpenTab(ByVal NewTabTargetType As TabTypesEnum) 
 
        'Scan the tabs to find the next id to create 
        Dim NewTab As New Telerik.Web.UI.RadTab() 
        Dim TargetName As String 
        Dim TargetIndex As Integer = 0 
        Select Case NewTabTargetType 
            Case TabTypesEnum.TabContacts 
                TargetName = "Contacts" 
            Case TabTypesEnum.TabParts 
                TargetName = "Parts" 
            Case TabTypesEnum.TabQueries 
                TargetName = "Queries" 
            Case Else 
                TargetName = "Contact" 
        End Select 
        While (From t As Telerik.Web.UI.RadTab In OpenTabs.Tabs Where t.Value = TargetName & TargetIndex).Count > 0 
            TargetIndex += 1 
        End While 
 
        'The next id was found, create the tab 
        NewTab.Text = TargetName 
        NewTab.Value = TargetName & TargetIndex 
        OpenTabs.Tabs.Add(NewTab) 
 
        'Create a window control inside the tab 
        Dim NewWindow As New Telerik.Web.UI.RadWindow() 
        NewTab.Controls.Add(NewWindow) 
        NewWindow.Width = NewTab.Width 
        NewWindow.Height = NewTab.Height 
        NewWindow.VisibleTitlebar = False 
        NewWindow.VisibleStatusbar = False 
        NewWindow.AutoSize = True 
        NewWindow.NavigateUrl = "Contacts.aspx" 
 
    End Sub 

If you look correctly i'm trying to achieve the following:
- from a panelbar item click
- open a new tab with a window control that display another page of my choice
- this other page is usually an editor of the choice of the user

It seems that if i postback the page, the redraw works because my tab gets rendered, but it doesn't via the ajax updater:

<%@ Page Title="" Language="VB" AutoEventWireup="false" CodeFile="Main.aspx.vb" Inherits="Main" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!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 id="Head1" runat="server"
    <title>Contact Web Agent 2009</title> 
    <link rel="Stylesheet" href="assets/css/StyleSheet.css" /> 
</head> 
<body> 
    <form id="form1" runat="server"
    <telerik:RadScriptManager ID="RadScriptManager1" Runat="server"></telerik:RadScriptManager> 
    <telerik:RadAjaxPanel ID="RadAjaxUpdater" runat="server"
        <div id="header"
            <asp:Image ID="Logo" runat="server" ImageUrl="assets/images/un/logo.png" ImageAlign="Left" AlternateText="Logo" CssClass="logo" /> 
            <div class="title">Contact Web Agent 2009.1</div> 
            <div class="subtitle"><asp:Label ID="ConnectionInfo" runat="server" Text="Vous Ãªtes connecté en tant que: Mathieu Dumoulin"></asp:Label></div
            <div><asp:Label ID="ConnectionDate" runat="server" Text="Ouverture de session le: 2009/03/17 15:34"></asp:Label></div
            <div class="loggoutlink"><asp:LinkButton ID="loggoutlink" runat="server">Fermer ma session</asp:LinkButton></div
        </div> 
        <div style="clear: left;"
            <telerik:RadSplitter ID="RadSplitter1" runat="server"  
                ResizeMode="EndPane" Width="100%" Height="700px"
                <telerik:RadPane ID="MenuSizePane" Runat="server" Width="250px"
                    <telerik:RadPanelBar ID="NavMenu" runat="server" Width="100%"
                        <Items> 
                            <telerik:RadPanelItem runat="server" Expanded="True"  
                                ImageUrl="~/assets/images/un/allusers.png" PreventCollapse="True"  
                                Selected="True" Text="Contacts"
                                <Items> 
                                    <telerik:RadPanelItem runat="server"  
                                        ImageUrl="~/assets/images/un/allusers16.png" Text="All contacts" Value="PredefAllContacts"
                                    </telerik:RadPanelItem> 
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/assets/images/un/user16.png"  
                                        Text="Contacts only" Value="PredefContacts"
                                    </telerik:RadPanelItem> 
                                    <telerik:RadPanelItem runat="server"  
                                        ImageUrl="~/assets/images/un/department16.png" Text="Departments only" Value="PredefDepartments"
                                    </telerik:RadPanelItem> 
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/assets/images/un/client16.png"  
                                        Text="Clients only" Value="PredefClients"
                                    </telerik:RadPanelItem> 
                                </Items> 
                            </telerik:RadPanelItem> 
                            <telerik:RadPanelItem runat="server" Expanded="True"  
                                ImageUrl="~/assets/images/un/queries.png" PreventCollapse="True"  
                                Text="Service requests"
                                <Items> 
                                    <telerik:RadPanelItem runat="server"  
                                        ImageUrl="~/assets/images/un/myopenqueries16.png" Text="My open requests" Value="PredefMyOpenQueries"
                                    </telerik:RadPanelItem> 
                                    <telerik:RadPanelItem runat="server"  
                                        ImageUrl="~/assets/images/un/allopenqueries16.png" Text="All open requests" Value="PredefAllOpenQueries"
                                    </telerik:RadPanelItem> 
                                    <telerik:RadPanelItem runat="server"  
                                        ImageUrl="~/assets/images/un/allqueries16.png" Text="All requests" Value="PredefAllQueries"
                                    </telerik:RadPanelItem> 
                                </Items> 
                            </telerik:RadPanelItem> 
                            <telerik:RadPanelItem runat="server" Expanded="True"  
                                ImageUrl="~/assets/images/un/part.png" PreventCollapse="True" Text="Inventory"
                                <Items> 
                                    <telerik:RadPanelItem runat="server" ImageUrl="~/assets/images/un/part16.png"  
                                        Text="All parts" Value="PredefAllParts"
                                    </telerik:RadPanelItem> 
                                </Items> 
                            </telerik:RadPanelItem> 
                        </Items> 
                    </telerik:RadPanelBar> 
                </telerik:RadPane> 
                <telerik:RadSplitBar ID="RadSplitBar1" Runat="server" BorderWidth="3px" /> 
                <telerik:RadPane ID="ContentSizePane" Runat="server" Width=""
                    <telerik:RadTabStrip ID="OpenTabs" runat="server" SelectedIndex="0"  
                        Height="100%" Width="100%"
                    </telerik:RadTabStrip> 
                </telerik:RadPane> 
            </telerik:RadSplitter> 
        </div> 
        </telerik:RadAjaxPanel> 
    </form> 
</body> 
</html> 

Paul
Telerik team
 answered on 23 Mar 2009
5 answers
79 views
Hi Telerik Team,

I am facing a problem with Rad window control. I have opened a Radwinow inside a RadTabsrip,Every time when I click on the  tabs the Radwindow keeps shifting upwords on the Tabs.

Please suggest some solution ASAP.

Thanks in Advance,
Raj


Georgi Tunev
Telerik team
 answered on 23 Mar 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?