Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
57 views
The RadGrid on the following demo page appears to be broken: http://demos.telerik.com/aspnet-ajax/tabstrip/examples/multipage/dynamic-pageview-creation/defaultcs.aspx 

You cannot page the grid, change page size, add a new record, refresh the grid, or edit records.  Sorting *does* work though.
Nencho
Telerik team
 answered on 25 Feb 2015
2 answers
245 views
Hi,

I am facing a Problem that seems to be a known issue with the Telerik RadProgressManager.
I use the 'custom Progress pattern' to Show Progress on a rather Long running Operation.
I trace http traffic via Fiddler.
On completion I still see endless calls to RadUploadProgressHandler.ashx in form of:

http://xxx.com/myapp/Telerik.RadUploadProgressHandler.ashx?RadUrid=b4443999-f902-4d63-9a9c-04277692d4dd&RadUploadTimeStamp=1424801338972&

Every call uses the same RadUrID , but different RadUploadTimeStamp values.
.
Even calling ProgressArea.cancelRequest() in Javascript does not stop those calls.
Strange enough this behaviour does NOT Show up when using IE(Version 11). But in FF and Chrome I see those endless calls.
Of course, as mentioned in some related threads, adding
<appSettings>  <add key="AllowCustomProgress" value="false"/></appSettings>
in web.config prevent those calls, but , of course, in that case I do see the progressbars anymore.

I saw from the Forum threads that this issue is present since 2010 (at least this was the earliet thread I found), and the last reply related to this problem from April 2014 says - 'We Need a runable project'. In my case this is not possible, since the application is pretty complex.

What I have not seen in the Forum threads is the mentioning that the Problem does not Show up if IE is used.


Could you please let me know if since April 2014 telerik found a fix or Workaround. If yes- what is a possible solution for the Problem.

Hope that someone from telerik can provide help, otherwise I Need to give up usage of ProgressArea in my app. I have Clients with slow Networks and for those users the numerous (unnecessary) calls result in pretty slow Performance.

Best regards
Hans-Juergen







 
Peter Filipov
Telerik team
 answered on 25 Feb 2015
1 answer
149 views
Hi All,

I have a browser issue with RadNumericTextBox whenever i use MaxLength property. Below is the scenario

My Code
<telerik:RadNumericTextBox ID="xyz" runat="server" MaxLength="9">
 <NumberFormat DecimalDigits="3" GroupSeparator="" />
</telerik:RadNumericTextBox>


In IE Browser :

If i enter maxlength value (ex: 123456789), once it loses the focus, then the value has been updated to (ex: 123456789.000) and taking the count of the value as
(entered 9 chars + 4 added chars(.000) = 12).
now the problem is, its exceeding the MaxLength value and showing an error i.e. "you must enter text with 9 or fewer chars" on MouseOver and finally i couldn't save.

In Chrome & Firefox Browsers :

If i enter maxlength value (ex: 123456789), once it loses the focus, then the value has been updated to (ex: 123456789.000) and taking the count of the value as
(entered 9 chars = 9). here its working fine and i can save also.
Vasil
Telerik team
 answered on 25 Feb 2015
9 answers
140 views
Hi ,

I noticed that in 2014.2.618.45 version the rrbButtonGroup's width is set to auto and rrbGroupTitle has a inline style, in some cases where the Ribbon Group Title text is longer than the Ribbon Button Group's width, the title text is altered (attached screenshot).

But in your previous version, both the classes had same inline width and hence the Ribbon Group Title was not cropped.

Please suggest!!

Thanks
P
Ivan Zhekov
Telerik team
 answered on 25 Feb 2015
2 answers
142 views
I have a rather complex set of CSS that is causing issues with the FileExplorer control. Is there documentation anywhere that describes how to format the control through CSS? I can find documentation about skins but not CSS.

I attached what the control looks like when my CSS is added.
Vessy
Telerik team
 answered on 25 Feb 2015
