Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
291 views

When the complaint came in that my line graph didn't have visible points at the values, I thought it would be an easy fix.

Somehow, I can't seem to make it happen.

The meat of the code is here:

'Create a series
Dim oSeries As Telerik.Charting.ChartSeries = New Telerik.Charting.ChartSeries()
radChart.Series.Add(oSeries)
 
'make it a line
oSeries.Type = ChartSeriesType.Line
radChart.Series(0).Appearance.FillStyle.MainColor = Color.Red

'add some data
radChart.Series(0).AddItem(3.5)
radChart.Series(0).AddItem(4.5)
radChart.Series(0).AddItem(6.5)
radChart.Series(0).AddItem(8.5)

' try everything and anything to get the points to show up
radChart.Series(0).Appearance.PointMark.Visible = True
radChart.Series(0).Appearance.PointMark.Dimensions.AutoSize = False
radChart.Series(0).Appearance.PointMark.Dimensions.Width.Value = 20
radChart.Series(0).Appearance.PointMark.Dimensions.Height.Value = 20
radChart.Series(0).Appearance.PointMark.FillStyle.FillType = Styles.FillType.Solid
radChart.Series(0).Appearance.PointMark.Figure = Styles.DefaultFigures.Diamond


I'm using the 4.1.6 version of the dll date 3/10/09

I've been searching the Forum for a mention of a similar problem - how bad is your problem when nobody on the internet has ever had it before?

I've attached a jpg of the output.

Please let me know what add't information would be helpful.

Thank you in advance for the help. 

Mark

 

 

Rebecca
Top achievements
Rank 1
 answered on 30 Dec 2011
4 answers
247 views
Hi
Is there an easy way to change the expand/collapse icons in the TreeView.
Many thanks
richard
Top achievements
Rank 1
 answered on 30 Dec 2011
1 answer
197 views
I'm trying to figure out how to implement a filter on a template column that has multiple checkbox values.  

Scenario
The data source that I'm using for my grid control is an ObjectDataSource that is returning a list of business account objects.  This particular column represents a List<> of cost categories objects (contains a name field and boolean isUsed property) that the business account can be used for.  The customer wants all available cost categories displayed as check boxes with the ones associated to the current business account to be checked.  They want to be able to filter this column by selecting one cost category names from a drop down and it to filter the rows to only those that have that cost category checked.

The code below is from the current page (I removed industry specific terms for the sake of clarity). The selected cost categories are being correctly checked during the ItemDataBound and the filter template is being displayed correctly.  However, when I select a value I'm getting the error message following the code.

Code
<telerik:GridTemplateColumn FilterControlAltText="Filter AccountCostCategory column"
    HeaderText="Cost Category" UniqueName="AccountCostCategory">
    <ItemTemplate>
        <asp:CheckBox ID="chkAccountCostCategory_CC1" runat="server" Text="Cost Category 1" />
        <asp:CheckBox ID="chkAccountCostCategory_CC2" runat="server" Text="Cost Category 2" />
        <asp:CheckBox ID="chkAccountCostCategory_CC3" runat="server" Text="Cost Category 3" />
        <asp:CheckBox ID="chkAccountCostCategory_CC4" runat="server" Text="Cost Category 4" />
    </ItemTemplate>
    <FilterTemplate>
        <telerik:RadComboBox ID="ddlAccountCostCategoryFilter" SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("AccountCostCategory").CurrentFilterValue %>'
            runat="server" OnClientSelectedIndexChanged="AccountCostCategoryFilterChanged">
            <Items>
                <telerik:RadComboBoxItem Text="All" />
                <telerik:RadComboBoxItem Text="Cost Category 1" Value="CC1" />
                <telerik:RadComboBoxItem Text="Cost Category 2" Value="CC2" />
                <telerik:RadComboBoxItem Text="Cost Category 3" Value="CC3" />
                <telerik:RadComboBoxItem Text="Cost Category 4" Value="CC4" />
            </Items>
        </telerik:RadComboBox>
        <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
            <script type="text/javascript">
                function AccountCostCategoryFilterChanged(sender, args) {
                    var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
                    tableView.filter("AccountCostCategory", args.get_item().get_value(), Telerik.Web.UI.GridFilterFunction.EqualTo);
                }
            </script>
        </telerik:RadScriptBlock>
    </FilterTemplate>
    <ItemStyle Width="120px" BackColor="#FDE9D9" />
</telerik:GridTemplateColumn>

Error Message
Expression expected
 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
 
Exception Details: Telerik.Web.UI.ParseException: Expression expected
 
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 
 
