Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
130 views
Pasting from excel automatically strips formatting when my formatting options are set to Telerik.Web.UI.EditorStripFormattingOptions.None

Pasting from excel to word, then to the radeditor preserves the formatting (albeit, i get a prompted to see if i want to strip formatting).

Is this normal behaviour?
Rumen
Telerik team
 answered on 11 Jun 2009
1 answer
86 views

Something I would've expected to have no issues, but a simple toolbar/toolbar button in Mozilla has the image stretched to display across the entire button. Debatably worse, the button is non-functional/NavigateUrl does not work (and, no, there are no Javascript errors on the page).

Works fine in IE.

The image in question is 44x39, so size shouldn't be an issue.

An example with Mozilla on the top, IE on the bottom can be found here:

RadToolBarButton issue
http://siffalo.com/toolbar.jpg

And here's the mark-up with ToolTip and NavigateUrl removed for brevity:

<telerik:RadToolBar runat="server"><Items><telerik:RadToolBarButton ToolTip="..." NavigateUrl="..." ImageUrl="~/images/xDIcon44Shadow.png" Text="Your xDComposer Solution" CssClass="utWizardButton"></telerik:RadToolBarButton></Items></telerik:RadToolBar>

utWizardButton is just:

{ width: 192px }

Removing that just makes the buttons variable width.

The example above is in a RadGrid template column, but the issue also happens in the content of a RadDock, so I don't think it's particularly related to a specific parent control.

Kamen Bundev
Telerik team
 answered on 11 Jun 2009
1 answer
132 views
Hi Is there a way to diable all the days in a month on the calendar control then re-enable certain days depending on if we needed them to be re-enabled

Many thanks
Shinu
Top achievements
Rank 2
 answered on 11 Jun 2009
3 answers
124 views
Hi, i am currently develop a form using rad combo box. Everything look OK when i am view it by using IE7. But the width of combo box will expand itself when using IE8. when can i do to solve this problem?? anyone can give me solution as soon as possible?thanks

best regards:
sk
Jorgen
Top achievements
Rank 1
 answered on 11 Jun 2009
1 answer
195 views
Hi,

I am using radgrid for asp.net.

in that grid i need to fill dropdown list within the item template through code behind.

my problem is the data for the dropdown list is changed for each row.

how can i fill the dropdown list with different data for each row?

pls give me the suggestion.


thanks,

Shinu
Top achievements
Rank 2
 answered on 11 Jun 2009
1 answer
144 views
I created two new tool buttons to the RadEditor by using this code:

<telerik:EditorToolGroup>
             <telerik:EditorTool Name="RTL"  Text="RTL" ShowText="true" ShowIcon="false" Width="25px" />
               <telerik:EditorTool Name="LTR"  Text="LTR" ShowText="true" ShowIcon="false" Width="25px" />
</telerik:EditorToolGroup>

I am looking for these commands to change the editor style from a Left-To-Right style to Right-To-Left style.
The styles work fine when I change them from C# code behind.
But I am unable to attach code behind events to the new Editor Tools (As there a way to do so???) so I try using the following JavaScript code: (As seen in your samples).
<script type="text/javascript">
            Telerik.Web.UI.Editor.CommandList["RTL"] = function(commandName, editor, args) {
                editor.DialogsCssFile = "Styles/RadEditor_Dialogs_RTL.css";
                editor.ContentAreaCssFile = "Styles/EditorContentArea_RTL.css";
                alert('RTL');
            };

            Telerik.Web.UI.Editor.CommandList["LTR"] = function(commandName, editor, args) {
                editor.DialogsCssFile = "";
                editor.ContentAreaCssFile = "";
                alert('LTR');
            };
 </script>

The code gets called alright, but has no effect on the editor style.
(If I run similar code from the code behind the styles work, but I need the code to execute via the new tool buttons)

I'd appreciate any help you can provide.

Tervel
Telerik team
 answered on 11 Jun 2009
2 answers
124 views
Hi All,

I have a radgrid with datas

I have set the EditMode=Popup

I have set int EditFormSettings (CaptionFormatString="Edit This Record : {0}" )

So that while the edit is clicked, a popup appears with the heading Edit This Record.

But while clicking the add new record, the popup appears without any heading.

Is there any option for setting the heading for add new record also.

Thank you

-Anto


Anto (DLL Version : 2008.3.1314.35)
Top achievements
Rank 2
 answered on 11 Jun 2009
3 answers
84 views
Using Firefox 3.0.10 on Vista x64.

