Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
105 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
701 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
82 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
183 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
164 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
173 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
208 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
191 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
141 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
2 answers
108 views
I am getting all kinds of errors when using RadSocialShare.

<telerik:RadSocialShare ID="RadSocialShare" runat="server" UrlToShare='<%# String.Format("{0}#comments", ((DataRowView)Container.DataItem)["NavigateUrl"]) %>'
                        TitleToShare='<%# ((DataRowView)Container.DataItem)["blogTitle"] %>'>
                        <MainButtons>
                            <telerik:RadTwitterButton CounterMode="Horizontal" />
                            <telerik:RadLinkedInButton CounterMode="Horizontal" ShowZeroCount="true" />
                            <telerik:RadGoogleButton AnnotationType="Bubble" ButtonSize="Medium" />
                            <telerik:RadFacebookButton ButtonLayout="ButtonCount" />
                        </MainButtons>
                    </telerik:RadSocialShare>


the errors are:

Invalid App Id: Must be a number or numeric string representing the application id. all.js:56
FB.getLoginStatus() called before calling FB.init(). all.js:56
FB.init has already been called - this could indicate a problem all.js:56
Invalid App Id: Must be a number or numeric string representing the application id. all.js:56
FB.getLoginStatus() called before calling FB.init(). all.js:56
Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) tweet_button.1393899192.html:1
Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) tweet_button.1393899192.html:1
Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) tweet_button.1393899192.html:1
Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) tweet_button.1393899192.html:1
Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) tweet_button.1393899192.html:1
Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) tweet_button.1393899192.html:1
Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) tweet_button.1393899192.html:1
Consider using 'dppx' units instead of 'dpi', as in CSS 'dpi' means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual 'dpi' of a screen. In media query expression: (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi) tweet_button.1393899192.html:1
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.

Thanks, Marty
Danail Vasilev
Telerik team
 answered on 20 Mar 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?