Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
161 views
I'm wanting to change the font & color for the axis label for a line chart. How do I go about doing that? I attempted to place a CssClass on the RadHTMLChart control but that didn't have any effect. Any help would be greatly appreciated.
Marin Bratanov
Telerik team
 answered on 03 Aug 2012
3 answers
140 views
Hi, I want to buy your product but I am making test before
So, I try to use this control (radeditor) and happend this error.
I dont know what this means.

System.InvalidOperationException: 'C:\inetpub\wwwroot\ferramentas\App_Data\RadSpell\en-US.tdf' is missing. The spellchecking functionality of RadEditor requires a dictionary file named 'en-US.tdf' in the 'C:\inetpub\wwwroot\ferramentas\App_Data\RadSpell\' folder. Please, ensure that all needed dictionary files from the original RadEditor distribution are present. See the help for more details Controls > RadEditor > Spellchecker

Can you help me?
Rumen
Telerik team
 answered on 03 Aug 2012
1 answer
111 views
Hello, when I try to use RadSheduler always show a border top in days header.
How I do to remove this line.
PS.: Look my example in attached file.

Best Regards
Plamen
Telerik team
 answered on 03 Aug 2012
3 answers
91 views
Hi.

I have a grid that is loaded on demand, and when I create a group and add it to the mastertableview, the Grid does not page (I click on the page 2, but it doesn't change the page and the records remain the the same of the page 1).

What am I doind wong? Any idea?
Pavlina
Telerik team
 answered on 03 Aug 2012
1 answer
366 views

I was hoping to get some information on an issue that I ran into when running my website through Fortify. I have a feeling that it is a false positive, but need some air tight logic that can explain why these issues should not be a concern to the client. Or if it is not a false positive, how should I go about resolving the issue.

 

My web code returned two issues under the category of "Cross-Site Request Forgery". The files in question are Controls.js and SpellCheckService.js. Fortify says "Applications that use session cookies must include some piece of information in every form post that the back-end code can use to validate the provenance of the request. One way to do that is to include a random request."

 

I did some searching to see if this issue has been brought up before and what the resolution might be, but was unable to find anything that I could use to explain the issue.

 

I am not sure if this issue could be valuable to an attacker as a CSRF target and whether or not an appropriate mitigation techniques need to be in place. But like I said above I need to explain clearly why it does not have the potential to be exploited if that is in fact the case in this example. Thanks for your help and I look forward to you explanation.

 

Controls.js:

Line 2072:_65.open("POST",url,true);

 

SpellCheckService.js:

Line 50: this._xmlHttpRequest.open("POST",this.GetTimeStampedCallbackUrl(),true);

Niko
Telerik team
 answered on 03 Aug 2012
2 answers
131 views
Hi !!!

I have a radscheduler with some appointments binded from data base, it works fine, but the trouble is Im trying to open a radwindow just when an appointment is clicked, but i can't get this, somebody can help me and tell me how can i do that ?

Thanks,
Steven.
Steve
Top achievements
Rank 2
 answered on 03 Aug 2012
1 answer
53 views
Hi, I was wondering if there was a way to add the radajaxmanager specifically to the sort command of a radgrid.  I am pretty sure this has to be done pro grammatically using Vb.net or C#.  For example here is an example where I specifically added the radajax functionality to a LinkButton control within a radgrid programmatically using VB.net.....

 Protected Sub Radgrid_AddRemoveProvider_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles Radgrid_AddRemoveProvider.PreRender
       For Each item As GridDataItem In Radgrid_AddRemoveProvider.MasterTableView.Items
    
            Dim btnAddProvider As LinkButton = DirectCast(item.FindControl("btnAddProvider"), LinkButton)
            Dim btnRemoveProvider As LinkButton = DirectCast(item.FindControl("btnRemoveProvider"), LinkButton)

            'Add radajax functionality to only specific controls within radgrid
            radAjaxManager1.AjaxSettings.AddAjaxSetting(btnAddProvider, Radgrid_AddRemoveProvider)
            radAjaxManager1.AjaxSettings.AddAjaxSetting(btnRemoveProvider, Radgrid_AddRemoveProvider)
        Next

End Sub

Since the 'Sorting' within a radgrid is not a control, I do not know how to add it to the ajaxmanager.  Please Assist...
Eyup
Telerik team
 answered on 03 Aug 2012
3 answers
164 views

I just add the file explorer to my project and  the design view on VS2010 show the following message:

Error Creating Control - RadMultipage1
The control collection cannot be modified during DataBind, Init, Load, PreRender or Unload phases.

I spend already a few hours trying different solutions and nothing seems to make it work.
The application work OK but in the design view on VS2010 the control is broken.

I have version ASP.NET AJAX Q1 2012 SP1

Vessy
Telerik team
 answered on 03 Aug 2012
6 answers
167 views
It appears that with the latest SP1 of Q2 2012 (or maybe Q2...not sure when it started happening), the GridHyperLinkColumns are only sortable if you specify "AllowSorting='True'" on them.  Before, we were able to just put the SortExpression, like you can do with the GridBoundColumn.  It would take me awhile to actually go back to a previous version in order to verify this is really the case, but I am fairly sure that the columns in our app that are GridHyperLinkColumns did use to sort, if they had a SortExpression on them, and now they don't.  I verified that the latest version does work this way in a new web application.  I can't imagine this behavior would change on purpose.  Anyone else experience this one?

Sample code used:

<%@ Page Title="Home Page" Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="TelerikSortTest._Default" %>
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<html>
<head><title></title></head>
<body>
    <form runat="server">
    <asp:ScriptManager runat="server" ID="ScriptManager1" />
    <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="false" OnNeedDataSource="RadGrid1_NeedDataSource" AllowSorting="true">
        <MasterTableView>
            <Columns>
                <telerik:GridHyperLinkColumn SortExpression="Name" HeaderText="Name" DataTextField="Name" DataNavigateUrlFormatString="CampaignEdit.aspx?CampaignKey={0}" DataNavigateUrlFields="PCM_CampaignKey" />
                <telerik:GridBoundColumn SortExpression="Description" HeaderText="Description" DataField="Description" />
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>
    </form>
</body>
</html>

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
 
namespace TelerikSortTest
{
  public partial class _Default : Page
  {
    protected void Page_Load(object sender, EventArgs e)
    {
 
    }
 
    protected void RadGrid1_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
    {
      var data = new[] { new { PCM_CampaignKey = 1, Name = "Item ABC", Description = "Description ABC" },
        new { PCM_CampaignKey = 2, Name = "Item DEF", Description = "Description DEF"},
        new { PCM_CampaignKey = 3, Name = "Item GHI", Description = "Description GHI"}};
 
      this.RadGrid1.DataSource = data;
    }
  }
}
Michael
Top achievements
Rank 1
 answered on 03 Aug 2012
1 answer
91 views
Hi Team,

I want to sort groups based on date string such that it is date type sort and not string sort.

How to achieve it for groups and one of the column in the grid?
Thanks,
Manoj Verma.
Kostadin
Telerik team
 answered on 03 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?