Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
121 views
We've been using Telerik Rad controls for a year now, and I always upgrade to the latest cut.

As of the recent Q2 2011 all upgrades we have done are conplaining  they keep getting "A script on this page is causing Internet Explorer to run slowly" error, this is on a busy grid with only about 300 records, the problems go away if the records don't exceed about 30.

Have you seen this from other users?

We have clients on a mix of iis6 & 7 and IE 6,7 & 8.

We are having to stop the upgrade rollout until we get this resolved.

I have tried many things from disabling the viewstate to extending the MaxScriptStatements to 10,000,000.

Andy

PS - just seen the same error on my development system running ie9 and 290 records.
PPS - If I remove the RadAjaxManager I stop getting the error, so its an AJAX thing.


Andy Green
Top achievements
Rank 2
 answered on 05 Jan 2012
0 answers
163 views

I have my global.asax file setup to report all errors to me via email. I keep getting the following error popup up 10 - 15 times a day on our BETA site (we are still on trial)

This is the exact error: The file '/QSSWeb2_Test/MySkins/Sigma/ImageHandler.ashx' does not exist.

We use custom skins. Any help would be appreciated.

Here's the full stack.

System.Web.HttpException (0x80004005): The file '/QSSWeb2_Test/MySkins/Sigma/ImageHandler.ashx' does not exist.

   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)

   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)

   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean ensureIsUpToDate)

   at System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)

   at System.Web.UI.SimpleHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)

   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)mode = get suite = aspnet-ajax control = ComboBox skin = Sigma file = calendar-top.jpg t = 1807901079 QSSWeb_UserName = UserName=jdoe ASP.NET_SessionId = 0ecjcaarg0odk355fdj1jxqe ASPXAUTH =

Gerry
Top achievements
Rank 1
 asked on 05 Jan 2012
1 answer
398 views
I am working with a grid that I am using an ItemTemplate for the MasterTableView.  In addition to the ItemTemplate I have three GridButtonColumns.  When the user clicks one of these buttons, I want to get the Index of the record for that row (In my case the Unique Name is: AssetIdx).  

Without the ItemTemplate the following code works fine:

GridDataItem item;
String ArticleID;
 
item = e.Item as GridDataItem;
ArticleID = item["AssetIdx"].Text;


With the ItemTemplate the code does not work.

I saw the following note in the demos (http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/cardview/defaultcs.aspx) :

"When you set item template all GridDataItems/GridEditableColumns (auto-generated or declarative) will be replaced with a single cell which will be used as a container for the templated content."

I have looked everywhere, and I can't find an example to get the value when the grid is treated as a single cell.

Can someone point me in the correct direction.  Thanks!
TazDeveloper
Top achievements
Rank 1
 answered on 05 Jan 2012
0 answers
263 views
Hi,

I have a telerik grid which is inside a user control. On button click on that page, I am opening up a child window where I am adding some new records. After successful add, I want to refresh the grid with new records from child window. Could someone help me on this? 

I found some demo here(see below link). But in the demo, the grid is in the aspx page, not in user control.
 
http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=grid

Thanks
Pramod
Top achievements
Rank 1
 asked on 05 Jan 2012
1 answer
58 views
Hi All,

I need  RadHorizontalBulletGraph control in Asp.net Ajax just like in Silverlight.

I am not able to find that Control in Asp.net Ajax.Could anyone tell me that where can I find that control?

I am really oblige to you.

Thanks

Iana Tsolova
Telerik team
 answered on 05 Jan 2012
1 answer
781 views
I am trying to plot a chart where datapoint ( x, y ) are as-
(datetime, number)

datetime is always in the format of "01-Month-Year"  i.e.  date part is always first of month
While adding X-axis range I am trying to use-

RadChart.PlotArea.XAxis.AddRange(dtBegin.ToOADate(), dtEnd.ToOADate(), 31);

 

RadChart.PlotArea.XAxis.LayoutMode = Telerik.Charting.Styles.ChartAxisLayoutMode.Inside;
RadChart.PlotArea.XAxis.Appearance.ValueFormat = Telerik.Charting.Styles.ChartValueFormat.ShortDate;
RadChart.PlotArea.XAxis.Appearance.CustomFormat = "dd MMM yyyy";
RadChart.PlotArea.XAxis.AddRange(dtBegin.ToOADate(), dtEnd.ToOADate(), 31);


The problem with above code  is that steps of 31 means that  since not all month has 31 days we will end up with x-axis data point which will not  be in 01-Month-Year format.

what I want on x-axis is like this

01-Nov-2010
01-Dec-2010
01-Jan-2011
01-Feb-2011
01-Mar-2011
01-Apr-2011
01-May-2011
01-Jun-2011
01-Jul-2011
01-Aug-2011
01-Sep-2011
01-Oct-2011
01-Nov-2011
01-Dec-2011
01-Jan-2012
01-Feb-2012
01-Mar-2012
01-Apr-2012
01-May-2012
01-Jun-2012
01-Jul-2012
01-Aug-2012
01-Sep-2012
01-Oct-2012

 what I get is something as shown in attached image.

How can I add date alone x-axis with steps of 1 month.


