Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
272 views
I am using version 2013.3.1114.45.

I had this code to my Page_Load event:

RadFileExplorer1.TreeView.EnableDragAndDrop = false;
RadFileExplorer1.Grid.ClientSettings.AllowRowsDragDrop = false;

But, I can still drag items in the client.  I added events to cancel the process, but I don't even want the animation to show.
Vessy
Telerik team
 answered on 20 Mar 2014
5 answers
117 views
Is there any way to translate "pt-BR" (português) the configuration panel? 

Is there any way to format decimal values ​​for the fields configured in the configuration panel? 
Today I put the fields in aggregate field are thus 355100,00 eeu would like to stay so 355.100,00 ...
Vasil
Telerik team
 answered on 20 Mar 2014
8 answers
719 views
Hi all,


How can i rebind my Rad Combo 


Regard's

Prassin
Shinu
Top achievements
Rank 2
 answered on 20 Mar 2014
1 answer
92 views
Hello All, 
I am getting some issue with here is my code

See attached , i have aspx, VB page along with the ERROR, also screen short after F12
, exception is 
Uncaught TypeError: Cannot set property 'control' of undefined 

Interesting thing is this same code is basically generating columns based on the query and condition, in some pages it's really work but in some case not , and from the error when i go to the source i found it's date picker also on load this exception happen , and including date picker no ajax is working even loader , row filter all, 

We are using rad control version : 2012.1.215.40

Please help as soon you can 


























Viktor Tachev
Telerik team
 answered on 20 Mar 2014
3 answers
192 views
Hi,

I need to display special characters in node name like "<",  " >". They display fine dynamically. But 'OnNodeEdit' as soon as I click 'enter', they change to "&lt;", "&gt;".
Please help.
Rob
Top achievements
Rank 1
 answered on 20 Mar 2014
1 answer
174 views
Hello All, 
I am getting some issue with here is my code

See attached , i have aspx, VB page along with the ERROR, also screen short after F12
, exception is 
Uncaught TypeError: Cannot set property 'control' of undefined 

Interesting thing is this same code is basically generating columns based on the query and condition, in some pages it's really work but in some case not , and from the error when i go to the source i found it's date picker also on load this exception happen , and including date picker no ajax is working even loader , row filter all, 


Please help as soon you can 


























Viktor Tachev
Telerik team
 answered on 20 Mar 2014
1 answer
188 views
Hey,

Is it possible to format the ColumnHeader to a date format when I export to excel.

If I make a export to excel the ColumnHeader date shows as a number like 41714 and i want it to bee 16-03-2014 00:00:00

Regards Jan
Maria Ilieva
Telerik team
 answered on 20 Mar 2014
1 answer
223 views
We have a big issue. In some parts of our site the ASP:VALIDATORS, doesn't work.
The exception generated on the server is "This is an invalid script resource request" when from the client the app make the request:
...../ScriptResource.axd?d=1&p=7923ac73-f867-4221-af87-e7a312bdd9fc....

In the Develoment enviorement works perfectly, actually load this .js: (Validators javascript functions)

