Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
158 views
Hi.

I want to use a RadMaskedTextBox to have my users force to use a valus in certain way. The input I am expecting is in the format <number>.<number>. Either side of the . has numerical value and there is no restriction on the length of the number, it can be as low as 1 and as high as 999,999,999.

I tried using Mask="<1..999999999>.<1..999999999>" but this will show up as 000000001.000000001 in the textbox when the page loads. If users want to type in 44.44, they will have to skip the first seven 0s to enter the 44 on each side of the period.

I also tried Mask="<#|##|###|####|#####|######|#######>.<#|##|###|####|#####|######|#######>" but this doesn't render properly as well; shows up as #______.#______ in the textbox.

Is there any way to solve this problem? Or is my scenario best handled with RadTextBox and asp RegularExpressionValidator?

Thanks.
Gaurab
Baal
Top achievements
Rank 1
 answered on 12 Mar 2010
1 answer
111 views
I have a RadGrid, that uses Paging in Slider Mode.  In the Client Settings I have an OnRowClick Event and an OnCommand Event.  When the OnCommand event is added, I get the following error, each time I page the grid forward with the clider.

Message: Sys.WebForms.PageRequestManagerServerErrorException: Unable to cast object of type 'Telerik.Web.UI.GridTHead' to type 'Telerik.Web.UI.RadSlider'.

If I change the mode to anything other than Slider it seems to work fine.  Also, If I remove the OnCommand event, it works fine.  Am I missing something, or is this a know bug?  Below is a snippet of my RadGrid.

<rad

 

:RadGrid ID="grdPeople" runat="server" DataSourceID="dsPerson" GridLines="None"

 

 

 

AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" PageSize="25"

 

 

 

OnItemCommand="grdPeople_ItemCommand" OnItemDataBound="grdPeople_ItemDataBound" >

 

 

 

<ClientSettings EnableRowHoverStyle="true" >

 

 

 

<ClientEvents OnRowClick="grdPeople_RowClick" OnCommand="grdPeople_Command" />

 

 

 

</ClientSettings>

 

 

 

<PagerStyle Mode="Slider" Position="Top" />

Thanks

 

Veli
Telerik team
 answered on 12 Mar 2010
1 answer
83 views
Hi

I'm using a radscheduler in resource view and I'm finding that the resource names are all right justified and some of them are being truncated.

I've tried changing the rowheaderwidth and rowheight properties but this to make no difference.

See the attached file for an example.
Kamen Bundev
Telerik team
 answered on 12 Mar 2010
1 answer
154 views
  
    <style type="text/css">        
 .rcRefreshImage 
        { 
             
                   padding-left: 25px; 
            padding-right: 25px; 
            
       background-image: url(~/Upload/Image/Food/food accueil.jpg); 
       background-color:transparent; 
    
        
        }  
   </style>   
<telerik:RadCaptcha ID="RadCaptcha1" runat="server" 
                  
        CaptchaLinkButtonText="Refresh" CssClass="rcRefreshImage"  
        EnableRefreshImage="True"
                </telerik:RadCaptcha> 
 
why i couldn't insert a image to the link button? by using the rcRfreshImage style class?
need help tq...
Pero
Telerik team
 answered on 12 Mar 2010
1 answer
100 views
Hi all,

  I have a custom css which is like that :

 body
 {
  font: 11px arial, 'Arial Black';
 }

 .ItemHeader
 {
  font-size: 10px;
  font-weight: bold; 
 }
 
 and ItemHeader is apply to some of the <td> item in the form.

  When the page is rendered within a RadWindow, the effect is lost. I used to have the same result when using 2008Q3, but after upgraded to 2009Q3, it changed.

Georgi Tunev
Telerik team
 answered on 12 Mar 2010
2 answers
155 views

Hi,
Is it possible to have a single image (sprite) and load the individual button images using CSS?

I have tried using .rtbIcon, but if the property ImageUrl is not set on the button, the element <img class="rtbIcon" .../> is not rendered.

 

Thanks.

T. Tsonev
Telerik team
 answered on 12 Mar 2010
1 answer
84 views
Hello all ,

 I have create a Dynamic RadDatePicker Using the following code

 RadDatePicker _DatePicker = new RadDatePicker();
        //_DatePicker.ID = "MileStone" + _iIndexCount.ToString() + ":" + _iMileStoneId.ToString() + ":ColumnName:" + _ColumnName.ToString();
        _DatePicker.ID = "M" + _iMileStoneId.ToString() + ":" + _ColumnName.ToString();
        _DatePicker.Calendar.ID = "C" + _iMileStoneId.ToString() + ":" + _ColumnName.ToString();
        _DatePicker.DateInput.ID = "D" + _iMileStoneId.ToString() + ":" + _ColumnName.ToString();

later i will be adding the DatePicker to a table cell , while loading the page , am getting some javascript error saying "}" expected , if i comment this line

        _DatePicker.ID = "M" + _iMileStoneId.ToString() + ":" + _ColumnName.ToString();
things are alllright , wht iam doing wrong ?

Thanks
-Prince




Dimo
Telerik team
 answered on 12 Mar 2010
3 answers
114 views
Hi,

I got a problem with the order of selected item. Attached file is the screen shot.

Here are the step to replicate the issue:
 - Select some pending orders and drag into shipped orders.
 - Select OrderID 10498, hold Shift and select the last shipped order.
 - Drag the selected items out and you will see the order of items is changed.
Daniel
Telerik team
 answered on 12 Mar 2010
1 answer
89 views
Can someone make this control easier,

How do you setup the left alignment when using the group by for a scheduler?

Finding that property is like digging for a diamond.  There's got to be a faster way of doing this.

Thanks,
Kamen Bundev
Telerik team
 answered on 12 Mar 2010
5 answers
583 views
if the date format is mm dd yyyy and
when i enter 25-09-2010 then the datepicker auto corrects the value to 09-25-2010.

I want to stop that.
Anyone have any idea how to stop that?
Dimo
Telerik team
 answered on 12 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?