Richard
Top achievements
Rank 1
 answered on 05 Jan 2012
1 answer
222 views
I have a RadGrid in a dynamically loaded user control. When the page that hosts the user control is initially loaded the RadGrid does not appear. I have to click some buttons that are configured via a RadAjaxManagerProxy on the user control to update the RadGrid before it appears. Once the RadGrid has appeared all operations behave normally. Any ideas on how to display it on the initial page load??
Pavlina
Telerik team
 answered on 05 Jan 2012
4 answers
99 views
I have implemented the search in rad combo, on writing the some text in drop down it fetch data from server using itemrequested event.
it is working in all the browser except IE9

 <telerik:RadComboBox ID="ddlHIPOs" NoWrap="true" Visible="false" runat="server" DropDownWidth="320px"
                MarkFirstMatch="false" EnableLoadOnDemand="true" CssClass="HIPOCandidateDropDown"
                DropDownCssClass="HIPOCandidateDropDown" AppendDataBoundItems="false" ItemsPerRequest="8"
                EnableViewState="true" Width="200px" expandeffect="Slide" AllowCustomText="true"
                OnItemsRequested="ddlHipos_ItemsRequested" OnClientDropDownOpening="SaveText"
                OnClientDropDownClosing="SetText" ItemRequestTimeout="500" OnClientItemsRequesting="HandleRequestStart"
                OnClientItemsRequestFailed="HandleRequestFailed">
                <itemtemplate>

 </itemtemplate>
</telerik:RadComboBox>


Ivana
Telerik team
 answered on 05 Jan 2012
6 answers
182 views
I have a RadGrid (v2009.2.701.35) using the Web20 theme.  In my attached screen shot, the grid in the upper half is the grid with the default horizontal text in the header.  Notice the uniform borders between all of the header columns.  The grid in the lower half is a result of changing the header text to render vertically.  Now notice the difference in column widths between columns 1 & 2 vs columns 2 & 3 or 3 & 4.  Is there any way to get uniform header column borders with vertical header text?  Here's my CSS tweak w/ changes in bold:

.RadGrid_Web20 .rgHeader, .RadGrid_Web20 .rgHeader  a
{
    color: #ffffff !important;
    font-family: Arial !important;
    font-size: 8pt !important;
    font-weight: bold !important;
    text-decoration: none;
    text-align: left;
    border-color: #FFFFFF !important;
    writing-mode: tb-rl !important;  
    filter: flipV flipH !important; 
}
Rob
Top achievements
Rank 1
 answered on 05 Jan 2012
1 answer
140 views
Hello team,

We are using telerik charting .We have used below code for generating chart.When we are using below code we get error in stack area and stack line chart.

please find attached screen shot for error.
how can i use below code for pie chart because i am not able to generate pie chart using below code.we have two columns for pie chart x-axis and category.
 
Code:
           SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["ChartconnectionString"].ConnectionString);
            cn.Open();
            SqlCommand cmd = new SqlCommand(query, cn);
            SqlDataAdapter sda = new SqlDataAdapter();
            sda.SelectCommand = cmd;
            DataTable data = new DataTable();
            sda.Fill(data);
          RadChart1.DataSource = data;
 

         RadChart1.DataManager.ValuesYColumns = new string[] { rcbyaxis.SelectedItem.Text };//Y-axis column
        RadChart1.PlotArea.XAxis.DataLabelsColumn = rcbxaxis.SelectedItem.Text;//X-axis column

         RadChart1.DataGroupColumn = rcbCategory.SelectedItem.Text;//Category column for stack chart
            RadChart1.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = 300;
            RadChart1.PlotArea.XAxis.Appearance.TextAppearance.TextProperties.Color =
            System.Drawing.Color.BlueViolet;
            RadChart1.PlotArea.Appearance.Dimensions.Margins.Bottom =
            Telerik.Charting.Styles.Unit.Percentage(30);
            switch (rcbChartType.SelectedValue)
            {
                case "BAR":
                    RadChart1.Chart.DefaultType = ChartSeriesType.Bar;
                    break;
                case "Line":
                    RadChart1.Chart.DefaultType = ChartSeriesType.Line;
                    break;
                case "Area":
                    RadChart1.Chart.DefaultType = ChartSeriesType.Area;
                    break;
                case "Stacked Bar":
                    RadChart1.Chart.DefaultType = ChartSeriesType.StackedBar;
                    break;
                case "Stacked Line":
                    RadChart1.Chart.DefaultType = ChartSeriesType.StackedLine;
                    break;
                case "Stacked Area":
                    RadChart1.Chart.DefaultType = ChartSeriesType.StackedArea;
                    break;
                case "Stacked Bar 100%":
                    RadChart1.Chart.DefaultType = ChartSeriesType.StackedBar100;
                    break;
                case "Stacked Area 100%":
                    RadChart1.Chart.DefaultType = ChartSeriesType.StackedArea100;
                    break;
                case "Pie":
                    RadChart1.Chart.DefaultType = ChartSeriesType.Pie;
                    break;
            }
            // bind to the datasource
            RadChart1.DataBind();
 

please help me as soon as possible.
Thanks.
Richard
Top achievements
Rank 1
 answered on 05 Jan 2012
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?