Telerik Forums
UI for ASP.NET AJAX Forum
12 answers
215 views

I am continuously receiving this error within my pages (through the javascript console)

SCRIPT5007: Unable to get property 'handleEvent' of undefined or null reference

Telerik.Web.UI.WebResource.axd (647,33)

It is within this chunk of code

}}if($telerik.useDetachEvent(c)){c.detachEvent("on"+d,a);
}else{if(c.removeEventListener)

{c.removeEventListener(d,a,false);    // <<<< 
} //<<<<

}b.splice(f,1);

Me thinks something is wrong with the Telerik.Web.UI.WebResource.axd resource handler.

Rumen
Telerik team
 answered on 05 Oct 2017
22 answers
492 views
I seem to have this problem with my context menu, but only in Chrome.  In FF it displays just fine, but in Chrome it displays all the way at the bottom of the screen.  Please see the attached FF and Chrome screenshots from the same identical page.  i looked at the markup using inspector and it seems that in Chrome there are hard coded left, and top coordinates that are placing the menu at the bottom of the page.  where do these come from and how can this behavior be corrected?

Thanks!
-Mark
Rumen
Telerik team
 answered on 05 Oct 2017
0 answers
152 views

I would like to generate large XLSX and CSV file in MVC as given on below URL 

http://demos.telerik.com/aspnet-mvc/spreadstreamprocessing

I am unable to download Model and Class File above example.

1) using Telerik.Documents.SpreadsheetStreaming;
2) using Kendo.Mvc.Examples.Models.SpreadStreamProcessing;
3) DocumentSettings class

Please help me to resolve this issue.

Thanks in adv.

Atul
Top achievements
Rank 1
 asked on 05 Oct 2017
2 answers
86 views

Hi,

We are placing markers when the user clicks on the map. A problem is that the OnClick event is also fired when the user clicks on one of the zoom-buttons (but not on one of the pan-buttons). 

Is there anyway to separate a button click from a normal click? Alternative solutions could be using right clicks or even click/drag a marker itself.

 

Kind regards

Robert

 

Warnestam
Top achievements
Rank 1
 answered on 05 Oct 2017
7 answers
315 views


I'm new to using Rad Controls.

We're using the latest version 2008.1 619 of Asp.net Ajax controls.

In my NeedDataSource event, after retrieving my DataTable I filter the data and set my Grid's datasource to the Filter DV, but it's not filtered.

Excerpt, 

dv = dtFast.DefaultView

dv.RowFilter =

"buot_BaseUnitID = buot_BareFanBaseUnitID"

Me.rgFast.DataSource = dv

dv is filtered, DT has 248 rows, DV has 182
but my grid is still showing all 248 rows.

What am I missing?



prakash
Top achievements
Rank 1
 answered on 05 Oct 2017
4 answers
109 views

Hello,

I'm looking to implement a solution for tracking activities through a 24-hour period for a dynamic number of employees. I believe the scheduler is the object I may be able to utilize to do this but haven't seen any solutions that fit the need.

Can someone please provide some insight on whether or not this object is the right tool for the job, or if there's another method I might go about using to accomplish this? I'm going to attach a screenshot with a visual representation of the need.

 

Thanks!

ww1711
Top achievements
Rank 1
 answered on 04 Oct 2017
4 answers
161 views

Hi Telerik team,

I have added RadContextMenu for RadGrid. In that context menu  Adding ,removing items and all actions performing using Javascript.

 Problem Scenario:

                If I right click on grid first row, menu showing normally in down. We don’t have any issue on this. But if I right click on last row, the menu coming out side of the grid. Please check the attached screenshots and sample project for your reference.

 I have tried to change currentStyle property for RadContextMenu using JS. But, it’s showing not editable.

  •  ContextMenuId._contextMenuElement.currentStyle.top=”200px”;

Kindly provide solution for right click menu to adjust height and width inside the grid when right click on any place of grid.

 Note: I have fixed the grid size and please provide the solution/fix using JavaScript.

Thanks,

Swetha

Swetha
Top achievements
Rank 1
 answered on 04 Oct 2017
0 answers
204 views

 

I am using this CSS Class for aligning text and setting the size.

It does not increase the size of the text. Why is it not changing the size of the text on this button?

.rbSave
    {
        text-align: center !important;
        font-size:x-large !important;
    }
<telerik:RadButton ID="btnSaveClient" runat="server" IsBackgroundImage="true" OnClick="btnSaveClient_Click"
                                   Text=" Update Client " CssClass="rbSave" >
                                  <Icon PrimaryIconCssClass="classCart" PrimaryIconUrl="~/Images/Save.png" />
                              </telerik:RadButton>

 

If i remove the CSS Class and manually set the size, it increases the size but does not align the text.It does not center the text. It appears as shown in the image below.

