Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
73 views
The "Description" tab on this page suggests that the Command for the TimeSlotContextMenu to Add A Recurring Appointment is "AddRecurringAppointment", but the marup on the "DefaultCS.aspx" tab reads ...
<telerik:RadMenuItem Text="New Recurring Appointment" ImageUrl="Images/recurring.gif" Value="CommandAddRecurringAppointment" /> 
I'm guessing that the "Description" tab is wrong.

--
Stuart
Peter
Telerik team
 answered on 22 Jan 2010
5 answers
698 views

I'm using trial Q2 2009 controls with a RadNumericTextBox input for salary and have several issues:-
 

 
<telerik:RadNumericTextBox runat="server" ID="dataEarnedAnnualIncome" Text='<%# Bind("EarnedAnnualIncome") %>' NumberFormat-DecimalDigits="0" NumberFormat-AllowRounding="true" Tooltip="" /> 

 

 

 

 

 

1. I don't want any decimal places, however, no matter what I do the control allows me to enter several decimal places. I need the control to stop me enetring decimal places or limit it to the correct number like a masked control - how can I do this?

I've tried adding a OnClientBlur javascript function to disable the decimal point from input, which would only cater for numbers with no decimal places, but this doesn't work as none of the RadNumericTextBox validation then happens and I can enter non numeric text in the box - can my script be changed to make this work?
 

 
//Function to stop decimal point being input  
        function StripDecimalPoint(sender, eventArgs) {  
            var c = eventArgs.get_keyCode();  
            if (c == 46) { eventArgs._cancel = true; }  
            return false;  
        } 

 

 


2. The rounding is calculated incorrectly as rounding depends on the number of significant decimal places not just the values of the numbers. With no decimal places 0.45 should be rounded down to 0, however it is being rounded up to 1?

3. If I cannot limit the number of decimals the user inputs then its preferable to truncate the input, however, when I change the AllowRounding to false the input is not truncated but left exactly as entered by the user. Obvioulsy I'd prefer to stop the user being able to enter extra decimals but if I can't how do I need to change my line to get truncating to work?

If these are known issue when do you anticipate fixing them?

Thanks

 

Dimo
Telerik team
 answered on 22 Jan 2010
1 answer
94 views
Working with RadTreeView file version 6.3.6.0. 

I'm using server-side LoadOnDemand; It loads the 1st level fine and the server side NodeClick event is firing.
Expanding a node fires the NodeExpand where I add the next level of data.
    Private Sub AddChildNodes(ByVal node As RadTreeNode) 
        If GetCustomersByNode(CInt(node.Value)) Then 
            Dim row As DataRow 
            For Each row In parentCustomer.Tables(0).Rows 
                Dim childNode As New RadTreeNode() 
                childNode.Text = CStr(row("CustomerName")) 
                childNode.Value = CInt(row("CustomerNum")).ToString() 
                childNode.ExpandMode = CInt(row("HasChild")) 
                childNode.PostBack = True 
                node.Nodes.Add(childNode) 
            Next row 
        End If 
    End Sub 

When I click on any node level which has been populated via NodeExpand event, it does not perform the server side NodeClick event.
What can I do to get the server-side event to fire when I click the node?  I've seen a suggestion to use the RadAjaxManager (which I am using for other controls in this page), but I'm not sure how to wire that up.

Thanks,
Jim
Yana
Telerik team
 answered on 22 Jan 2010
1 answer
72 views
Actually for a normal aspx page the custom colors are applying to raddocks,but when my page is inherting a masterpage it is not working.


thanks in advance
Pero
Telerik team
 answered on 22 Jan 2010
2 answers
113 views
Hi,
    I am using the following code to open a radWindow from another radWindow:

  function GetRadWindow()
        {
            var oWindow = null;
            if (window.radWindow)
                oWindow = window.radWindow;
            else if (window.frameElement.radWindow)
                oWindow = window.frameElement.radWindow;
            return oWindow;
        }

        function openRadWin(accid, grporhd, contmenutxt)
        {
            var oManager = GetRadWindow().get_windowManager();
            oManager.open('/Demo/frmAccount.aspx?id=' + accid + '&grporhd=' + grporhd + '&contmenu=' + contmenutxt, "RadWindow2");
        }       

I am calling openRadWin() on the click event of a button in the parent radWindow ( code given below ) to call the second radWindow (ie. RadWindow2)

I am using the following code to open the parent radWindow:
 
            RadWindow newWindow = new RadWindow();
            newWindow.Title = "Chart of Account";
            newWindow.Skin = "Forest";
            newWindow.NavigateUrl = "~/ChartOfAccountTest.aspx";
            newWindow.Top = Unit.Pixel(50);
            newWindow.VisibleOnPageLoad = true;
            newWindow.Behaviors = WindowBehaviors.Move | WindowBehaviors.Close | WindowBehaviors.Minimize | WindowBehaviors.Reload;
            newWindow.Left = Unit.Pixel(200);
            newWindow.Width = Unit.Pixel(650);
            newWindow.Height = Unit.Pixel(500);
            RadWindowManager1.Windows.Add(newWindow);

The javascript given in the beginning is put in the script section of ChartOfAccountTest.aspx .  I want to raise an event of CharOfAccountTest.aspx when the second radWindow (ie. RadWindow2) is closed.  Please suggest me a solution to implement this. Any help will be highly appreciated.

Joseph

Joseph Ambattu
Top achievements
Rank 1
 answered on 22 Jan 2010
