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

we use the following version: 2008.1.515.20
we want to upgrade to the newer version, so we downloaded the trial version for testing it.
after we replaced the files, we saw that we get strange behavior with the style, please look at the attached image
the left side is the new version
right side is the old version

please see the differences which are highlighted in red

what can cause it?

Yana
Telerik team
 answered on 26 Jan 2011
1 answer
107 views
Partial Class Anagrafica_UI_Anagrafe_AnagrafeAJAX
    Inherits System.Web.UI.Page
     Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
......
  If Not IsPostBack Then 'aggiunta per evitare il postback
                     ......
 
                        CreaTab(anagrafica)
             ...
end If
.......
 
 End Sub
  
    Protected Sub HandleContextClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadTreeViewContextMenuEventArgs) Handles RadTreeView1.ContextMenuItemClick
 
        Dim contextCommand As String = e.MenuItem.Text
        Dim currentNode As RadTreeNode = e.Node
        Dim currentID As String = e.MenuItem.Value
        ' '' ''devo creare un nuovo oggetto radice nell'albero
 
        Dim profilo As ProfiloUtente
        profilo = Session("profiloUtente")
        Select Case currentID
          
            Case "1"
                'apri nodo selezionato
 
 
 
                If Not IsNothing(currentNode) Then
                  ........
 
                    riempicontent(anagrafica)
                    CreaTab(anagrafica, False)
 
                End If
 
        End Select
 
    End Sub 'HandleContextClick
  
  
  
    Protected Sub CreaTab(ByVal ana As EBMAnagrafica, Optional ByVal editable As Boolean = False)
        Dim database As dbManager = Utility.GetDbManager(False)
        Dim gruppo As New GestioneAnagrafe.Enterprise.EBCRaggruppamento(database)
        Dim oggettogruppo As New EBMRaggruppo
        oggettogruppo = gruppo.read(ana.IdTipoOggetto, ana.DataInizio, ana.DataFine, Session("ci").ToString(), Session("ba").ToString(), Session("cliente").ToString(), Session("id_lingua").ToString()) 'leggo raggruppamenti
 
 
        'INIZIALIZZO LA TABSTRIP
        Dim TabStrip As New RadTabStrip
 
        'creazione delle tab strip per categorie di raggruppamento nomi campi
        TabStrip = Me.inf_webtab_anagrafe
        'PULISCO IL TAB
        If (TabStrip.Tabs.Count <> 0) Then
            TabStrip.Tabs.Clear()
        End If
  
        pulisci("MultiPage")
  
 
 
        Dim listagruppo As New ArrayList
        listagruppo = oggettogruppo.ListaCat
        Session("OggettoAttributi") = oggettogruppo
        'Creazione della Tabstrip con i nomi categoria
        If listagruppo.Count = 0 Then
            Session("ArrayDinamici") = arrControlliDinamici
        End If
 
        'aggiungo primo tab dei raggruppamenti se c'รจ
    
        For i As Integer = 0 To listagruppo.Count - 1
            AddTab(Split(listagruppo(i), ";")(0), Split(listagruppo(i), ";")(1))
            If (i = 0) Then
                AddPageView(Split(listagruppo(0), ";")(1), ana)
            End If
 
        Next
        'TabStrip.SelectedIndex = 0
 
    
        'AGGIUNGO TAB IMMAGINI
        AddTab(Resources.Messaggi.tabImmagini, "IMM")
        'AGGIUNGO TAB DOCUMENTI
        AddTab(Resources.Messaggi.tabDocumenti, "DOC")
        'quando ci clicco AddPageView("DOC", ana)
        'AGGIUNGO TAB PLANIMETRIACARTOGRAFIA
        AddTab(Resources.Messaggi.tabPlanimetrie, "PLANCART")
        'quando ci clicco  AddPageView("PLANCART", ana)
        'Dim tab2 As Infragistics.WebUI.UltraWebTab.Tab = New Infragistics.WebUI.UltraWebTab.Tab()
    End Sub
 
    Private Sub CreaPannelloInfra(ByVal ana As EBMAnagrafica, ByVal oggettogruppo As EBMRaggruppo, ByVal idtab As String, ByVal pagev As RadPageView, ByVal editable As Boolean)
 
        'Devo visualizzare gli attributi di un tipo e non dell'altro
        Try
            Dim booledit As Boolean
            If (Boolean.TryParse(Me.hdEdit.Value.ToString(), booledit)) Then
                If (booledit) Then
                    editable = True
                End If
            End If
            Dim valoreattributoImmFatturazione As String
 
            'recupero gli attributi per quell'oggettoa
            Dim listagruppi As New ArrayList
            Dim contacontrolli As Integer
            'recupero label dei nomi campo
            Dim listaLabel As New ArrayList
            Dim listacampi As New ArrayList
            'Etichetta di nome campo valorizzato
            Dim etichetta As String
            Dim recuperocodice As String = "" 'valorizzata con tabella recupero codice
            Dim iddominioattributo As String ' da passare alla creazione di un nuovo attributo
            Dim textddl As String 'da passre alla creazione di un nuovo attributo come testo di della combo
            Dim valueddl As String 'da passere alla creazione di un nuovo attributo come valore della combo
            'cerco la lista dei campi per ogni categoria
 
            listagruppi = oggettogruppo.ListaCampi
 
 
            For Each val As GruppoCampi In listagruppi
                'PER OGNI RAGGRUPPAMENTO PRENDO LA LISTA DEI NOMI CAMPI ASSOCIATI
                If val.Categoria = idtab Then
                    'controlla se la categoria \u00E8 uguale a quella del bottone clickato
                    listacampi = val.ListaNomiCampo() 'listanomi campo nomecampo;flag_gestione
                    Exit For
                End If
            Next
            'crea pannello per tab
            Dim newPanel As New Panel
            newPanel.ID = "Pan" & idtab
            newPanel.Visible = True
         
            newPanel.CssClass = "radmultipageclass"
            newPanel.Height = pagev.Height
 
 
            'creo gli attributi per categoria
            'creo label contenente etichetta e contenente valore
            Dim tableAtt As New Table
            tableAtt.Width = newPanel.Width
            tableAtt.CellPadding = 0
            tableAtt.CellSpacing = 0
            tableAtt.ID = "T" & newPanel.ID
 
            tableAtt.CssClass = "textoNormal"
 
            Dim rcampiobbligatori As New TableRow
            rcampiobbligatori.CssClass = "textoNormal"
            Dim cellobbligatori As New TableCell 'cella con la scritta campi obbligatori
            cellobbligatori.Text = Resources.Messaggi.CampiObbligatori
            cellobbligatori.ColumnSpan = "6"
            rcampiobbligatori.Cells.Add(cellobbligatori)
            tableAtt.Rows.Add(rcampiobbligatori)
            Dim rintestazione As New TableRow
            rintestazione.CssClass = "textoNormal"
            Dim cell2int As New TableCell
            Dim cell5int As New TableCell
            Dim cell6int As New TableCell
            Dim cellint1 As New TableCell
 
            Dim cellimg2 As New TableCell
            cellint1.Text = "" 'Etichetta
