Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
142 views
We have an application that is ASP.net 3.5 using telerik v2.0.50727.  When we select from the dropdown with a mouse click everything works properly, but if the use the enter key when in the control it causes the screen to redirect to another screen.  I am still trying to find out how it is picking the screen it redirects to but why would the enter key cause a different action than a mouse click.  They both run through the SelectedIndexChanged event but for some reason the enter causes a redirect.
Plamen
Telerik team
 answered on 07 Jul 2014
1 answer
52 views
We just discovered a change in behavior in version 2014.1.403 of the editor. Our previous production version of the editor was 2012.2.724 - it did not have this problem. I have not tested any other versions of the editor besides these two.  I reviewed the release notes and saw nothing to indicate this was an intentional change.

To demonstrate the problem, I created a simple project with a single aspx page that includes an editor and a submit button. I'll include the markup below. The submit button does a redirect.  

The problem we are seeing in version 2014.1.403 of the editor is that if the user clicks the browser Back button after the submit, their updated editor content is GONE. This problem did not exist in 2012.2.724. In 2012.2.724 any content entered by the user was retained upon clicking the Back button.

Note that other controls on the page all retain their updated content upon Back button click.


I've created a small video to demonstrate the problem. Please watch it here:

http://screencast.com/t/StcFQYkzi


The previous editor behavior is depended on by our application for handling concurrency scenarios. This is affecting our production customers now.


Is there some way we can achieve the previous behavior in the 2014.1.403 editor? Otherwise, can we get a fix included in the next release of the editor?

Thanks,
Trevor.



demo aspx:

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm1.aspx.vb" Inherits="WebApplication1.WebForm1" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <input type="submit" runat="server" id="btnSubmit" value="Submit" name="btnSubmit">        
        <telerik:RadEditor runat="server" ID="RadEditor1">
            <Content>
                <p>this is line one</p>
                <p>this is line two</p>
                <p>this is line three</p>
                <p>this is line four</p>
            </Content>
        </telerik:RadEditor>
    </form>
</body>
</html>
Ianko
Telerik team
 answered on 07 Jul 2014
1 answer
104 views
Hi,


I have a simple radgrid control.  This displays two columns from a
database.  One column is displayed the
other is used to group. 

I have turned on the capability to edit the rows; however by
default the edit behaviour allows the users to change both values. 

Is there any way to restrict this to a single column?

Additionally when do I place the code to allow me to actually
carry out the edit / delete commands? 

TIA

Princy
Top achievements
Rank 2
 answered on 07 Jul 2014
2 answers
128 views
I'm using radfileexplorer to view files and folders. Files with Turkish characters below the list of files when I sort them by file name. How do I sort Turkish. ... a-b-c-d-d-u-u-v-y-z
Vessy
Telerik team
 answered on 07 Jul 2014
2 answers
367 views
Hi,
I want to disable my custom "Clear Filter" header menu if there are no filters applied to the RadGrid.
But I am not able to know if filters are applied.

I have tried solutions mentioned in below link
http://stackoverflow.com/questions/8188990/how-to-know-when-filters-are-used-when-using-telerik-rad-grid
including 
sender.get_masterTableView().get_filterExpressions()
sender.get_masterTableView().get_filterExpressions().toOql()

But I am not able to get the filterExpressions successfully.

Can anyone please provide correct code?
Tushar
Top achievements
Rank 1
 answered on 07 Jul 2014