1 answer
174 views
Hi 

     I have to create a batch editable rad grid with dynamic columns(Column and Column count can be varied). Also  need to add controls(like drop downs, check boxs, buttons and multi-line text boxs) dynamically in the batch edit grid. How can i achieve this?

Thanks & regards
Lijo Sebastian
Konstantin Dikov
Telerik team
 answered on 25 Feb 2015
2 answers
222 views
I have a RadGrid on my Master page, and I'd like to put the DataSource on the content page.  (The data source will change depending on which content page is loaded).  Is this possible?
Kamal
Top achievements
Rank 1
 answered on 25 Feb 2015
3 answers
120 views
I've got a SQLDatasource that pulls back a qty on a monthly basis.  Currently the XAXIS is the Month.  However, If I hard code the month, the data does not correctly line up.  If I don't hard code the Items the data is correct; however the month's are not in order.

I've posted two images.  The first one is how the data looks through SQL.  There are only 4 months, I plan on making a query parameter based on a RadComboBox later.  The second is an image of the two Chart's below, I've been toying with.  I only need one of them to work properly, just included both to show what I've tried thus far.

I really need help displaying all 12 months in order on the left hand side of the chart, and linking the correct value to be displayed..  

01.<table style="width: 100%;">
02.    <tr>
03.        <td style="width: 50%;">
04.            <telerik:RadHtmlChart ID="HardCodedMonthNames" runat="server" DataSourceID="SqlDataSourceNearMissByMonth">
05.                <ChartTitle Text="Near Misses By Month">
06.                </ChartTitle>
07.                <Legend>
08.                    <Appearance Visible="False" />
09.                </Legend>
10.                <PlotArea>
11.                    <XAxis Visible="True" DataLabelsField="Month">
12.                        <Items>
13.                            <telerik:AxisItem LabelText="January" />
14.                            <telerik:AxisItem LabelText="February" />
15.                            <telerik:AxisItem LabelText="March" />
16.                            <telerik:AxisItem LabelText="April" />
17.                            <telerik:AxisItem LabelText="May" />
18.                            <telerik:AxisItem LabelText="Jun" />
19.                            <telerik:AxisItem LabelText="July" />
20.                            <telerik:AxisItem LabelText="Aug" />
21.                            <telerik:AxisItem LabelText="September" />
22.                            <telerik:AxisItem LabelText="October" />
23.                            <telerik:AxisItem LabelText="November" />
24.                            <telerik:AxisItem LabelText="December" />
25.                        </Items>
26.                    </XAxis>
27. 
28.                    <YAxis Visible="True" Name="Number of Assessments">
29.                        <TitleAppearance Position="Center" RotationAngle="0"
30.                                         Text="Near Misses" />
31.                    </YAxis>
32. 
33.                    <Series>
34.                        <telerik:BarSeries DataFieldY="Qty" Name="Month">
35.                        </telerik:BarSeries>
36.                    </Series>
37.                </PlotArea>
38.            </telerik:RadHtmlChart>
39.        </td>
40.        <td style="width: 50%;">
41.            <telerik:RadHtmlChart ID="QueryBasedMonthNames" runat="server" DataSourceID="SqlDataSourceNearMissByMonth">
42.                <ChartTitle Text="Near Misses By Month">
43.                </ChartTitle>
44.                <Legend>
45.                    <Appearance Visible="False" />
46.                </Legend>
47.                <PlotArea>
48.                    <XAxis Visible="True" DataLabelsField="MonthName">
49. 
50.                    </XAxis>
51. 
52.                    <YAxis Visible="True" Name="Number of Assessments">
53.                        <TitleAppearance Position="Center" RotationAngle="0"
54.                                         Text="Near Misses" />
55.                    </YAxis>
56. 
57.                    <Series>
58.                        <telerik:BarSeries DataFieldY="Qty" Name="Month">
59.                        </telerik:BarSeries>
60.                    </Series>
61.                </PlotArea>
62.            </telerik:RadHtmlChart>
63. 
64.        </td>
65.    </tr>
66.</table>
67.<asp:SqlDataSource ID="SqlDataSourceNearMissByMonth" runat="server" ConnectionString="<%$ ConnectionStrings:OSHAConnectionString %>" SelectCommand="
68.                   select 'ABC COMPANY' AS LOCATION,
69.                   MONTH,
70.                   Year,
71.                   DateName( month , DateAdd( month , [MONTH] , 0 ) - 1 ) as MonthName,
72.                   COUNT(ID) as Qty
73.                   from aaa_v_ReportingData
74.                   where IncidentType = 'Near Miss'
75.                   and incidentdate is not null
76.                   group by Location,
77.                   Year,
78.                   MONTH,
79.                   DateName( month , DateAdd( month , [MONTH] , 0 ) - 1 )
80.                   Order by MONTH
81.                   ">
82.</asp:SqlDataSource>
Skip
Top achievements
Rank 1
 answered on 24 Feb 2015