What should i do align text and also set the size of the text?

 

Thanks in Advance

 

 

 

 

Jagat
Top achievements
Rank 1
 asked on 03 Oct 2017
2 answers
254 views

Hi,

      I am having trouble in displaying group header correctly in RadGrid. Most of the group headers are displaying fine, but few not. I am not able to figure it out, what is causing that issue. Below are my grid and group settings. I am also attaching the grid screenshot for reference. Any suggestions please, what I am doing wrong.

Thank you, Madhavi

                    <t:RadGrid ID="rgLEV" runat="server"
                                    AllowSorting="True" GridLines="None" ShowFooter="True" AutoGenerateColumns="false" EnableViewState = "true"
                                    GroupingEnabled="true" ShowGroupPanel="true" OnGroupsChanging="rgLEV_GroupsChanging" AllowMultiRowSelection="true"  
                                    HeaderStyle-Wrap="false" ItemStyle-Wrap="false" GroupingSettings-GroupByFieldsSeparator=""                                   
                                    OnNeedDataSource="rgLEV_NeedDataSource"
                                    OnPreRender="rgLEV_PreRender"
                                    OnItemCommand="rgLEV_ItemCommand"
                                    OnUpdateCommand="rgLEV_UpdateCommand"
                                    OnItemCreated="rgLEV_ItemCreated" 
                                    OnDetailTableDataBind="rgLEV_DetailTableDataBind"
                                    OnItemDataBound="rgLEV_ItemDataBound"
                                    OnExportCellFormatting="rgLEV_ExportCellFormatting">

                        <ClientSettings AllowDragToGroup="True" AllowColumnsReorder="True" 
                                ReorderColumnsOnClient="True">  
                                <Selecting AllowRowSelect="true" EnableDragToSelectRows="true" />    
                        </ClientSettings>

                     <GroupingSettings RetainGroupFootersVisibility="true"/>

                    <GroupByExpressions>
                            <t:GridGroupByExpression>
                              
                                <SelectFields>
                                    <t:GridGroupByField FieldName="EMP_NAME_LINE" HeaderValueSeparator="" HeaderText=" " />
                                </SelectFields>
                                <SelectFields>
                                    <t:GridGroupByField FieldName="EMPLOYEE_ID" FormatString="({0})" HeaderValueSeparator="" HeaderText="&nbsp;"/>
                                </SelectFields>
                                <SelectFields>
                                    <t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="WORKED_HOURS" HeaderText="&nbsp;&nbsp;&nbsp;Hours" />
                                </SelectFields>
                                <SelectFields>
                                    <t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="LD_POT_OT_HOURS"  HeaderText="&nbsp;&nbsp;&nbsp;OT" />
                                </SelectFields>
                                <SelectFields>
                                    <t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="LD_POT_DT_HOURS" HeaderText="&nbsp;&nbsp;&nbsp;DT" />
                                </SelectFields>
                                  <GroupByFields>
                                    <t:GridGroupByField FieldName="EMP_NAME_LINE" />
                                </GroupByFields>
                            </t:GridGroupByExpression>
                                    
                            <t:GridGroupByExpression>                         
                                <SelectFields>
                                    <t:GridGroupByField FieldName="WORKED_DT" FormatString="{0:MM/dd/yyyy}" HeaderText="Date" />
                                </SelectFields>
                                    <SelectFields>
                                    <t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="WORKED_HOURS"  HeaderText="&nbsp;&nbsp;&nbsp;Hours" />
                                </SelectFields>
                                <SelectFields>
                                    <t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="OT_HOURS" HeaderText="&nbsp;&nbsp;&nbsp;OT" />
                                </SelectFields>
                                <SelectFields>
                                    <t:GridGroupByField Aggregate="Sum" FormatString="{0:F2}" FieldName="DT_HOURS" HeaderText="&nbsp;&nbsp;&nbsp;DT" />
                                </SelectFields>
                                <GroupByFields>
                                    <t:GridGroupByField FieldName="WORKED_DT" />
                                </GroupByFields>
                            </t:GridGroupByExpression>
                        </GroupByExpressions>

madhavi
Top achievements
Rank 1
 answered on 03 Oct 2017
7 answers
122 views

Hi,

I have created a custom context menu "AddSpaceAboveTable" And applied it the the table menu. 

Why: In internet explorer there is no way to add something before a table if it is in the begining of the editor, same in the bottom. 

So when the user right clicks on a menu item I want to add a BR before/after that table. 

Problem: How do i get the position where I want to paste my fix?

function command_AddSpaceAboveTable(commandName, editor, args) {
    console.log('command_AddSpaceAboveTable');
 
    var selection = editor.getSelection();
    var theSelectedTable = selection.getParentElement(); // Here is my table.
}
Rumen
Telerik team
 answered on 03 Oct 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?