Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
574 views
What I want is to use the user decimal separator but even if I defined no specific value in the declaration of my RadNumericTextBox, it always use the "," even if my Windows is set with a ".". I also checked the decimal separator of my current culture using "Thread.CurrentThread.CurrentUICulture.NumberFormat.NumberDecimalSeparator", and the value is ".". The only way It don't have the "," is to defined a specific value.

Here is my code:
<telerik:RadNumericTextBox ID="RadNumericTextBox1" Runat="server" MaxValue="5" MinValue="-5" ShowSpinButtons="True"> 
    <
NumberFormat ZeroPattern="n" DecimalDigits="1" />

</telerik:RadNumericTextBox>

Also, if It's required to force a decimal separator, is there a way to define it in a CSS or somewhere else to every RadNumericTextBox will use the same settings so I will not forgot one.

Anybody can help me?

Thanks

 

Marc
Top achievements
Rank 1
 answered on 07 Dec 2012
18 answers
1.5K+ views
All,

Here's my scenario:

I have multiple RadAjaxPanels on a page (for simplification i'll say 2)  Panel A and Panel B.  Panel A contains a PanelBar for navigation of the site and Panel B is essentially a content area that dynamically loads User Controls.  When a user clicks on an item in the PanelBar in Panel A, it fires a server-side event which handles loading of the user control.  After the event fires I need the AjaxPanel (Panel B) to refresh and re-render it's content thus displaying the newly loaded user control to the user. 

I've tried several ways of accomplishing this to no avail.  Here's what I've tried:

1) Assigning a forced __doPostBack() to one of the client side OnItemClick events.  This does force the refresh but since it is assigned to the client side event it fires Before the server side event which is before the new user control is even loaded.

2) Using the following syntax from the online help and making this call after the event loads the user control RadAjaxPanel.ResponseScripts.Add(String.Format("$find('{0}').ajaxRequest();", RadAjaxPanel.ClientID))

Where RadAjaxPanel is replaced by the name of the AjaxPanel i'm trying to update in the application. 

If I use .ClientID I've been getting back an JScript error of 'Object does not support this method or property', whereas conversely if I use .UniqueID i get an 'Object is undefined or null' error.

3) Tried using a Page.RegisterStartupScript which registers a .js that forces the refresh through a __doPostBack();  Also tried ClientScripts.RegisterStartupScript.

All of this has been to no avail so far.  I've traced through the code and the new user control is being loaded properly and being added to the control tree.  If I do a f5 refresh on the page, the control shows up just fine because i'm using the LatestLoadedControl mechanism defined in the telerik help for loading user controls.  However, this is unacceptable as Panel B doesn't refresh it's content until f5 is hit for a page refresh. 

Can anyone please point me in the right direction?? I would Really appreciate any help anyone can give on this.  So close, yet so far!

Thanks,
SK

Maria Ilieva
Telerik team
 answered on 07 Dec 2012
