Telerik Forums
UI for ASP.NET AJAX Forum
19 answers
431 views
<telerik:RadTextBox ID="txtTest" runat="server" TextMode="MultiLine" Width="99%" Height="200px"
  MaxLength="1000" Skin="Windows7">
  <ClientEvents OnValueChanged="RegExpCheck" OnValueChanging="RegExpCheck" OnKeyPress="kp" />
</telerik:RadTextBox>

We previously have code using the RadTextBox on multi-line and limiting user input to 1000 characters. This has been working on version 2011.2.712.40. However we got a couple of users complaining that the field gets 'slow' when accepting user input. Users are using IE browser version 7/ 8. Those using IE 9 are fine. Upon testing with the latest version (2012.2.607.40), the 'slowness' issue got resolved, however, the maxlength value is now being ignored.

Please review and let me know if there is a fix for this. Thanks.
Vasil
Telerik team
 answered on 21 Dec 2013
1 answer
85 views
Hi,

I have a RadAjaxLoadingPanel and its working, except for the annoyance that it freezes just before disappearing and showing the output , instead of disappearing smoothly.

I searched and saw that there was already a thread for this:
http://www.telerik.com/community/forums/aspnet-ajax/ajax/radajaxloadingpanel-freezing.aspx

Which says it is a browser limitation,  but with today's browsers IE11 and latest chrome, this issue still persists.
Please help me out, is there anyway to do a smooth transition effect??

Thanks
Maria Ilieva
Telerik team
 answered on 21 Dec 2013
1 answer
200 views
Hi,

I've posted about this issue a couple of times but never got an asnwer. well i finally found the time to look into it.
I have the following 

telerik:RadAjaxManagerProxy runat="server" ID="RadAjaxManagerPRoxy1">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnAcceptReject">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="pnlControls" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>
<asp:HiddenField runat="server" ID="hdnEditedLanguageId" />
<asp:Panel runat="server" ID="pnlAcceptReject">
    <asp:RadioButtonList runat="server" ID="btnAcceptReject" RepeatDirection="Horizontal" CssClass="checkboxlist borderless" ValidationGroup="data" AutoPostBack="true" OnSelectedIndexChanged="radioButtonList_SelectedIndexChanged">
        <asp:ListItem Text="The edition is hereby validated for conformity to standards" Value="0" Selected="True"></asp:ListItem>
        <asp:ListItem Text="The edition does not meet standards and still has to be reviewed" Value="1"></asp:ListItem>
    </asp:RadioButtonList>
    <asp:RequiredFieldValidator ID="vldAcceptReject" ControlToValidate="btnAcceptReject" runat="server" CssClass="text-error" Text="please check an option" ValidationGroup="data"></asp:RequiredFieldValidator>
</asp:Panel>

a RadioButtonList inside a user control, inside a repeater on the page. all fine.
when the radiobutton selection changes, a FULL postsback is performed. i don't want that, i need an ajax postback.
so, got my hands dirty, on the javascript side, i got a reference to the ajax manager and i tried triggering the ajax myself

var mgr=$find('ctl00_ctl00_ContentPlaceHolder1_RadAjaxManager1');
//ContentPlaceHolder1_BookEditions_rptEditableEditions_BookEditionCompletion_0_btnAcceptReject_0_1_0 is the
//id of the radio button input control
mgr.ajaxRequestWithTarget('ContentPlaceHolder1_BookEditions_rptEditableEditions_BookEditionCompletion_0_btnAcceptReject_0_1_0','');

and it worked, i got an ajax call but pnlControls, the panel supposed to be the control to update, does not get refreshed( i am basically disabling/enabling controls based on what button is checked).

This seemed a simple two liner thing to implement but it's turning out to be quite complicated, anyone has an idea how to do it?
Konstantin Dikov
Telerik team
 answered on 21 Dec 2013
1 answer
174 views
hi,


I am able to Check Nodes From Server Side but While un Checking That Element I am Getting M is null Exception in Javascript.
Waiting for your Replay.



Thanks,
Santhosh
Princy
Top achievements
Rank 2
 answered on 21 Dec 2013
1 answer
87 views

Hi,

Good Morning to all!!!

I'm newbie for website projects development. So please guide me to do my task successfully.

My Questions is how to set the border style for the selected date of telerik Rad scheduler month view?

If any clarification on my question, please let me know.

Thanks in advance!!!

Sathy Jay

Shinu
Top achievements
Rank 2
 answered on 21 Dec 2013
1 answer
380 views

Hi

I need help, I have a DatePicker in my web form, I assign the value on the client side and after postback the value is lost.

In try put RadDatePicker  inside the update panel and this not fix the problem.

Regards

Princy
Top achievements
Rank 2
 answered on 21 Dec 2013
2 answers
28 views
Hi.