Stack Trace:
[ParseException: Expression expected]
   Telerik.Web.UI.ExpressionParser.ParsePrimaryStart() +184
   Telerik.Web.UI.ExpressionParser.ParsePrimary() +17
   Telerik.Web.UI.ExpressionParser.ParseUnary() +115
   Telerik.Web.UI.ExpressionParser.ParseMultiplicative() +55
   Telerik.Web.UI.ExpressionParser.ParseAdditive() +60
   Telerik.Web.UI.ExpressionParser.ParseComparison() +55
   Telerik.Web.UI.ExpressionParser.ParseLogicalAnd() +55
   Telerik.Web.UI.ExpressionParser.ParseLogicalOr() +55
   Telerik.Web.UI.ExpressionParser.ParseExpression() +28
   Telerik.Web.UI.ExpressionParser.ParseArguments() +56
   Telerik.Web.UI.ExpressionParser.ParseIif() +94
   Telerik.Web.UI.ExpressionParser.ParseIdentifier() +221
   Telerik.Web.UI.ExpressionParser.ParsePrimary() +17
   Telerik.Web.UI.ExpressionParser.ParseUnary() +115
   Telerik.Web.UI.ExpressionParser.ParseMultiplicative() +55
   Telerik.Web.UI.ExpressionParser.ParseAdditive() +60
   Telerik.Web.UI.ExpressionParser.ParseComparison() +55
   Telerik.Web.UI.ExpressionParser.ParseLogicalAnd() +55
   Telerik.Web.UI.ExpressionParser.ParseLogicalOr() +55
   Telerik.Web.UI.ExpressionParser.ParseExpression() +28
   Telerik.Web.UI.ExpressionParser.ParseParenExpression() +52
   Telerik.Web.UI.ExpressionParser.ParsePrimary() +17
   Telerik.Web.UI.ExpressionParser.ParseUnary() +115
   Telerik.Web.UI.ExpressionParser.ParseMultiplicative() +55
   Telerik.Web.UI.ExpressionParser.ParseAdditive() +60
   Telerik.Web.UI.ExpressionParser.ParseComparison() +55
   Telerik.Web.UI.ExpressionParser.ParseLogicalAnd() +55
   Telerik.Web.UI.ExpressionParser.ParseLogicalOr() +55
   Telerik.Web.UI.ExpressionParser.ParseExpression() +28
   Telerik.Web.UI.ExpressionParser.Parse(Type resultType) +31
   Telerik.Web.UI.GridDynamicQueryable.Where(IQueryable source, String predicate, Object[] values) +172
   Telerik.Web.UI.GridDataTableFromEnumerable.FillData35() +2148
   Telerik.Web.UI.GridDataTableFromEnumerable.FillData() +855
   Telerik.Web.UI.GridResolveEnumerable.EnsureInitialized() +29
   Telerik.Web.UI.GridEnumerableFromDataView..ctor(GridTableView owner, IEnumerable enumerable, Boolean CaseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields, Boolean enableSplitHeaderText) +265
   Telerik.Web.UI.GridDataSourceHelper.CreateGridEnumerable(GridTableView owner, IEnumerable enumerable, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields, Boolean enableSplitHeaderText) +225
   Telerik.Web.UI.GridTableView.get_ResolvedDataSource() +411
   Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) +392
   Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +858
   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +94
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +182
   Telerik.Web.UI.GridTableView.PerformSelect() +206
   Telerik.Web.UI.GridTableView.DataBind() +432
   Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e) +159
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +52
   Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e) +50
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +52
   Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e) +102
   Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument) +7403
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3707


Can someone point me in the right direction?

Thanks,
Kyle
Kyle
Top achievements
Rank 1
 answered on 30 Dec 2011
1 answer
82 views
Hello!

Sure - I can define my own xpath, datavalues etc..but there must be a DEFAULT xml schema setup for this control?

Please..someone tell me where I can get the FULL xml schema definition for RadMenu.
This demo is pathetic - sorry...but it is.

http://demos.telerik.com/aspnet-ajax/menu/examples/programming/xmldefinition/defaultcs.aspx

It states you can use the RadMenu.GetXml() method - but that method does NOT output all of the menu attributes as I'd expect..like url, flow, enabled..

Thanks!


Richard
Top achievements
Rank 1
 answered on 30 Dec 2011
1 answer
76 views
The sitemap control has a font property which can be bolded, but what if I want only certain entries bolded, or even the font color changed.  Can that be done?
Richard
Top achievements
Rank 1
 answered on 30 Dec 2011
1 answer
121 views
Hi,
I design a file upload function,use below this AsyncUpload,RadProgressArea,RadProgressManager in RadAjaxPanel.
When I click one button in RadAjaxPanel, After the page postback, and all of the session value in page will lost.
why? what is the resolution for this?

Thanks All.
Richard
Top achievements
Rank 1
 answered on 30 Dec 2011
3 answers
86 views
Hi,

i have two Template columns in a RadGrid, a RadDatePicker control in one and a RadCombobox in the other.
when user changes the date i need to call  Business Layer method and populate the radcombobox from clientside.

can any one please help me.

Thank you 
Jay
Top achievements
Rank 1
 answered on 30 Dec 2011
3 answers
140 views
I have a situation where we want to use a search method that is already in place for post backs on certain pages, however, they want to use the same method but use it for onkeypress to search while the user is entering to return matches, etc.  obviously the onkeypress is client-side and my method is in a class which I can call from the code behind which is server side. Suggestions on this?
Jeff
Top achievements
Rank 1
 answered on 30 Dec 2011
1 answer
84 views
For some reason IE is not rendering the 'RepeatColumns' Correctly.  My sitemap has 4 groups so I have the RepeatColumns set to 4 like so:
<telerik:RadSiteMap ID="RadSiteMap1" runat="server"
                    DataNavigateUrlField="Title" DataSourceID="RadSiteMapDataSource1"
                    DataTextField="Title" DataValueField="Description" Font-Names="Arial"
                    Font-Size="8pt" ShowNodeLines="True" Skin="Windows7">
                    <LevelSettings>
                        <telerik:SiteMapLevelSetting MaximumNodes="5">
                            <ListLayout AlignRows="True" RepeatColumns="4" />
                        </telerik:SiteMapLevelSetting>
                    </LevelSettings>
                </telerik:RadSiteMap>

However in IE only 3 columns show up and the 4th is on the next line.  Firefox, Chrome, and Safari all render this correctly.

If I set the columns to 5 instead of 4 it works correctly, but then the spacing is wrong because it is compensating for an additional column. 

Any ideas?
Ivan Zhekov
Telerik team
 answered on 30 Dec 2011
1 answer
132 views
I would like to offer users the ability to select from a list of videos, and upon clicking, show that video in a preview window.  Ideally, this would be docked, and would open for the video and then close once the video was completed.  Is this possible?  Are there any demos?
Slav
Telerik team
 answered on 30 Dec 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?