3 answers
163 views
Hi,
    I have a Rad DateTimePicker in my Application and when i add one item to database  along with Rad DateTimePicker value showing error like this

 System.InvalidOperationException: Nullable object must have a value.   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)   at System.Nullable`1.get_Value()  

Actually  Rad DateTimePicker control has Value
Please help me to solve this issue
Thanks in Advance
Jesmon Joseph

Martin
Telerik team
 answered on 07 Dec 2012
5 answers
236 views
The title pretty much says it all. My server was giving me the following error "Could not load file or assembly 'Telerik.Web.UI, Version=2012.2.724.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The system cannot find the file specified."

Looking in my Windows Assembly folder I noticed that I had the 2012.2.724.35 assemblies installed, but not the 2012.2.724.40 version. When dragging and dropping the DLLs files to the C:\Windows\assembly folder for version 2012.2.724.35 they installed just fine. However, when I try to do the same thing for 2012.2.724.40 nothing happens and they do not install. I even tried repairing the .NET 4.0 framework and restarting but nothing works.

I am logged in to the Machine's local Administrator account so there is no reason I can think of why this shouldn't work.


EDIT: I also want to be clear, that I'm perfectly aware that I can get around the issue by adding the DLL to my application bin folder, however these DLLs are not small, and when I have dozens of applications using them the burden can get quite large. At any rate, it completely defeats the purpose of the GAC (i.e. GLOBAL Assembly Cache).

EDIT2: Is this true? Did they really remove the ability to add GACs this way in .NET 4.0? I'd really rather not use the Telerik installer as it does not allow any flexibility as to what to install. I just used the 2012.3.1016 installer and I only got the Design binaries which I don't even need. Where are UI and Skins? Ugh!
Marin Bratanov
Telerik team
 answered on 07 Dec 2012
1 answer
99 views
When I set the  EnableViewState="false" to the radgrid. The viewstate becomes smaller. And the grid works well, the paging also works except pagesize dropdownlist.

When I select 10 items per page, 20 items per page, it works well. But When I select pagesize per 50, it doesn't work,

We want to use this in our project to improve the performance. 

Can you fix this for me as soon as possible? 
Kostadin
Telerik team
 answered on 07 Dec 2012
1 answer
400 views
I have a RadTooltip that is placed inside of a RadGrid's header that is being displayed inside of a RadWindowManager.  When the RadWindow gets resized to a smaller area, the grid and it's columns resize appropriately however the expanded tooltip's position stays the same; which causes it to be hidden outside the bounds of the RadWindow because the RadWindow's dimensions are smaller.  I have the tooltip configured to be placed relative to the element that makes it display but it doesn't seem to stay relative to that element in the case of the radwindow shrinking in size.  It looks to be absolutely positioned once popped out.

Is there a solution to this issue?
Marin Bratanov
Telerik team
 answered on 07 Dec 2012
2 answers
94 views
This morning I was informed about the new version of your controls [Q3 2012 SP1 (version 2012.3.1205)] and upgraded my project accordingly.

I immediately noticed that at least two things are broken in the new version of the Treeview (please see screenshot) :
  1. The expanded treeview no longer respects the bottom boundary of the treeview container.
  2. The vertical alignment of the node text has jumped up several pixels, at least in IE9.

I will continue doing further testing but am praying that you will fix these two problems asap.

Sincerely,

Robert W.
Vancouver, BC

Boyan Dimitrov
Telerik team
 answered on 07 Dec 2012
1 answer
86 views
Hi i have a problem formatting my currency.
i have set the culture to polish and type to currency ( i want to dynimc change cultures). On the client side the text box displays properly the format (i mean depending on the culture - the number divided by . or , and the currency) but on the server side. This were the problem begins:

When i get the text from the textbox (for polish) despite i have entered a number in a format like this 555 555,00 i get using mynumerictextbox.Text instead of 555 555,00 a 555 555.00
and when i try to insert text to textbox it changes the 55,55 to 5555.
Is there any whay to make it work the same way as it displays data on the client side?
Eyup
Telerik team
 answered on 07 Dec 2012
1 answer
117 views
Hi,
I want to know which object telerik can drag and drop. I have to create a map of a room and choose the location of the tables. The choice of the positions of the tables to make the customer then I have to give the possibility to insert an object images representing the tables and be able to move these images and then save the selected position. I think I have the coordinates of the objects (tables).
Any suggestions?

Bye
Maria Ilieva
Telerik team
 answered on 07 Dec 2012
7 answers
347 views
Hello,

I'm trying to create a custom skin for our RadGrids.
I would like to have the entire Vista skin except for the selected row, that needs to be orange like in the Office2007 skin.

What i do is create a new custom skin based on the Vista template, select the DataItem, then choose the Selected tab and change the background color to the orange color i looked up in the Office2007 skin. At this point i only get a small orange line at the bottom of the row. I removed the sprite.gif and downloaded the sprite.gif from the Office2007 skin. Uploaded it into the Vista skin and the entire row orange instead of only the bottom part.

My question is that we use a hierarchial grid and with the skin i made the expand/collapse button disappears when i select a row. The whole width of the row is orange but i would like the column where you see the expand/collapse button to keeps it's original color.
I've played around in the VSB but i can't seem to find the right property i need to set for this.

Anyone any advice on how to do this?
Galin
Telerik team
 answered on 07 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?