Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
53 views
Hi all,
I am building a new web site over RadControls . the website is a transactional web  application  where users login and perform operation. for right now the site will be accessable common desktop browsers and later version of application will be implement for mobile.So question is that what is the best way to design the system to support that?
Here is what i am thinking ! i am thinking to develop a 3 tier application with sql server database,
can any one please tell me which is the best architecture for RadCotrols and send me a sample code.

Thanks
Regards
kd
kd
Top achievements
Rank 1
 asked on 31 Dec 2011
1 answer
172 views
I have a simple date picker on a form, I am populating that from a database.  I have gotten several errors saying the date is outside Min and Max, but these are legit dates:  9/11/1977, 3/15/1978 and so forth...

See attached images.
Richard
Top achievements
Rank 1
 answered on 30 Dec 2011
2 answers
305 views
Hi, I'm having a problem with RadMultiPage, I'm changing the PageView through javascript command, so when I need to do a check pageview appear in the code that Icreated to update some information, I tried using the load of the pageview, theprerender and nothing worked ... I need to do?

I'm viewing the page view are not viewing the code that I wrote

JavaScript Code:

function ViewPage() {
                var multiPage = $find("<%= RadMultiPage1.ClientID %>");

                var pageView = multiPage.findPageViewByID("PageView1");
                pageView.set_selected(true);
            }
David Simmonds
Top achievements
Rank 1
 answered on 30 Dec 2011
3 answers
322 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
282 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
238 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
121 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
104 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
156 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
94 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
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?