4 answers
169 views
I have a "RadGrid" for Editing Data.

I have filtering enabled.

I perform validations using the "RadInputManager".

When I try to update the data happens to me what I show in the picture attached.

How I can solve this?

I add the code "aspx" to show the example:

<telerik:RadAjaxManager runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" UpdatePanelCssClass="" />
                <telerik:AjaxUpdatedControl ControlID="RadInputManager1" UpdatePanelCssClass="" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    <Scripts>
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js">
        </asp:ScriptReference>
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js">
        </asp:ScriptReference>
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js">
        </asp:ScriptReference>
    </Scripts>
</telerik:RadScriptManager>
        <telerik:RadInputManager ID="RadInputManager1" runat="server">
    <telerik:TextBoxSetting InitializeOnClient="False" ErrorMessage="Required!" Validation-IsRequired="True" Validation-ValidateOnEvent="Submit">
        <TargetControls>
            <telerik:TargetInput ControlID="RadGrid1" />
        </TargetControls>
    </telerik:TextBoxSetting>
</telerik:RadInputManager>

<telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" AutoGenerateEditColumn="True" CellSpacing="0" DataSourceID="LinqDataSource1" EnableHeaderContextFilterMenu="True" EnableHeaderContextMenu="True" GridLines="None">
    <MasterTableView CommandItemDisplay="Top" DataKeyNames="RolId" DataSourceID="LinqDataSource1" EditMode="InPlace">
        <Columns>
            <telerik:GridBoundColumn DataField="Name" HeaderText="Name" SortExpression="Name" UniqueName="Name">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Description" HeaderText="Description" SortExpression="Description" UniqueName="Description">
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>
<asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="WebApplication1.DataClasses1DataContext" EntityTypeName="" TableName="Rol">
</asp:LinqDataSource>
Delvis
Top achievements
Rank 1
 answered on 24 Feb 2015
9 answers
1.5K+ views
Got problem with the delete comand in grid.
Scenario: after page loading push the standard button "Delete" at the GridButtonColumnType(buttonColumn.CommandName = "Delete") of any grid item.
Error description:

Specified argument was out of the range of valid values.
Parameter name: ItemHierarchicalIndex

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: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: ItemHierarchicalIndex

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:

[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: ItemHierarchicalIndex]
Telerik.Web.UI.GridItemCollection.get_Item(String hierarchicalIndex) +103
Telerik.Web.UI.GridDataItemCollection.get_Item(String hierarchicalIndex) +37
Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument) +4133
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

The strange is:
If I comment the defined in OnInit() handler lines
            dataGrid.ClientSettings.ClientEvents.OnGridCreated = "GridCreated"
            dataGrid.ClientSettings.ClientEvents.OnRowClick = "RowClick"
            dataGrid.ClientSettings.ClientEvents.OnCommand = "GridCommand"

No error returned. Everything is fine...
But the current definition of client handlers is:
                    function RowClick(sender, eventArgs) {  
 
                    }  
 
                    function GridCommand(sender, args) {  
 
                    }  
 
                    function GridCreated(sender, eventArgs) {  
 
                    }  
Please, suggest me to the way of solving the problem.


Scott
Top achievements
Rank 1
 answered on 24 Feb 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?