.....
 
            rintestazione.Cells.Add(cellint1)
            rintestazione.Cells.Add(cell2int)
            ....
 
            tableAtt.Rows.Add(rintestazione) 'riga intestazione delle colonne
            
                    For count As Integer = 0 To valoreAttributo.Length - 1
                      ........
                       
                      
                                        labelValore = textvalore 'label contenente valore attributo
                                        labelValore.ID = "LBVA" & listacampi(i) & ";" & count
                                        labelValore.Text = CType(valoreAttributo(count), String) 'valore dell'etichetta
                                        labelValore.Width = dimTextAttributi
                                        cell2.Controls.Add(labelValore)
                                      
                   
                        riga.Cells.Add(cell1) 'Etichetta Attributo
                        riga.Cells.Add(cell2) 'valore attributo
 
                        riga.Cells.Add(cell5) 'data Inizio
                        riga.Cells.Add(cell6) 'data Fine
                      
 
                        If (dominioattributo.tipo_Rappresentazione_Grafica.ToLower <> "shape") Then
                            tableAtt.Rows.Add(riga) 'Aggiungo riga alla tabella
                        End If
                       ......
            Next
      
            pagev.Controls.Add(newPanel) ' aggiungo il pannello al controllo multipage della tab
 
           
.......
    End Sub
 
    Private Sub AddTab(ByVal tabName As String, ByVal tabValue As String)
        Dim tab As RadTab = New RadTab
        tab.Text = tabName
        tab.Value = tabValue
        If (tabValue = "PLANCART") Then
            tab.Width = 200
        Else
            tab.Width = 90
        End If
        
        Me.inf_webtab_anagrafe.Tabs.Add(tab)
 
 
    End Sub
    Private Sub AddPageView(ByVal tabVALUE As String, ByVal ana As EBMAnagrafica)
 
        Dim TAB As RadTab = Me.inf_webtab_anagrafe.FindTabByValue(tabVALUE)
        If (Not IsNothing(TAB) And Not IsNothing(ana)) Then
 
 
            Select Case tabVALUE
                Case "IMM"
                    Dim pageView0 As New RadPageView
                    pageView0.ID = TAB.Value   '"Page" & tab0.Value
                    'pageView0.CssClass = "MultiPage"
                    pageView0.Height = RadMultiPage1.Height
                    pageView0.Width = RadMultiPage1.Width
                    pageView0.ContentUrl = "ImmagineAnagrafe.aspx?UID=" & ana.Uid
                    TAB.PageViewID = pageView0.ID
                    RadMultiPage1.PageViews.Add(pageView0)
                Case "DOC"
                    Dim pageView2 As New RadPageView
                    pageView2.ID = TAB.Value   '"Page" & tab0.Value
                    ' pageView2.CssClass = "MultiPage"
                    pageView2.Width = RadMultiPage1.Width
                    pageView2.Height = RadMultiPage1.Height
                    pageView2.ContentUrl = "Documenti.aspx?UID=" & ana.Uid
                    TAB.PageViewID = pageView2.ID
                    RadMultiPage1.PageViews.Add(pageView2)
                Case "PLANCART"
                    Dim nodo As String
                    ''ADD SILVIA 7/12 aggiunto nome tabella in fondo al value per umpi altrimenti dopo non trova dwg
                    nodo = "false@" & ana.UidPadre & "@" & ana.DataInizio & "@" & ana.DataFine & "@" & ana.Uid & "@" & ana.IdTipoOggetto & "@" & ana.Nome_tabella
                    Dim pageView1 As New RadPageView
                    pageView1.ID = TAB.Value
                    ' pageView1.CssClass = "MultiPage"
                    pageView1.Height = RadMultiPage1.Height
                    pageView1.Width = RadMultiPage1.Width
 
                    If (System.Configuration.ConfigurationManager.AppSettings("AbilitaCartografia").ToString() <> "1") Then
                        '//cartografia non abilitata
                        Dim lcart As New Label
                        lcart.Text = Resources.Messaggi.msgNoAbilitaCartografia
                        pageView1.Controls.Add(lcart)
                    Else
                        pageView1.ContentUrl = "Cartografia.aspx?nodo=" & nodo & "&dv=" & DateTime.Parse(Me.txtDataVisita.Text.ToString()).ToShortDateString()
 
                    End If
                    TAB.PageViewID = pageView1.ID
                    RadMultiPage1.PageViews.Add(pageView1)
 
                Case Else
                    Dim oggettogruppo As EBMRaggruppo = CType(Session("OggettoAttributi"), EBMRaggruppo)
                    AddPageViewAttributi(TAB.Value, ana, oggettogruppo, editabileglobal)
            End Select
        End If
 
    End Sub
    Private Sub AddPageViewAttributi(ByVal tabVALUE As String, ByVal ana As EBMAnagrafica, ByVal raggruppo As EBMRaggruppo, ByVal editable As Boolean)
        Me.RadMultiPage1.Height = Me.altPannelloAttributi
        Dim TAB As RadTab = Me.inf_webtab_anagrafe.FindTabByValue(tabVALUE)
        If (Not IsNothing(TAB) And Not IsNothing(ana)) Then
            Dim pageView2 As New RadPageView
            pageView2.ID = TAB.Value   '"Page" & tab0.Value
 
            pageView2.Width = RadMultiPage1.Width
            pageView2.Height = RadMultiPage1.Height
            '  CreaPannelloInfra(ana, raggruppo, TAB.Value, pageView2, editable)
            TAB.PageViewID = pageView2.ID
            RadMultiPage1.PageViews.Add(pageView2)
 
 
 
 
        End If
 
    End Sub
 
    Protected Sub RadMultiPage1_PageViewCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadMultiPageEventArgs) Handles RadMultiPage1.PageViewCreated
        Dim ana As EBMAnagrafica = CType(Session("Oggetto"), EBMAnagrafica)
        Select Case e.PageView.ID
            Case "IMM"
                e.PageView.ContentUrl = "ImmagineAnagrafe.aspx?UID=" & ana.Uid
            Case "DOC"
                e.PageView.ContentUrl = "Documenti.aspx?UID=" & ana.Uid
            Case "PLANCART"
                Dim nodo As String
                ''ADD SILVIA 7/12 aggiunto nome tabella in fondo al value per umpi altrimenti dopo non trova dwg
                nodo = "false@" & ana.UidPadre & "@" & ana.DataInizio & "@" & ana.DataFine & "@" & ana.Uid & "@" & ana.IdTipoOggetto & "@" & ana.Nome_tabella
 
                If (System.Configuration.ConfigurationManager.AppSettings("AbilitaCartografia").ToString() <> "1") Then
                    '//cartografia non abilitata
                    Dim lcart As New Label
                    lcart.Text = Resources.Messaggi.msgNoAbilitaCartografia
                    e.PageView.Controls.Add(lcart)
                Else
                    e.PageView.ContentUrl = "Cartografia.aspx?nodo=" & nodo & "&dv=" & DateTime.Parse(Me.txtDataVisita.Text.ToString()).ToShortDateString()
 
                End If
            Case Else
                Dim oggettogruppo As EBMRaggruppo = CType(Session("OggettoAttributi"), EBMRaggruppo)
                CreaPannelloInfra(ana, oggettogruppo, e.PageView.ID, e.PageView, editabileglobal)
 
        End Select
    End Sub
 
    Protected Sub inf_webtab_anagrafe_TabClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadTabStripEventArgs) Handles inf_webtab_anagrafe.TabClick
        Dim ana As EBMAnagrafica = CType(Session("Oggetto"), EBMAnagrafica)
        Dim trovato As Boolean = False
 
 
        For Each pagev As RadPageView In RadMultiPage1.PageViews
            If (pagev.ID = e.Tab.Value) Then
 
                '        Dim oggettogruppo As EBMRaggruppo = CType(Session("OggettoAttributi"), EBMRaggruppo)
                trovato = True
                '        If (e.Tab.Value <> "IMM" And e.Tab.Value <> "DOC" And e.Tab.Value <> "PLANCART") Then
 
                '            '   CreaPannelloInfra(ana, oggettogruppo, pagev.ID, pagev, editabileglobal)
                '        End If
            End If
                Next
        If (Not trovato) Then
 
 
            AddPageView(e.Tab.Value, ana)
        End If
        e.Tab.PageView.Selected = True
        e.Tab.SelectedIndex = e.Tab.Index
    End Sub
 
 
    Protected Sub imgEdit_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles imgEdit.Click
        Me.hdEdit.Value = "true"
        .....
                CreaTab(Session("Oggetto"), True)
           
            .....
        End If
 
    End Sub
