Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
98 views

I have an issue when i did the upgrade last version of Telerik '2012.2.607.35'
I tried others version, as '02217Telerik.Web.UI_2012_2_807_Dev_hotfix' or '2012.2.710.35' HotFix too.

This problem happend on the events Onchange and OnKeyPress.
I debugged the code and the problem is that method 'set_value' sign in loop.

The version HotFix '2012.2.710.35' works fine, but only the Event Onchange, the Event OnKeyPress the issue persists.

Example: (Javascript)
var iResul='25';
function Calcular(sender, args) {

        var textBox = sender;
        textBox.set_value(iResul);

 }

 

Martin
Telerik team
 answered on 17 Aug 2012
5 answers
1.0K+ views
In the attached page, the button set not to display with style="display:none", displays the rounded right side of the button when FormDecorator is applied.

Any ideas?  Currently i just bumped it off the page, but I would like to get it fixed properly.


<%@ Page Language="VB" AutoEventWireup="false" CodeFile="nobutton.aspx.vb" Inherits="Junk_nobutton" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> 
<%@ Register Assembly="System.Web.Ajax" Namespace="System.Web.UI" TagPrefix="asp" %> 
 
 
<!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>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server"
    <div> 
     
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnablePartialRendering="true" CombineScripts="false">        </asp:ToolkitScriptManager> 
<telerik:RadFormDecorator runat="server" ID="RadFormDecorator1" EnableEmbeddedSkins="true" Skin="Forest" DecoratedControls="All"/> 
       
     
<asp:Table runat="server" ID="tblbtn" HorizontalAlign="Left" > 
    <asp:TableRow> 
        <asp:TableCell> 
            <asp:Button ID="buttonOpen" runat="server" CausesValidation="false" style="display:none"   OnClientClick="javascript:popUp('help/cmj.aspx?lt=3')" />   
        </asp:TableCell> 
    </asp:TableRow> 
</asp:Table> 
  
 <asp:PopupControlExtender ID="PopupControlExtender1" runat="server" PopupControlID="buttonOpen" TargetControlID="buttonOpen"></asp:PopupControlExtender> 
     
     
  <script type="text/javascript" language="javascript"
      function popup2(checkbox) { 
          if (checkbox.checked) 
              $get('<%= buttonOpen.ClientID %>').click(); 
          return true; 
      }   
  </script>  
    
    </div> 
    </form> 
</body> 
</html> 
 

Mohammed
Top achievements
Rank 2
 answered on 17 Aug 2012
3 answers
135 views

 

Good day,

We would like to know if is there any way to apply style of a control to an another. We have table inside RadPanelBar. Its looks fine with Metro style. Text is gray (#767676) and also there is bigger space between rows. If table is outside RadPanelBar, text is black and row space is not so big.

Question is how to apply style from RadPanelBar to another object. We apply class rfdAspLabel. Text is good colored but that’s all. There is now style for table formatting.


Thank you in advance for your advice.

Tsvetina
Telerik team
 answered on 17 Aug 2012
1 answer
101 views
I'm using RadScheduler (2012.2.724.40) set to MonthView to display a series of Appointments. In our app, Appointments are actually scheduled events (sent to Quartz Scheduler) requiring a precise start time but no end time, so we set the duration for all of them to 30 minutes just for display purposes. I'd like to keep the MonthView active, as our app has events spread out over the course of a month or more within a given context.

However, when adding an Appointment from MonthView, the StartTime defaults to 12:00 AM on the day of the appointment (an all-day appt) and does not change despite unchecking All Day and setting StartTime in the advanced form. What is the best way to work around this behavior?
James
Top achievements
Rank 1
 answered on 17 Aug 2012
3 answers
151 views
Hi,

We have a situation where we need to restrict user to input only numbers and the limit should be 15 digits with 2 precision.
We tried using the below code and looks there is a restriction of using more than 9 digits:

<telerik:RadMaskedTextBox ID="tbQuantity" runat="server" SelectionOnFocus="SelectAll"                                                                 AutoPostBack="true" Mask="<0..9999999999999>.<0..99>" />

We also tried the below from Telerik demos but the "." comes end like "111111." even though we type "111.111"
 <telerik:RadMaskedTextBox ID="txtNewPrice" runat="server" DisplayFormatPosition="Right" HideOnBlur="true" EmptyMessage="" Mask="##############.##" DisplayMask="##############.##" />

Please help in this regard. 

Thanks.
Mohan
Top achievements
Rank 1
 answered on 17 Aug 2012
4 answers
519 views
I use standard filters for each grid column. The functionality works fine.
But we would like to fit the filter controls automatically when user resizes the columns.

Grid contains corresponding property "FilterControlWidth" and it is possible to set it to "100%". But, unfortunately, it doesn't work as we expected. The "100%" width can be specified only for the textbox and it means that corresponding filter icon always wraps.
The similar problem is for DateTime columns with textbox and 2 icons (date selection and filter).

The idea is to set "100%" for a wrapper on the textbox and filter icon in order to avoid the filter row wrapping.

Is it possible to fit the filter controls automatically?
Vamsi Kamal
Top achievements
Rank 1
 answered on 17 Aug 2012
8 answers
358 views
Is there a way to narrow this column? right now the range filter is quite wide is there a way to stack the datepickers instead of having them appear side by side, this takes up an enourmous amount of grid real estate.  I have tried filtercontrolwidth and it had no effect at all.  Please assist, thank you.
Pavlina
Telerik team
 answered on 17 Aug 2012
1 answer
61 views
Hello, 

I want to set the VirtualItemCount to the number of items within a SQL query. Following this example : http://demos.telerik.com/aspnet-ajax/grid/examples/client/virtualscrollpaging/defaultcs.aspx .

How would I set the Virtual item count whenever I do a query within the defaultcs.aspx NeedDataSource, and update the grid?

Thank you, Joe Nguyen
Andrey
Telerik team
 answered on 17 Aug 2012
1 answer
90 views
Hi everyone,

I have a "radtreeview" containing a contexmenu authorizing the user to create a new folder. I used th following example :
http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/contextmenu/defaultcs.aspx 

When we click on the "create folder" item, the treeview allow us to edit it, I would like to save the name of this new node in my db. So I tried to put my methods of saving in the treeview event "OnNodeEdit", but it does not pass by this event.

My question is thus the following one: on what server side event may I introduce my saving?

Thx a lot.
David
Top achievements
Rank 1
 answered on 17 Aug 2012
1 answer
44 views
I need to supress few charecters while copying text from MS Word to RadEditor control such as ' (single quote)  and " (Double quotes). Below is the example.
 

Below employees are requested me at HR’s desk in

“Chris”

“Jhon”


This is different from the radEditior text

Below employees are requested me at HR's desk in

"Chris"

"Jhon"


is there any way to replace\supress this type of data as well ?
I have used reEditor.StripFormattingOptions = Telerik.Web.UI.EditorStripFormattingOptions.MSWordRemoveAll;
but not helped.
Rumen
Telerik team
 answered on 17 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?