Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
231 views
Hi everyone,

I have a RadNumericTextbox on a page that is set to display 2 decimal places.
If I set the initial value in the Page_Load to be 16.67 and then increase this value using the up arrow the control behaves as expected.
If I decrement this value below the initial 16.67 then the number suddenly displays 15,670000000000001 (15 decimal places), if I increment the number back to 16.67 or greater the decimal places displayed returns to 2.
I have tracked this down to the "AllowRounding" property, if set to false this behaviour occurs, if set to True the control behaves as expected.
Why is this happening? I need to set AllowRounding = false and do not want these additional decimal places.

Here is a simple test page which displays the behaviour:

<%@ 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>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager runat="server" ID="ScriptManager1">
        </asp:ScriptManager>
        <telerik:RadNumericTextBox ID="txtNum" ButtonsPosition="Right" MinValue="0" MaxValue="100" Type="Number" runat="server" ShowSpinButtons="true"   >
            <NumberFormat AllowRounding="false" DecimalDigits="2" />
            <IncrementSettings Step ="1" />
        </telerik:RadNumericTextBox>   
    </form>
</body>
</html>


using

 

System;

 

using

 

Telerik.Web.UI;

 

public

 

partial class _Default : System.Web.UI.Page

 

{

 

protected void Page_Load(object sender, EventArgs e)

 

{

txtNum.Value=16.67;

}

}


Daniel
Telerik team
 answered on 21 Apr 2009
2 answers
169 views
I really like the button controls that you use on the very site. How did you create them? Is there a app for this to create or what is it that you use? There is obviously a mouseover image, on mouse down image, etc. The text is clear, etc. Is there a control for this?
Thanks,
Steve Y
Top achievements
Rank 2
 answered on 21 Apr 2009
2 answers
268 views
Hi All,

On the server side I used to set the FilterExpression like:

RadGrid1.MasterTableView.FilterExpression = "some expression";

How do I achieve this on the client side?

If I use this method on the client side:
tableView.filter("ClientID", clientID, Telerik.Web.UI.GridFilterFunction.Equal);

the filter works, but when I use this method:

tableView.get_filterExpressions()

I don't get an expression, it comes back blank.

Any help would be appreciated.

Thanks







Iana Tsolova
Telerik team
 answered on 21 Apr 2009
2 answers
187 views
Hi,
  Currently I have a requirement where nestedview tamplate will have a detail table with grid. This grid would be having the columns exactly same as master table grid. I want the indentation of this grid in detail table to be same as the one in master table. Please do let me know the work around.

There are <TD> tags with width 20px which are try to place the detail grid alignment away frmo parent grid.

Thanks and regards,
Giridhar.
giridhar
Top achievements
Rank 1
 answered on 21 Apr 2009
2 answers
124 views
Hi,
 I am using AdvancedForm in my scheduler control.  When I use your standalone AdvancedForm example, I dont get any errors and everything works fine.

But when I use the advancedform in my code, then I get the error as 'telerik not defined'. Actually my website has a asp scriptmanager defined in the Master page. So I cant register AdvancedForm.js using the scriptmanager in my telerik page.

So I tried two things. First was I tried to register the script in the Master page itself, then it gave the above error. Second I tried registering on my telerik page using asp:ScriptManagerProxy but then nothing happens (means like when i click recurrence checkbox on the advanced form, no options come up).
I also tried inserting the following line in Web.Config under handlers under system.webServer but nothing happened:
<add  path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />

Regards,
Abhishek
Abhishek Dixit
Top achievements
Rank 1
 answered on 21 Apr 2009
2 answers
94 views
I have a reasonably complicated setup with a chart on a control loaded on the fly according to this and that.

Now, the first time the asp.net postback occurs in order to render the chart, all the axes, title, legend etc draw fine. However, the chart series line does not appear, only the 'spinner'. I know the code to draw the line is being run.

On a subsequent postback (e.g. when the browser is resized and I explicitly set chart size), the line draws correctly.

Any ideas why the line should not appear first time?

thanks
Matthew
Top achievements
Rank 1
 answered on 21 Apr 2009
1 answer
125 views
Hi,

I have a problem with Image properties dialog. Its the only one dialog that isnt working in my DNN application, others work good (for example Image Manager, Table properties, etc). When i try to open Image Properties wnd by using right click on image i get:

The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.

Requested URL: /xxx/DesktopModules/SGN_News/Telerik.Web.UI.DialogHandler.aspx

I have everything registered in web.config, i tried to switch to axd dialoghandler and its still not working.
Lini
Telerik team
 answered on 21 Apr 2009
7 answers
208 views
Hi all

I have a nested gridview, and need to get the values of a GridBoundColunm on postback. 

What I want to do is when a user hits the delete icon it deletes the record, but I cant get a handle in the datakeyvalues, I have to rely on a hidded id field, it's this hidden id field that I have in a grigboudcolumn.

Can somesone show me how please

Andy
MANU
Top achievements
Rank 1
 answered on 21 Apr 2009
4 answers
177 views
I am using Q3 2008 controls

I have aspx page as follows:

splitter with height set to 100%
sliding zone containing sliding pane1, which contains a user_control1
split bar
pane2 which contains user_control2, scrolling is disabled

user_control2 contains a radgrid which lots of columns, therefore exceeds the available width

I get two problems:

1) the horizontal scrollbar of the grid does not display
2) the height of both panes (sliding and fixed) is restricted to the height of the grid

I dont get these problems if the grid has only a few columns and can fit in the width of pane2

any suggestions ?

thanks, patrick
Svetlina Anati
Telerik team
 answered on 21 Apr 2009
5 answers
154 views
I want to localise the dock / undock / collapse tooltips of the RadSlidingPane.

Is this possible and if so how can I do this?
Tsvetie
Telerik team
 answered on 21 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?