End Class
When I click image (imgEdit_Click) for rendering controls (textbox ) in the pageview del tabstrip editable, the first tab contains editable controls but when I change the tab, controls returns not editable. I tried to set a hidden field to true (Me.hdEdit.Value = "true") when it should become editable control, but once you change this value tab changes back, as if it is a reload of the page.
How can I do?
Yana
Telerik team
 answered on 26 Jan 2011
1 answer
57 views
We use the RadEditor in our application and we always display it in design mode, unless the user has read only access, in which case we display it in preview mode.  The reason for this is so that they can edit right away without having to switch back and forth between modes.  We have a problem with hyperlinks.  In firefox, you can ctrl+click on a hyperlink in design mode and the hyperlink will open in whatever target you've set up.  In IE, it just selects the word.  I'm trying to work around this by implementing a custom tool on the context menu of anchor elements.  I've figured out how to add the tool to the context menu and how to set up the handler...  what I have not been able to figure out is how to access the underlying UI element (i.e. the context), which in this case is the anchor element, so that I can get the URL and open it.
Rumen
Telerik team
 answered on 26 Jan 2011
3 answers
147 views
I have two questons here.  First, how do I format the exapaned grid columns to be a fixed width?  I've tried setting the header and item style widths but they are not working.  Second, how can I make the expanded row highlited like if I were Selecting it.  I've attached screen shots and my code


