Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
265 views
Hello,

I'm currently facing an issue with paragraphs style / format block.
I try to set pre-defined paragraph style in the format block drop down so I add few lines in my toolsFile.xml.
So far everything works great : I have 4 styles I can apply to any text.
I would like my dropdown items to have their own style applied on them but It doesn't work for some css defined classes.

Here's a snippet of my code :

  <paragraphs>
    <paragraph name="&lt;strong>Normal&lt;/strong>" value="&lt;P Class='Al'>" />
    <paragraph name="&lt;p Class='Txtrep3'>Niv 1&lt;/p>" value="&lt;p Class='Txtrep3'>" />
    <paragraph name="&lt;p Class='Txtrep4'>Niv 2&lt;/p>" value="&lt;p Class='Txtrep4'>" />
    <paragraph name="&lt;p Class='Remarque'>Remarque&lt;/p>" value="&lt;p Class='Remarque'>" />
  </paragraphs>


(I didn't use the format code block because it was totally unreadable)

So for example the first item "Normal" is well-rendered in the dropdown but others haven't got any style applied on them.
I can't figure out what's wrong as it works well when I want to define a style for any selected text.

Any help would be welcome !


Alexandre.

PS : RadEditor is sometimes acting weird, could It be possibly due to the trial version ? We plan on buying 2 licences and I wish this will solve out those strange behavior.
Stanimir
Telerik team
 answered on 16 Jun 2011
1 answer
90 views
Please take a look at the pic below, as you can see, I have resized my page to fit within the windows, however, the horizontal scroller (as I have marked red), still show up like that (looks like my page is so so horizontally large), it makes my Visual Studio become hang sometime, due to the fact the page is so "large". Please help me how to fix it.

http://imageshack.us/f/577/screenshotva.png

* I noticed that it's happen whenever I drop in any RadComboBox in the page. (The problem is gone after I remove ALL the RadComboBox on the page). Is it a bug within RadComboBox
Dimitar Terziev
Telerik team
 answered on 16 Jun 2011
1 answer
140 views
Hi Telerik,

We are running MOSS 2007, IE8, and RadEditor version 5.8.0

We are receiveing the following error in our server event logs:

Event Type: Error
Event Source: Windows SharePoint Services 3
Event Category: Web Controls
Event ID: 7043
Date:  14/06/2011
Time:  1:10:55 PM
User:  N/A
Computer: ISSMOSS
Description:
Load control template file /_controltemplates/RadEditorList.ascx failed: Unknown server tag 'telerik:RadHtmlListField'.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

I've opened up the RadEditorList.ascx file and this is the code:

<%@ Control Language="C#" AutoEventWireup="false" %>
<%@Assembly Name="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@Register TagPrefix="SharePoint" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" namespace="Microsoft.SharePoint.WebControls"%>
<%@ Register TagPrefix="telerik" Assembly="RadEditorSharePoint,Version=4.5.0.0,Culture=neutral,PublicKeyToken=1f131a624888eeed" Namespace="Telerik.SharePoint.ListFieldEditor" %>
<%@ Register TagPrefix="radE" Assembly="RadEditor.Net2, Version=7.3.2.0, Culture=neutral, PublicKeyToken=852c9eb6525c1b53" Namespace="Telerik.WebControls" %>
<SharePoint:RenderingTemplate ID="RichTextField" runat="server">
 <Template>
  <telerik:RadHtmlListField id="RadTextField" runat="server" FontSizeCoef="7" />
  <span dir="<%$Resources:wss,multipages_direction_dir_value%>" id="originalEditorContainer" runat="server">
   <asp:TextBox ID="TextField" TextMode="MultiLine" runat="server" />
   <INPUT ID="TextField_spSave" TYPE=HIDDEN NAME="TextField_spSave" runat="server"/>
  </span>
 </Template>
</SharePoint:RenderingTemplate>


Any ideas as to what might be causing the error in the event log to appear?

Thanks,
Claudz

Stanimir
Telerik team
 answered on 16 Jun 2011
1 answer
46 views
I have a Multi-levelled PanelBar.  If the user opens up into, say level3 and then closes the root, I want to collapse all child panels, so that when they open from the root again all children are collapsed.

Can this be done?
Roger
Top achievements
Rank 1
 answered on 16 Jun 2011
16 answers
159 views
Hello,

I'm wondering if there have been any changes to the SharePoint RadEditor that enables the ImageManager to view libraries across different site collections?  It appears that setting an ImagesPaths to anything outside of the current site collection doesn't work.

This would be extremely useful because we're using the RadEditor to edit content from an administration site collection (requires authentication) that ultimately needs to be displayed on a public site collection (no authentication).  To make this work, the images obviously must reside on the public site collection.

The MOSSImageManager allows you to manually type the path to an alternate site collection in the path input box.  However, this image manager is far inferior to the Telerik one.  Is there any reason why the Telerik one couldn't easily provide an option for this?  SharePoint permissions would still govern accessibility of course, so the individual would need to have permissions to access those other site collections.

Thank you,

Chris
Stanimir
Telerik team
 answered on 16 Jun 2011
1 answer
83 views
Hello Team,

can you please provide me sample/example/demo where i can do multiple selection with rad toolbar items. Also can you suggest what control can be used instead of toolbar which supports multiple selections.

Thanks

Mukesh
Kate
Telerik team
 answered on 16 Jun 2011
1 answer
59 views
hi
i use RadDatePicker in column  of gird . this grid has multiple columns so there is scrolling to see all columns of it
when mouse over RadDatePicker scrolling disappear  and i can't see some columns of grid ....

why scroll disappear ? ?

thanks
Eman 
O'Man
Top achievements
Rank 1
 answered on 16 Jun 2011
1 answer
63 views
Hello ,

can you please provide me  the example how can work multiple selection with rad toolbar items. Also can you suggest me which control can be used instead of toolbar which supports multiple selections.

Thanks

Shiv Kishor
Dimitar Terziev
Telerik team
 answered on 16 Jun 2011
11 answers
411 views
Hi Telerik Team

I have a RadGrid which is fetching data from a DataTable and uses OnNeedDataSource event for databinding. The columns are generated dynamically at runtime based on data from DataTable.
One of the columns of the RadGrid requires a hyperlink to the text displayed. I achieved this in ItemDataBound event where in I added a Hyperlink control to the cell.
This works fine.
But when the page postback occurs due to a change in server-side drop-down outside the Telerik RadGrid, the hyperlinks are not retained.
After page postback occurs, the hyperlinks are gone and data is displayed as plain text instead of hyperlinks.

One of the resolutions I tried is to ReBind() the RadGrid in PreRender event. But after doing that, Export To Excel functionality gives a problem. It gives excel file with an extra cell wherein where in I get custom-added URLS and images which is not expected. I also added IgnorePaging=true and ExportOnlyData=true for the same.

Please provide a resolution for the issue of retaining hyperlinks without affecting the functionality of Export to Excel.
unnati
Top achievements
Rank 1
 answered on 16 Jun 2011
2 answers
109 views
I've not used the charting controls before and have been playing with them today as it looks like we'll need to start using them soon.

All I want to do is display the chart minus any of the titles and legends etc and am having trouble getting the ASP.Net version of the control to sit nicely in the border of the chart, but this seemed fairly easy to do in the WinForms control simply by hiding the legend and the chart title. I tried this in the ASP.Net version but it doesn;t appear to work.

I've attached a couple of images to show what I mean. I would like my chart to appear like the Winforms image below (note the uniform padding/margin around the chart) in my ASP.Net pages, but as you can see, this uniform spacing is lacking in the ASP.Net control.

I've also attached my code so you can see how I have generated the ASP.Net charts and hopefully someone will show me how to correctly set the appearance of my ASP.Net chart.

Thanks.
<telerik:RadChart ID="TestRadChart" runat="server" Width="465px" Height="200px" 
    Legend-Visible="False" ChartTitle-Visible="False" DefaultType="Line" 
    Skin="Default" >
</telerik:RadChart>

protected void Page_Load(object sender, EventArgs e)
{
    Random random = new Random((int)DateTime.Now.Ticks);
    int testValue;
    ChartSeriesItem seriesItem;
    ChartSeriesItemsCollection series1Items = new ChartSeriesItemsCollection();
    ChartSeriesItemsCollection series2Items = new ChartSeriesItemsCollection();
    for (int i = 0; i < 20; i++)
    {
        testValue = random.Next(0, 10);
        seriesItem = new ChartSeriesItem(testValue, (i+1).ToString());
        series1Items.Add(seriesItem);
    }
    for (int i = 0; i < 20; i++)
    {
        testValue = random.Next(0, 10);
        seriesItem = new ChartSeriesItem(testValue, (i + 1).ToString());
        series2Items.Add(seriesItem);
    }
    ChartSeries chartSeries1 = new ChartSeries();
    chartSeries1.Items.AddRange(series1Items);
    chartSeries1.Appearance.TextAppearance.Visible = false;
    chartSeries1.Type = ChartSeriesType.Line;
    chartSeries1.Appearance.LegendDisplayMode = ChartSeriesLegendDisplayMode.Nothing;
    ChartSeries chartSeries2 = new ChartSeries();
    chartSeries2.Items.AddRange(series2Items);
    chartSeries2.Appearance.TextAppearance.Visible = false;
    chartSeries2.Type = ChartSeriesType.Line;
    chartSeries2.Appearance.LegendDisplayMode = ChartSeriesLegendDisplayMode.Nothing;
    TestRadChart.Series.Add(chartSeries1);
    TestRadChart.Series.Add(chartSeries2);
    TestRadChart.Legend.Visible = false;
      
}
Karl
Top achievements
Rank 1
 answered on 16 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?