Scrolling. :)
My code:
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager" runat="server"/>
<div>
<telerik:RadTextBox runat="server" ID="textboxmemo" TextMode="MultiLine" Rows="3" MaxLength="500" Width="300px">
</telerik:RadTextBox>
</div>
</form>
</body>
</html>
thanks!
5 Answers, 1 is accepted
0
Hello Ricardo,
Thank you for reporting this problem. We have just fixed it and changes will take effect in our next release or internal build. In the meantime, you can add the following Javascript code to the website as a workaround:
I have updated your Telerik points.
Sincerely yours,
Dimo
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Thank you for reporting this problem. We have just fixed it and changes will take effect in our next release or internal build. In the meantime, you can add the following Javascript code to the website as a workaround:
if (typeof(Telerik) != "undefined" && typeof(Telerik.Web.UI.RadTextBox) != "undefined") |
{ |
Telerik.Web.UI.RadTextBox.prototype._onTextBoxMouseWheelHandler = function (e) |
{ |
return true; |
} |
} |
I have updated your Telerik points.
Sincerely yours,
Dimo
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Nikolas G
Top achievements
Rank 1
answered on 13 Nov 2009, 10:20 AM
Hi ,
sorry for the silly question.
But where exactly should I put this code in order to work for my RadTextBox??
thnx
sorry for the silly question.
But where exactly should I put this code in order to work for my RadTextBox??
thnx
0
Hi Nikolas,
You should put that Javascript code in a <script> tag in the <body> (not in the <head>), so that it is parsed after the embedded scripts in order to override them. You can alternatively add the script in an external .js file, but again, you have to register that file in the <body>.
Sincerely yours,
Dimo
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
You should put that Javascript code in a <script> tag in the <body> (not in the <head>), so that it is parsed after the embedded scripts in order to override them. You can alternatively add the script in an external .js file, but again, you have to register that file in the <body>.
Sincerely yours,
Dimo
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Nikolas G
Top achievements
Rank 1
answered on 13 Nov 2009, 05:31 PM
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> |
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head runat="server"> |
<title></title> |
</head> |
<body> |
<form id="form1" runat="server"> |
<script type="text/javascript"> |
if (typeof (Telerik) != "undefined" && typeof (Telerik.Web.UI.RadTextBox) != "undefined") { |
Telerik.Web.UI.RadTextBox.prototype._onTextBoxMouseWheelHandler = function(e) { |
return true; |
} |
} </script> |
<asp:ScriptManager ID="ScriptManager1" runat="server"> |
</asp:ScriptManager> |
<telerik:RadTextBox ID="RadComboBox4" runat="server" Width="150px" MaxLength="200" |
TextMode="MultiLine"> |
</telerik:RadTextBox> |
</form> |
</body> |
</html> |
This code doesn't work for me :(.
Am I doing something wrong??
0
Ricardo
Top achievements
Rank 1
answered on 13 Nov 2009, 06:05 PM
Nikolas,
This code does perfect work for me :)
I put that Javascript code in a <script> tag in the <body> of my MasterPage.
This code does perfect work for me :)
I put that Javascript code in a <script> tag in the <body> of my MasterPage.
if (typeof(Telerik) != "undefined" && typeof(Telerik.Web.UI.RadTextBox) != "undefined")
{
Telerik.Web.UI.RadTextBox.prototype._onTextBoxMouseWheelHandler =
function (e)
{
return true;
}
}