<telerik:RadGrid ID="rgFeedback" runat="server" Skin="Web20" DataSourceID="dsFeedback"
                                                                    AutoGenerateColumns="False" AllowSorting="True" AllowMultiRowSelection="False"
                                                                    AllowPaging="True" GridLines="None" PageSize="25" Width="100%" OnSelectedIndexChanged="rgFeedback_SelectedIndexChanged"
                                                                    OnItemCommand="rgFeedback_ItemCommand">
                                                                    <MasterTableView DataKeyNames="FeedbackID" AllowMultiColumnSorting="True" HierarchyLoadMode="ServerOnDemand"
                                                                        Width="100%">
                                                                        <CommandItemSettings ShowExportToWordButton="true" ShowExportToExcelButton="true"
                                                                            ShowExportToCsvButton="true" ExportToExcelText="Excel" />
                                                                        <DetailTables>
                                                                            <telerik:GridTableView DataKeyNames="FeedbackDetailID" DataSourceID="edsDetails" Width="900px"
                                                                                runat="server">
                                                                                <ParentTableRelation>
                                                                                    <telerik:GridRelationFields DetailKeyField="FeedbackID" MasterKeyField="FeedbackID" />
                                                                                </ParentTableRelation>
                                                                                <Columns>
                                                                                    <telerik:GridBoundColumn HeaderText="Entered Date" DataField="EnteredDate" DataFormatString="{0:d}"
                                                                                        HeaderStyle-Width="90px" ItemStyle-Width="90px">
                                                                                          
                                                                                    </telerik:GridBoundColumn>
                                                                                    <telerik:GridTemplateColumn HeaderText="User Name" HeaderStyle-Width="90px" ItemStyle-Width="90px">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="FirstName" runat="server" Text='<%# Eval("User.FirstName") %>'></asp:Label>
                                                                                            <asp:Label ID="LastName" runat="server" Text='<%# Eval("User.LastName") %>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                        <HeaderStyle Width="100px" />
                                                                                    </telerik:GridTemplateColumn>
                                                                                    <telerik:GridTemplateColumn HeaderText="Details">
                                                                                        <ItemTemplate>
                                                                                            <asp:Label ID="Comments" runat="server" Text='<%# Eval("Comments") %>'></asp:Label>
                                                                                        </ItemTemplate>
                                                                                    </telerik:GridTemplateColumn>
                                                                                </Columns>
                                                                            </telerik:GridTableView>
                                                                        </DetailTables>
                                                                        <ExpandCollapseColumn Visible="True">
                                                                        </ExpandCollapseColumn>
                                                                        <Columns>
                                                                            <telerik:GridButtonColumn Text="Select" UniqueName="Select" CommandName="Select"
                                                                                HeaderStyle-Width="50px" ItemStyle-Width="50px">
                                                                            </telerik:GridButtonColumn>
                                                                            <telerik:GridBoundColumn HeaderText="ID" DataField="FeedbackID" ReadOnly="true" HeaderStyle-Width="50px"
                                                                                ItemStyle-Width="50px">
                                                                            </telerik:GridBoundColumn>
                                                                            <telerik:GridBoundColumn HeaderText="Site Type" DataField="FeedbackSiteType" ReadOnly="true"
                                                                                HeaderStyle-Width="60px" ItemStyle-Width="60px">
                                                                            </telerik:GridBoundColumn>
                                                                            <telerik:GridBoundColumn HeaderText="Feedback Type" DataField="FeedbackType" ReadOnly="true"
                                                                                HeaderStyle-Width="75px" ItemStyle-Width="75px">
                                                                            </telerik:GridBoundColumn>
                                                                            <telerik:GridBoundColumn HeaderText="Importance" DataField="FeedbackImportance" ReadOnly="true"
                                                                                HeaderStyle-Width="75px" ItemStyle-Width="75px">
                                                                            </telerik:GridBoundColumn>
                                                                            <telerik:GridBoundColumn HeaderText="Description" DataField="Description" ReadOnly="true"
                                                                                HeaderStyle-Width="200px" ItemStyle-Width="200px">
                                                                            </telerik:GridBoundColumn>
                                                                            <telerik:GridBoundColumn HeaderText="Entered Date" DataField="EnteredDate" DataFormatString="{0:d}"
                                                                                ReadOnly="true" HeaderStyle-Width="75px" ItemStyle-Width="75px">
                                                                            </telerik:GridBoundColumn>
                                                                            <telerik:GridBoundColumn HeaderText="Entered By" DataField="UserName" ReadOnly="true"
                                                                                HeaderStyle-Width="75px" ItemStyle-Width="75px">
                                                                            </telerik:GridBoundColumn>
                                                                            <telerik:GridBoundColumn HeaderText="Sponsor" DataField="Sponsor" ReadOnly="true"
                                                                                HeaderStyle-Width="75px" ItemStyle-Width="75px">
                                                                            </telerik:GridBoundColumn>
                                                                            <telerik:GridBoundColumn HeaderText="Status" DataField="FeedbackStatus" ReadOnly="true"
                                                                                HeaderStyle-Width="75px" ItemStyle-Width="75px">
                                                                            </telerik:GridBoundColumn>
                                                                            <telerik:GridBoundColumn HeaderText="Developer" DataField="AssignedDeveloper" ReadOnly="true"
                                                                                HeaderStyle-Width="60px" ItemStyle-Width="60px">
                                                                            </telerik:GridBoundColumn>
                                                                            <telerik:GridBoundColumn HeaderText="Start Month" DataField="StartMonth" ReadOnly="true"
                                                                                HeaderStyle-Width="75px" ItemStyle-Width="75px">
                                                                            </telerik:GridBoundColumn>
                                                                            <telerik:GridBoundColumn HeaderText="End Month" DataField="EndMonth" ReadOnly="true"
                                                                                HeaderStyle-Width="75px" ItemStyle-Width="75px">
                                                                            </telerik:GridBoundColumn>
                                                                            <telerik:GridBoundColumn HeaderText="Dev Hours" DataField="TimeEst" ReadOnly="true"
                                                                                HeaderStyle-Width="60px" ItemStyle-Width="60px">
                                                                            </telerik:GridBoundColumn>
                                                                            <telerik:GridBoundColumn HeaderText="% Complete" DataField="PercentComplete" DataFormatString="{0:P0}"
                                                                                ReadOnly="true" HeaderStyle-Width="60px" ItemStyle-Width="60px">
                                                                            </telerik:GridBoundColumn>
                                                                        </Columns>
                                                                    </MasterTableView>
                                                                    <PagerStyle Position="TopAndBottom" />
                                                                    <HeaderStyle Width="100px" />
                                                                    <ClientSettings>
                                                                        <Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true" ScrollHeight="500px"
                                                                            FrozenColumnsCount="5"></Scrolling>
                                                                    </ClientSettings>
                                                                     <ExportSettings ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true"
                                                                        HideStructureColumns="true" Pdf-PageBottomMargin=".5" Pdf-PageTopMargin=".5"
                                                                        Pdf-PageLeftMargin=".5" Pdf-PageRightMargin=".5" Pdf-PaperSize="Legal" Pdf-PageWidth="356mm"
                                                                        Pdf-PageHeight="216mm" />
                                                                </telerik:RadGrid>