3 answers
235 views
I copied "Vista" skin directory.
I modified name example: Ajax.Vista.css -> Ajax.SESkin.css
I modified name all css class example: .RadAjax_Vista -> .RadAjax_SESkin
( http://www.telerik.com/help/aspnet-ajax/themeshowto.html )
I copied this my directory SESkin in App_Theme\SETheme
I created SESkin.skin in App_Theme\SETheme:

 

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
 
<telerik:RadCalendar runat="server"   
                     EnableEmbeddedSkins="false"   
                     Skin="SESkin" /> 
                       
<telerik:RadChart runat="server"   
                  EnableEmbeddedSkins="false"   
                  Skin="SESkin" /> 
                    
<telerik:RadColorPicker runat="server"   
                        EnableEmbeddedSkins="false"   
                        Skin="SESkin" /> 
                          
<telerik:RadComboBox runat="server"   
                     EnableEmbeddedSkins="false"   
                     Skin="SESkin" /> 
                       
<telerik:RadDock runat="server"   
                 EnableEmbeddedSkins="false"   
                 Skin="SESkin" /> 
                   
<telerik:RadDatePicker runat="server"   
                       EnableEmbeddedSkins="false"   
                       Skin="SESkin" /> 
                         
<telerik:RadGrid runat="server"   
                 EnableEmbeddedSkins="false"   
                 Skin="SESkin"   
                 EnableLinqExpressions="false" 
                 GroupingSettings-CaseSensitive="false" />   
 
 
                   
<telerik:RadEditor runat="server"   
                   EnableEmbeddedSkins="false"   
                   Skin="SESkin" /> 
                     
<telerik:RadFileExplorer runat="server"   
                         EnableEmbeddedSkins="false"   
                         Skin="SESkin" /> 
                           
<telerik:RadFormDecorator runat="server"   
                          EnableEmbeddedSkins="false"   
                          Skin="SESkin" /> 
                            
<telerik:RadMaskedTextBox runat="server"   
                          EnableEmbeddedSkins="false"   
                          Skin="SESkin" /> 
                            
<telerik:RadMenu runat="server"   
                 EnableEmbeddedSkins="false"   
                 Skin="SESkin" /> 
                   
<telerik:RadTextBox runat="server"   
                    EnableEmbeddedSkins="false"   
                    Skin="SESkin" /> 
                      
<telerik:RadDateInput runat="server"   
                      EnableEmbeddedSkins="false"   
                      Skin="SESkin" /> 
                        
<telerik:RadPanelBar runat="server"   
                     EnableEmbeddedSkins="false"   
                     Skin="SESkin" /> 
                       
<telerik:RadProgressArea runat="server"   
                         EnableEmbeddedSkins="false"   
                         Skin="SESkin" /> 
                           
<telerik:RadRotator runat="server"   
                    EnableEmbeddedSkins="false"   
                    Skin="SESkin" /> 
                      
<telerik:RadScheduler runat="server"   
                      EnableEmbeddedSkins="false"   
                      Skin="SESkin" /> 
                        
<telerik:RadSlider runat="server"   
                   EnableEmbeddedSkins="false"   
                   Skin="SESkin" /> 
                     
<telerik:RadSpell runat="server"   
                  EnableEmbeddedSkins="false"   
                  Skin="SESkin" /> 
                    
<telerik:RadSplitter runat="server"   
                     EnableEmbeddedSkins="false"   
                     Skin="SESkin" /> 
                       
<telerik:RadTabStrip runat="server"   
                     EnableEmbeddedSkins="false"   
                     Skin="SESkin" /> 
                       
<telerik:RadToolBar runat="server"   
                    EnableEmbeddedSkins="false"   
                    Skin="SESkin" /> 
                      
<telerik:RadToolTip runat="server"   
                    EnableEmbeddedSkins="false"   
                    Skin="SESkin" /> 
                      
<telerik:RadTreeView runat="server"   
                     EnableEmbeddedSkins="false"   
                     Skin="SESkin" /> 
                       
<telerik:RadUpload runat="server"   
                   EnableEmbeddedSkins="false"   
                   Skin="SESkin" /> 
                     
<telerik:RadWindow runat="server"   
                   EnableEmbeddedSkins="false"   
                   Skin="SESkin" /> 
                     
<telerik:RadWindowManager runat="server"   
                          EnableEmbeddedSkins="false"   
                          Skin="SESkin" /> 

In my page set this Theme.

It's all ok but It's impossibile view edit-icon, delete-icon, cancel-icon etc.
But refresh-icon anche Add-icon are ok!

Dimo
Telerik team
 answered on 22 Jan 2010
2 answers
97 views
Hello,
    I have a Radgrid which has both static and dynamic columns and is programmatically databound to a datatable.  When you collapse a grouping, the dynamic columns (at least the headers) disappear. What, if any, server side event is being raised when the client collapses a group? Is the grid required to postback in order to collapse a group?

Thank you
gsxrboy
Top achievements
Rank 1
 answered on 22 Jan 2010
1 answer
81 views
How can i give different customs colors to docks like i need dock1 color is red and dock2 color green like that....
Pero
Telerik team
 answered on 22 Jan 2010
1 answer
73 views
Hello,
I've searched and this seems like it has been addressed in previous version but I still see a flicker where the style is not applied and then it shows up. The most prominent is the buttons, they really stand out. It seems fine in firefox but not IE 7.
I'm using the latest version in asp.net 3.5. Is there something I need to do as a work around? I didn't see anything in the forum.

Thanks,
Brian
Georgi Tunev
Telerik team
 answered on 22 Jan 2010
2 answers
146 views
It seems that the primarytotal value for the progress bar can not be higher than 99,999.  Is there a way to override this?

I am current using the progress bar to report on # of lines of a file imported and it is common to have 100K+ lines.

Thanks!
Genady Sergeev
Telerik team
 answered on 22 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?