8 answers
158 views
Hi,
I am using RadGrid in my project. I have explicitly set width of all columns.
I have not set width of Grid because I want the Grid to cover all the width. Scrollbar is enabled.

    <div style="height:400px">
        <telerik:RadGrid id="RadGrid1" Height="90%" runat="server" ClientSettings-Scrolling-AllowScroll="true"
            autogeneratecolumns="false" onneeddatasource="RadGrid1_NeedDataSource" 
            enableheadercontextmenu="true" allowfilteringbycolumn="true">
            <HeaderContextMenu>
            </HeaderContextMenu>
            <MasterTableView TableLayout="Fixed">
                <Columns>
                    <telerik:GridBoundColumn DataField="ID" HeaderText="ID" UniqueName="ID" HeaderStyle-Width="100px" />
                    <telerik:GridBoundColumn DataField="Name" HeaderText="Name1" UniqueName="Name1" HeaderStyle-Width="200px" />
                    <telerik:GridBoundColumn DataField="Name" HeaderText="Name2" UniqueName="Name2" HeaderStyle-Width="100px" />
                    <telerik:GridBoundColumn DataField="Name" HeaderText="Name3" UniqueName="Name3" HeaderStyle-Width="200px" />
                    <telerik:GridBoundColumn DataField="Name" HeaderText="Name4" UniqueName="Name4" HeaderStyle-Width="100px" />
                    <telerik:GridBoundColumn DataField="Name" HeaderText="Name5" UniqueName="Name5" HeaderStyle-Width="200px" />
                    <telerik:GridBoundColumn DataField="Name" HeaderText="Name6" UniqueName="Name6" HeaderStyle-Width="200px" />
                    <telerik:GridBoundColumn DataField="Name" HeaderText="Name7" UniqueName="Name7" HeaderStyle-Width="100px" />
                    <telerik:GridBoundColumn DataField="Name" HeaderText="Name8" UniqueName="Name8" HeaderStyle-Width="200px" />
                    <telerik:GridBoundColumn DataField="Name" HeaderText="Name9" UniqueName="Name9" HeaderStyle-Width="100px" />
                    <telerik:GridBoundColumn DataField="Name" HeaderText="Name10" UniqueName="Name10" HeaderStyle-Width="200px" />
                    <telerik:GridBoundColumn DataField="Name" HeaderText="Name11" UniqueName="Name11" HeaderStyle-Width="100px" />
                    <telerik:GridBoundColumn DataField="Number" HeaderText="Number" UniqueName="Number" HeaderStyle-Width="150px" />
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>
    </div>


In IE and Chrome, when I select less number of columns (2/3), column width is increased automatically to cover all available width.
But in Firefox, column width is not automatically increased. Instead whitespace is displayed on right. Please refer the attched snapshot.
IF I remove TableLayout=Fixed, it works fine in Firefox. But I do not want to remove it since I have explicitly specified each column width.
How can I fix the issue in Firefox?

Thanks in Advance!!

Tushar
Top achievements
Rank 1
 answered on 07 Jul 2014
9 answers
176 views
Hi
I am converting to a newest controls and I am getting the following warning:

Warning   2   'Public Overrides ReadOnly Property Calendar() As Telerik.Web.UI.RadCalendar' is obsolete: 'Please don't touch Calendar property'.

This is what it is objecting to:
<Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x">
</Calendar>

When I go to
http://www.telerik.com/help/aspnet-ajax/calendar-displaying-popup.html
It seems that the property is still in use (maybe the docs has not been updated).  So, how am I to get rid of the warning and keep the functionality.
Phil
Maria Ilieva
Telerik team
 answered on 07 Jul 2014
1 answer
128 views
I have jquery rating control which I put in RadGrid column. After postback JS and CSS doesn't load. All controls are in RadAjaxPanel. Example in attachment. 

Example
Maria Ilieva
Telerik team
 answered on 07 Jul 2014
3 answers
440 views
Hello Forum

Is there at way to retrieve clickresult from Radconfirm from within a javascriptfunction.

This might be a trivial question, im not sure, I have been starring me blind on solving this. :)

Here goes my last shot that didnt work, any hints are welcome:

 function MainFn() {

             var answer= confirmFn("OK CANCEL ?");              
              alert(answer);
              if (answer==false)
                  return false;  //Break here    
               
               //else  do something more....

               // return an end result
              return false;
                     
          } 


 function confirmFn(text) {
              var callBackFn = function (arg) {
                  if (arg) {                      
                      return true;
                  }
                  else {
                      return false;
                  }

              }
              radconfirm(text, callBackFn);
          } 



         
Mark
Top achievements
Rank 1
 answered on 07 Jul 2014
1 answer
73 views
I have 4 User controls which are loaded or refreshed on selecting a row from grid and the values for the controls on user controls are fetched dynamically as per the values in row selected. 

while debugging i can see that the controls on UC has correct values but the values on User control are not showing ..rather user control itself are not getting displayed.

note : there are no UCs on page load.

Please let me know the reason and solution for this.
Angel Petrov
Telerik team
 answered on 07 Jul 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?