Daniel
Telerik team
 answered on 26 Jan 2011
7 answers
174 views
Hi Telerik team

I enable the AutoResizeHeight property in the radeditor, it works perfect in Design Mode, however when I switch to Html Mode, it appears again. Can some tell me how to remove this too? or should AutoResizeHeight property also can remove the double scroll-bar in html mode?


Thanks
Rumen
Telerik team
 answered on 26 Jan 2011
6 answers
82 views
Hi all,

I am on the very last version of DotNetNuke 05.05.00 and I am encountering a very weird problem with Telerik RAD Editor.
First I precise that I have already post this thread on the DNN forum and for them the problem is not linked with the provider but with the editor itself.

Actually it seems there is a problem with the formatting of the HTML code generated with the editor. Each time I Preview the content of my article or I save it, I got blank lines added in my article. So if i preview the content 5 times, 5 lines will be added, even If I don't touch anything inside the content...

I precise that the article has been entirely written in the editor (nothing linked with Word formatting), and that it doesn't happen in all my articles.

Below is the very simple HTML code entirely generated by the editor:

<p style="text-align: center; margin: 0cm 0cm 0pt;"><span style="font-family: segoe ui; color: #ffc000; font-size: 14px;"> <span style="color: #000000; font-size: 12px;">---</span></span> </p>
<p style="text-align: center; margin: 0cm 0cm 0pt;"><strong><span style="font-family: arial; color: #ffc000; font-size: 14px;">daily partners on roads round France </span>
<p style="text-align: left; margin: 0cm 0cm 0pt;"><span style="font-family: segoe ui; font-size: 12px;"><span style="font-family: arial;">To download a powerpoint please click </span>here</span></p>
</strong></p>