var Page_ValidationVer = "125";
var Page_IsValid = true;
var Page_BlockSubmit = false;
var Page_InvalidControlToBeFocused = null;
var Page_TextTypes = /^(text|password|file|search|tel|url|email|number|range|color|datetime|date|month|week|time|datetime-local)$/i;
function ValidatorUpdateDisplay(val) {
    if (typeof (val.display) == "string") {
        if (val.display == "None") {
            return;.........................................(I dont want to post the all thing)

We just move our site from a W2003Server to W2012Server.

For a few hours I try with all the solutions related with "unobtrusive validation mode", but finally no one work and we dont use F4.5, we use F4.0.

We try:
- Register the jquery ScriptResourceDefinition in the globlal.asax
- Check all the settings in web.config for *.axd resources
- Add the line "<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />" in the web.config.
- Try to load the jquery.js before the others scripts (adding a ScriptReference in the RadScriptManager)

Any ideas??




xdsd



Peter Filipov
Telerik team
 answered on 20 Mar 2014
2 answers
214 views
Hi, we have a fairly complicated system that is completely generated on the go.

The Grid is the main component and all columns, including template columns are created and populated on the fly.

I use ASP.NET Ajax package.

​we have a mechanism that ignites an Ajax request every n seconds to refresh data in the grid.

We use a Telerik ajax panal for this. 

Whenever the ajax call is received, the Ajax panel recreates the grid from the scratch and then the NeedDataSource event handler (Simply set the datasource of the grid to  

PROBLEM : and the BROWSER memory keeps growing with each refresh until the browser crashes.

When I profiled the browser, I found that even though the browser fires GC it cannot recover memory. 

Browser memory keeps increasing with every refresh and this is proportional to the record count of the grid.

I THINK THE OLD DATA OF THE GRID IS NOT RELEASED WHEN THE GRID IS REFRESHED.

This is the NeedDataSource event handler code. PLEASE REMEMBER THAT I RE-CREATE THE GRID AT REFRESH

        protected void RadGrid1_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
        {
            Telerik.Web.UI.RadGrid tmpPointerToUIGrid = sender as Telerik.Web.UI.RadGrid;

            // override default grid page size at the initial run. (the custom paging is not in effect at this stage) 
            if (ssession.DVM.CurrentRequestType != REQUEST_TYPE.DATA_REFRESH && e.RebindReason == GridRebindReason.InitialLoad)
            {
                tmpPointerToUIGrid.PageSize = SymphonySession.FindObject(HttpContext.Current.Session).InitialiseResponse.PageSize.Options.Find(op => op.IsDefault == 1).Value;
            }

            if (ssession.DVM.CurrentRequestType != REQUEST_TYPE.DATA_REFRESH && string.IsNullOrEmpty(tmpPointerToUIGrid.MasterTableView.FilterExpression) && this.Model.FilterCriteria != null && this.Model.FilterCriteria.Count > 0)
            { this.Model.FilterCriteria.Clear(); } // clear filters when no filter is selectered.

            ssession.Trace_addStamp("processing data for grid");
            tmpPointerToUIGrid.DataSource = this.Model.GetDataSource((e.RebindReason == GridRebindReason.InitialLoad) && ssession.DVM.CurrentRequestType != REQUEST_TYPE.DATA_REFRESH, tmpPointerToUIGrid.PageSize, tmpPointerToUIGrid.CurrentPageIndex + 1);

            tmpPointerToUIGrid.MasterTableView.VirtualItemCount = this.Model.GridTotalRowCount;
            ssession.Trace_addStamp("done: data processing");

            if (ssession.DVM.CurrentRequestType != REQUEST_TYPE.DATA_REFRESH)
            {
                this.Model.GridFilterExpression = this.RadGrid1.MasterTableView.FilterExpression;  // save for future refresh commands 
            }

        }

Please help...


Pavlina
Telerik team
 answered on 20 Mar 2014
1 answer
151 views
Hi,

I have a website with a RadMenu, which works great.
The menu is styled using some CSS.
Now I want to add a RadContextMenu to that same page, but doing so breaks the layout of the RadMenu.

Simply adding an empty contextmenu:
<telerik:RadContextMenu ID="Menu2" runat="server"></telerik:RadContextMenu>
changes the layout of the RadMenu to the default skin (it seems)

This is the RadMenu:
<telerik:RadMenu ID="HoofdMenu" EnableEmbeddedSkins="false" Height="20px" Font-Size="11px" runat="server" CollapseDelay="0" ExpandDelay="0" ClickToOpen="true" ExpandAnimation-Type="None" CollapseAnimation-Type="None" CausesValidation="false"></telerik:RadMenu>
and this is the CSS used to style it:

.hoofdmenu
{       
    color: #FFFFFF;   
    cursor: pointer !important;
    height: 25px;
    font-size: 12px;       
}
.hoofdmenu:hover
{
    color: #8FB1B1;   
}
 
.hoofdmenu_expanded
{
    color: #8FB1B1;   
}
 
.submenu
{  
    padding-top: 5px !important;
    background-color: #1C2948;   
    color: #FFFFFF;
    height: 25px;   
    cursor: pointer !important;
    text-decoration: none;
    font-size: 12px;   
     
}
.submenu:hover
{   
    color: #1C2948;
    background-color: #D5E1E1;       
}

(The 'hoofdmenu' and 'submenu' classes are given to root and subitems in code)

Any idea how this can happen?
Kate
Telerik team
 answered on 20 Mar 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?