This is a migrated thread and some comments may be shown as answers.

NumericTextBox in MVC3

3 Answers 80 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Adriano
Top achievements
Rank 1
Adriano asked on 28 Dec 2010, 06:52 PM
Hi all, we are trying to use NumericBox in a MVC3 RC2 project but with no success. We have tried using Razor and Aspx view engine too but in each case we have a null reference exception. In our aspx view, we use the following basic code:

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Index
</asp:Content>
 
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 
<h2>Index</h2>
<div>
    <%=
        Html.Telerik().NumericTextBox().Name("prova").Spinners(true)
     
    %>
</div>
 
</asp:Content>


Have you some idea??

Thank you so much
Adriano

3 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 29 Dec 2010, 08:39 AM
Hello Adriano,

 Unfortunately we are not aware of such a problem. Could you attach a sample project which demonstrates this? You can also check this code library entry which contains a Razor/MVC3 sample.

Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Adriano
Top achievements
Rank 1
answered on 29 Dec 2010, 10:11 AM
Hello, I've attached our simple project. In this moment, we're using aspx view engine and a simple NumericTextBox in our view with MVC3 RC2 and the last release of your MVC extensions (2010.3.1220.340). 

Let me know

Best regards
Adriano
0
Atanas Korchev
Telerik team
answered on 29 Dec 2010, 11:21 AM
Hi Adriano,

 I reproduced the problem and it appears to be a bug. Find attach a hotfix build which addresses this problem. 

 I have updated your Telerik points.

Regards,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
NumericTextBox
Asked by
Adriano
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Adriano
Top achievements
Rank 1
Share this question
or