To test it, just add an HTML module, insert the HTML code and try just to preview or save it and you will see what I mean.

This problem is becoming very annoying for the contributors of my portal, because they cannot do anything to correct it, they have to strip all formating and restart each time. I have tried to reproduce the problem and it seems that it's linked with the "New Paragraph" functionnality and also the bulleted list.

First, can you reproduce that problem ? Just tell me if you want some additional information, the resolution of this problem is very important for my business.

Thanks for your help,

Regards,
Nicolas
Rumen
Telerik team
 answered on 26 Jan 2011
1 answer
380 views
Hey at Telerik

I would like to turn of grouping in a radgrid with the click of a button.

When i try to enable Grouping everything goes well.

this

 

.RadGrid1.ShowGroupPanel = true;

 

 

this.RadGrid1.GroupingEnabled = true;

I then drag a column to group by and everything works as it should.

At last i wanna turn of grouping by calling

 

this.RadGrid1.ShowGroupPanel = false;

 

 

this.RadGrid1.GroupingEnabled = false;

Grouping is not turned off properly, but only hidden. The dragged column remains in the GroupPanel. (I can see this if i enable grouping again)

Is there any way to clear the GroupPanel of grouped items so the grouping functionality is turned off properly ?

Sincerly Jan

Tsvetina
Telerik team
 answered on 26 Jan 2011
