I have what I think is a straight forward problem with what I hope is a simple solution. I want to create a chart in ASPX with two series of data, one that shows up as a line, and one that show up as point data. So I created a chart with two series and gave them their appropriate types. However both data sets show up as points. Here are the important lines:
| <telerik:RadChart ID="CPUIdle_RadChart" runat="server" DataSourceID="myData" |
| Skin="Gradient" DefaultType="Point"> |
| <telerik:RadChart ID="CPUIdle_RadChart" runat="server" DataSourceID="myData" |
| Skin="Gradient" DefaultType="Point"> |
| <ChartTitle> |
| <Appearance Corners="Round, Round, Round, Round, 3" Position-AlignedPosition="Top"> |
| <FillStyle MainColor="177, 183, 144"> |
| </FillStyle> |
| <Border Color="64, 64, 64" /> |
| </Appearance> |
| <TextBlock Text="CPU at Idle"> |
| <Appearance AutoTextWrap="Auto" TextProperties-Color="White" TextProperties-Font="Verdana, 14.25pt, style=Bold"> |
| </Appearance> |
| </TextBlock> |
| <Marker> |
| <Appearance Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3" > |
| </Appearance> |
| </Marker> |
| </ChartTitle> |
| <Series> |
| <telerik:ChartSeries Name="ThisMachine" Type="Line"> |
| <Appearance> |
| <FillStyle MainColor="199, 243, 178" SecondColor="17, 147, 7"> |
| </FillStyle> |
| <LabelAppearance Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3" Dimensions-Margins="1px, 1px, 1px, 1px" |
| Dimensions-Paddings="1px, 1px, 1px, 1px"> |
| </LabelAppearance> |
| <PointMark Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3"> |
| </PointMark> |
| <TextAppearance TextProperties-Color="Black"> |
| </TextAppearance> |
| <EmptyValue Mode="Approximation"> |
| <PointMark Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3" Dimensions-Margins="1px, 1px, 1px, 1px"> |
| </PointMark> |
| </EmptyValue> |
| <Border Color="Black" /> |
| </Appearance> |
| </telerik:ChartSeries> |
| <telerik:ChartSeries Name="EcoSystem" Type="Point"> |
| <Appearance Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3"> |
| <FillStyle MainColor="253, 226, 0" SecondColor="255, 156, 0"> |
| </FillStyle> |
| <LabelAppearance Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3" Dimensions-Margins="1px, 1px, 1px, 1px" |
| Dimensions-Paddings="1px, 1px, 1px, 1px"> |
| </LabelAppearance> |
| <PointMark Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3"> |
| </PointMark> |
| <TextAppearance Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3" Dimensions-Margins="1px, 1px, 1px, 1px" |
| Dimensions-Paddings="1px, 1px, 1px, 1px" TextProperties-Color="Black"> |
| </TextAppearance> |
| <EmptyValue> |
| <PointMark Corners="Rectangle, Rectangle, Rectangle, Rectangle, 3" Dimensions-Margins="1px, 1px, 1px, 1px"> |
| </PointMark> |
| </EmptyValue> |
| <Border Color="Black" /> |
| </Appearance> |
| </telerik:ChartSeries> |
| </Series> |
RadAjaxManager
.GetCurrent(this.Page).ResponseScripts.Add("radopen(null,\"dlgTest\");");
The first time I run it I get the following error:
Sys.WebForms.PageRequestManagerParserErrorException: The message received From the server could not be, parsed. Common causes for this error are when the response is modiFied by calls to Response.WriteO, response filters, HttpModules, or server trace is enabled
Details: Error parsing near 'play:none;”>/span>|<html>
<head>
'.
Every time I select a row in the grid after cancelling this message, the dialog will load but the data does not change after the first time it loads.
Does anyone have any suggestions or sample of how I could do this? Following is a link to a test project where I've been able to reproduce the problem:
http://sites.google.com/site/pbbgso/Home/TelerikGridTest.zip?attredirects=0
Just click on one of the link buttons in the grid to get the error. This is where I'd like to launch the window.
| January, 2009 | 51 |
| December, 2008 | 93 |
| July, 2008 | 33 |
| June, 2008 | 4 |
| March, 2008 | 9 |
| February, 2008 | 46 |
| January, 2008 | 44 |
| December, 2007 | 45 |
| November, 2007 | 70 |
| October, 2007 | 111 |
| September, 2007 | 104 |
| August, 2007 | 33 |
| July, 2007 | 4 |
| <telerik:RadGrid ID="gridSummary" runat="server" AutoGenerateColumns="False" |
| GridLines="None" ShowFooter="True" Skin="WebBlue" Width="300px"> |
| <HeaderContextMenu EnableTheming="True"> |
| <CollapseAnimation Type="OutQuint" Duration="200"> |
| </CollapseAnimation> |
| </HeaderContextMenu> |
| <HeaderStyle Width="150px" /> |
| <MasterTableView> |
| <RowIndicatorColumn> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </RowIndicatorColumn> |
| <ExpandCollapseColumn> |
| <HeaderStyle Width="20px"></HeaderStyle> |
| </ExpandCollapseColumn> |
| <Columns> |
| <telerik:GridHyperLinkColumn DataNavigateUrlFields="yr,mo" |
| DataNavigateUrlFormatString="usagedata.aspx?typ=detail&yr={0}&mo={1}" |
| DataTextField="periodname" UniqueName="period"> |
| <HeaderStyle HorizontalAlign="Right" /> |
| <ItemStyle HorizontalAlign="Right" /> |
| </telerik:GridHyperLinkColumn> |
| <telerik:GridNumericColumn DataField="logons" Aggregate="Sum" |
| FooterAggregateFormatString="{0} total logons" HeaderText="# of Logons" |
| NumericType="Number" UniqueName="logons1"> |
| </telerik:GridNumericColumn> |
| </Columns> |
| </MasterTableView> |
| <FilterMenu EnableTheming="True"> |
| <CollapseAnimation Type="OutQuint" Duration="200"> |
| </CollapseAnimation> |
| </FilterMenu> |
| </telerik:RadGrid> |
Hi
I customized the editor tools with a config similar with the one below (only a little longer):
<Tools>
<telerik:EditorToolGroup DockingZone="Bottom" >
<telerik:EditorTool Name="AbsolutePosition" ShowIcon="true" />
<telerik:EditorTool Name="TrackChangesDialog" Enabled="true" ShowIcon="true" />
</telerik:EditorToolGroup>
</Tools>
My problem is that I don't know how what are the settings to make the words and charater count visible and also
the html hierarchy (Ex: UL > LI > STRONG > EM > U > STRIKE > FONT > FONT > RemoveElement).
If I don't do any settings they are visible.
PS: telerik:EditorToolGroup DockingZone="Bottom" DockingZone attribute is not visible in the VS2005 designer.
I use VS2005 + telerik Q3 2008 (I'll update to 2009 as soon as I have some time ).
| If Not IsDBNull(myreader("rollovertext")) Then |
| Dim tooltip As New Telerik.Web.UI.RadToolTip |
| Dim qimage As New System.Web.UI.WebControls.Image |
| Dim imgname As String |
| imgname = "img" & CStr(myreader("CalcOrderID")) |
| With qimage |
| .ImageUrl = CStr(myreader("ImgPath")) |
| .ID = imgname |
| End With |
| With tooltip |
| .ID = "tooltip" & CStr(myreader("CalcOrderID")) |
| .TargetControlID = qimage.id |
| .Text = CStr(myreader("rollovertext")) |
| .Width = "150" |
| .AutoCloseDelay = 10000 |
| .Skin = "Web20" |
| .Position = ToolTipPosition.MiddleRight |
| .OffsetY = 0 |
| .OffsetX = 10 |
| .ShowDelay = 300 |
| End With |
| helpcell.Controls.Add(qimage) |
| helpcell.Controls.Add(tooltip) |
| End If |
| <img id="img2" src="images/qmark16.png" style="border-width:0px;" /><div id="tooltip2" style="display:none;"> |
| <input id="tooltip2_ClientState" name="tooltip2_ClientState" type="hidden" /> |
| Sys.Application.add_init(function() { |
| $create(Telerik.Web.UI.RadToolTip, {"autoCloseDelay":10000,"clientStateFieldID":"tooltip2_ClientState","formID":"form1","offsetX":10,"offsetY":0,"position":23,"showDelay":300,"skin":"Web20","targetControlID":"img2","text":"roll 3","width":"150px"}, null, null, $get("tooltip2")); |
| }); |