I am using version 2012.3.1308.40 of the Telerik controls. I have an aspx page with a RadEditor control. When I try to add a link to a document using the Document Manager, nothing gets added after I click insert.

This only happens in IE.

The issue doesn't seem to occur always. Adding a link to a document worked correctly a few times when I tried adding the document before adding any other text. It also worked a few times when I highlighted some text and then clicked on the Document Manager. In those cases, it added the <a> tags around the highlighted text correctly. All the other times I tried as well as each time I would try to add a link inside text that was already there, it did not add anything -- neither the text nor the <a> tag.

Any help is appreciated.
Thanks
Boyan
Top achievements
Rank 1
 answered on 20 Dec 2013
2 answers
86 views

Hello,

We are using the control asp net, radchart .

All generated from the code behind , is fully dynamic control .

The code and data extraction is fast , but when rendering the graph takes between 30 sec and 1 min . With LESS than 200 records. And when you start using will have more than 2000 records

**Sql table columns are plotted.**

**Tooltips necessarily be used.**


The shape that is made is:



tipoReporte = Telerik.Charting.ChartSeriesType.Line;
RadChart1.PlotArea.XAxis.Clear();
RadChart1.PlotArea.XAxis.IsZeroBased = false;
RadChart1.PlotArea.YAxis.AxisMode = Telerik.Charting.ChartYAxisMode.Extended;
RadChart1.PlotArea.XAxis.AutoScale = false;
RadChart1.PlotArea.XAxis.AutoShrink = true;
RadChart1.PlotArea.XAxis.AxisLabel.TextBlock.Text = objRep.ColumnasId[0].Text;
RadChart1.PlotArea.XAxis.AxisLabel.Visible = true;
for (int i = 0; i < dataSource.Tables[0].Rows.Count; i++)
{
    RadChart1.PlotArea.XAxis.AddItem(dataSource.Tables[0].Rows[i][0].ToString());
    RadChart1.PlotArea.XAxis[i].TextBlock.Text = dataSource.Tables[0].Rows[i][0].ToString();
    RadChart1.PlotArea.XAxis[i].Visible = false;
}
RadChart1.PlotArea.XAxis.AxisLabel.Visible = false;
RadChart1.Legend.Visible = false;
//If there are columns to graph.
if (objRep.FuncionesId.Length > 0)
{
    #region LineaMaximo
    Telerik.Charting.ChartSeries chartSeries1 = new Telerik.Charting.ChartSeries();
    chartSeries1.Name = "Maximo";
 
    chartSeries1.Type = tipoReporte;
    chartSeries1.YAxisType = Telerik.Charting.ChartYAxisType.Primary;
    chartSeries1.Appearance.TextAppearance.Visible = false;
    chartSeries1.Appearance.FillStyle.MainColor = System.Drawing.Color.FromName("Black");
    int NoPts = dataSource.Tables[0].Rows.Count;
    for (int y = 0; y < NoPts; y++)
    {
        Telerik.Charting.ChartSeriesItem chartItem;
        chartItem = new Telerik.Charting.ChartSeriesItem(100);
        chartSeries1.AddItem(chartItem);
    }
    chartSeries1.Appearance.PointMark.Dimensions.Width = 5;
    chartSeries1.Appearance.PointMark.Dimensions.Height = 5;
    chartSeries1.Appearance.PointMark.Visible = true;
    RadChart1.Series.Add(chartSeries1);
    #endregion
 
    #region LineaMinimo
    Telerik.Charting.ChartSeries chartSeries2 = new Telerik.Charting.ChartSeries();
    chartSeries2.Name = "Minimo";
 
    chartSeries2.Type = tipoReporte;
    chartSeries2.YAxisType = Telerik.Charting.ChartYAxisType.Primary;
    chartSeries2.Appearance.TextAppearance.Visible = false;
    chartSeries2.Appearance.FillStyle.MainColor = System.Drawing.Color.FromName("Black");
    int NoPts2 = dataSource.Tables[0].Rows.Count;
    for (int y = 0; y < NoPts; y++)
    {
        Telerik.Charting.ChartSeriesItem chartItem;
        chartItem = new Telerik.Charting.ChartSeriesItem(-100);
        chartSeries2.AddItem(chartItem);
    }
    chartSeries2.Appearance.PointMark.Dimensions.Width = 5;
    chartSeries2.Appearance.PointMark.Dimensions.Height = 5;
    chartSeries2.Appearance.PointMark.Visible = true;
    RadChart1.Series.Add(chartSeries2);
    #endregion
 
    #region LineaNeutral
    Telerik.Charting.ChartSeries chartSeries3 = new Telerik.Charting.ChartSeries();
    chartSeries3.Name = "Neutral";
 
    chartSeries3.Type = tipoReporte;
    chartSeries3.YAxisType = Telerik.Charting.ChartYAxisType.Primary;
    chartSeries3.Appearance.TextAppearance.Visible = false;
    chartSeries3.Appearance.FillStyle.MainColor = System.Drawing.Color.FromName("Black");
    int NoPts3 = dataSource.Tables[0].Rows.Count;
    for (int y = 0; y < NoPts; y++)
    {
        Telerik.Charting.ChartSeriesItem chartItem;
        chartItem = new Telerik.Charting.ChartSeriesItem(0);
        chartSeries3.AddItem(chartItem);
    }
    chartSeries3.Appearance.PointMark.Dimensions.Width = 5;
    chartSeries3.Appearance.PointMark.Dimensions.Height = 5;
    chartSeries3.Appearance.PointMark.FillStyle.FillSettings.HatchStyle = System.Drawing.Drawing2D.HatchStyle.DashedHorizontal;
    chartSeries3.Appearance.PointMark.Visible = true;
    RadChart1.Series.Add(chartSeries3);
    #endregion
}
RadChart1.PlotArea.XAxis.DataLabelsColumn = objRep.ColumnasId[0].Text;
for (int i = 0; i < objRep.FuncionesId.Length; i++)
{
    Telerik.Charting.ChartSeries chartSeries = new Telerik.Charting.ChartSeries();
    chartSeries.Name = objRep.FuncionesId[i].Text;                       
    chartSeries.Type = tipoReporte;
    chartSeries.YAxisType = Telerik.Charting.ChartYAxisType.Primary;
    chartSeries.Appearance.TextAppearance.Visible = false;
    for (int j = 0; j <= dataSource.Tables[0].Rows.Count - 1; j++)
    {
        Telerik.Charting.ChartSeriesItem chartItem;
        if (dataProrrateo.Tables.Count > 0)
        {
            decimal valueNull = myFunctions.FormatMoneyNull(dataProrrateo.Tables[0].Rows[j][objRep.FuncionesId[i].Text].ToString());
            double value = double.Parse(valueNull.ToString());
            chartItem = new Telerik.Charting.ChartSeriesItem(value, value.ToString());
            chartItem.ActiveRegion.Tooltip = objRep.FuncionesId[i].Text + ": " + dataSource.Tables[0].Rows[j][objRep.FuncionesId[i].Text].ToString();
            chartSeries.AddItem(chartItem);
        }
        else
        {
            decimal valueNull = myFunctions.FormatMoneyNull(dataSource.Tables[0].Rows[j][objRep.FuncionesId[i].Text].ToString());
            double value = double.Parse(valueNull.ToString());
            chartItem = new Telerik.Charting.ChartSeriesItem(value, value.ToString());
            chartItem.ActiveRegion.Tooltip = objRep.FuncionesId[i].Text + ": " + dataSource.Tables[0].Rows[j][objRep.FuncionesId[i].Text].ToString();
            chartSeries.AddItem(chartItem);
        }
    }
    chartSeries.Appearance.PointMark.Dimensions.Width = 5;
    chartSeries.Appearance.PointMark.Dimensions.Height = 5;
    chartSeries.Appearance.PointMark.Visible = true;
    RadChart1.Series.Add(chartSeries);
}
RadChart1.PlotArea.YAxis.AxisLabel.TextBlock.Text = " ";
RadChart1.PlotArea.YAxis.AxisLabel.Visible = true;
RadChart1.PlotArea.YAxis.AutoScale = false;
RadChart1.PlotArea.YAxis.MinValue = -120;
RadChart1.PlotArea.YAxis.MaxValue = 120;
RadChart1.PlotArea.YAxis.Step = 20;
RadChart1.PlotArea.XAxis.Appearance.LabelAppearance.Visible = false;
RadChart1.DataBind();


Thanking your attention and support.

Best regards from Mexico!.



Fernando Arreguin.




Fernando
Top achievements
Rank 1
 answered on 20 Dec 2013
1 answer
77 views
Hi,

Is there any way to display the group name?

Thanks,
ian
Marin Bratanov
Telerik team
 answered on 20 Dec 2013
1 answer
127 views
Hi all,

I'm using RadHtmlChart (LINE) for displaying data in 3 series.
X-Axis is the timestamp, Y-Axis the value.

The datasource is a dataTable containing all the data for the chart. One column for the timestamp, 3 colonnes for the 3 series values.

The user can choose the datetime range for the values, and depending of the selection, the loading of the chart can be very long.

For example, for loading 800 rows (ie. 2400 points in the chart), it take about 5 sec for rendering the chart. And the user should be able to load 100x more values !

It RadHtmlChart a good component for large amount of data ? What are solutions for optimizing the chart load ? I've tested the query time on the SQL Server, and it's not a problem, It take about 0.5sec for 17600 rows.

Thanks for your help,

Steve Roh
Danail Vasilev
Telerik team
 answered on 20 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?