Go to http://demos.telerik.com/aspnet-ajax/editor/examples/filemanagers/defaultcs.aspx.  The dialogs won't open.  Nothing happens.  Any idea?  This also happens with my application.
Lini
Telerik team
 answered on 11 Jun 2009
4 answers
226 views
Hi,

I want to achief the following:
I have a table in SQL server with 2 columns (DateTime column and Value(double) column)
I want to chart this as line-graph in a webpart, wich is placed in a webpartzone and nexted in an ajax updatepanel. The intervals DateTime in the SQL table are not regular based; sometimes I've 2 samples in 1 minute, sometimes 1 sample in 15 minutes or anything between. I want regular X-Axis labels (every 6 hours relative to midnight). I want zooming functionality and would like point-markers with tooltips that show the timestamp and exact value.

Telerik Charts seems to have it all, but can't get it to work together :-(

1.)    I'm trying to get charting work, with on the X-Axis neat timestamps in date-time format. I want to set these timestamp labels in code behind to get nice timestamps in stead of "1/1/2009 13:32:56" witch is real data from the table. For example "1/1/2009 00:00:00", "1/1/2009 06:00:00", "1/1/2009 12:00:00", "1/1/2009 18:00:00", "2/1/2009 00:00:00", "2/1/2009 06:00:00", "2/1/2009 12:00:00", "2/1/2009 18:00:00".  I tried this:

trend.PlotArea.XAxis.Clear();

 

for (int j = 8; j >= 0; j--)

trend.PlotArea.XAxis.AddItem(

DateTime.Now.Subtract(TimeSpan.FromHours(j)).ToOADate().ToString());

 

 

 

The data from sql has to me mapped to the correct position according to the X-Axis labels. I don't know how to do this.  Next problem is, when setting a x-axis series with OADate() elements is to get the trend.PlotArea.XAxis.Appearance.ValueFormat = Telerik.Charting.Styles.ChartValueFormat.LongTime; to Date and time display.

2.)    When I don't set X-axis labels from code-behind (as told above), but just binding the chart to the sql table and mapping the DateTime column to the X-Axis.

 

trend.PlotArea.XAxis.DataLabelsColumn = "DatumTijd";

 

 
It shows the data correctly and I can Zoom in the chart. This feature works great. Except when placing this chart inside an ajax updatepanel. (Actualy I create the whole chart in a code-behind dll wich is actualy a webpart. The webpart is instanciated and placed in a webpartzone and the webpartzone is in an ajax updatepanel, so the rendered content wil be nested inside a div/table inside a webpartzone, inside an ajax updatepanel). Then the X-Axis will be drawn on top of the chart(instead of under). Data(graph-line) is sometimes rendered on the wrong place accoriding to the Y-Axis (looks like the Y-Axis is mirrored)

3.)       Datapoint markers are drawn correctly with:
series.Appearance.PointMark.Visible = _showValues;

 

 

 

 

series.Appearance.PointMark.Border.Width = 2;

 

 

 

 

series.Appearance.PointMark.Border.Color = System.Drawing.Color.Red;

 

 

 

 

series.Appearance.PointMark.Dimensions.AutoSize = false;

 

 

 

 

series.Appearance.PointMark.Dimensions.Height = 5;

 

 

 

 

series.Appearance.PointMark.Dimensions.Width = 5;

 

 

 

 

 

 

Except for the tooltips wich are generated in:
void RadChart2_ItemDataBound(object sender, Telerik.Charting.ChartItemDataBoundEventArgs e)

{

 

if (_showValues)

 

 

e.SeriesItem.ActiveRegion.Tooltip =

DateTime.FromOADate(e.SeriesItem.XValue).ToString();

 

 

}

 

 

 

Tooltips are never displayed (will tooltips work with zooming enabled???)

4.)    How to turn off the values inside the graph that display next to the data-points.

I hope someone can put me on the right track and I still hope that all requested features can be compined together.

Thanks for your help,

Arno

Vladimir Milev
Telerik team
 answered on 11 Jun 2009
1 answer
66 views
Hello All,

I created generic control which implements load ahead data using telerik:RadComboBox. Everything is working fine as per my requirement.

But there is one issue, When I click on down arrow of combobox I can see the one request comes to server, I strongly believe its not postback, but anyhow I can get new request.

Can anyone come accross this situation? Any help on this?

Regards,
Imran
Princy
Top achievements
Rank 2
 answered on 11 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?