1 answer
34 views
Hi All

             I have a customcontrol.Custom control contains load-on-demand grid in combobox and a radgrid .radgrid is palced inside a radwindow.the radgrid popup when i click a button which is inside custom control.
I just assign datasource to radgrid and radcombobox in my page in every postback.If i place that custom control inside the complex control like repeater.It shows some java script error.Custom control is  working fine outside the Repeater.

Please do let me know what the problem might be.
Tsvetina
Telerik team
 answered on 26 Jan 2011
12 answers
178 views
Hi,
 
        I'm using Rad spell in Rad tab strip, Its working fine in First tab once i navigated to second tab ,though the controlstocheck to have different 2nd tab strip text box clientID, it wil checking first Tabstrip Textbox or Some times shows spell check complete.Pls help me to solve this problem.


Thank you in advance...


By Balaji.T
Lini
Telerik team
 answered on 26 Jan 2011
1 answer
122 views
I've got a grid that is trying to export images that are on my website, but the images themselves reside on a file server on our local network. The file share is mapped using an IIS virtual directory and NOT stored on the webserver.

So while the grid can display the images, the PDF export fails because it can't map it to the remote server. Instead of trying to find the file at
\\fileserver\\share\image.jpg it keeps trying to find it at C:\\<website directory>\share\image.jpg which doesn't exist.

Is this a limitation of the PDF export or can I make this work?

Thanks in advance.

David
Daniel
Telerik team
 answered on 26 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?