Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
112 views
Hello,
I have a problem with numeric textbox in Insert and Edit Mode.

<telerik:GridTemplateColumn DataField="ResWidth" DataType="System.Int32"
    FilterControlAltText="Filter ResWidth column" HeaderText="Width"
    UniqueName="ResWidth">
    <EditItemTemplate>
        <telerik:RadNumericTextBox ID="ResWidthRadNumericTextBox" runat="server"
            MaxValue="100000" MinValue="0" Type="Number" Value="0" Width="30px">
            <NumberFormat DecimalDigits="0" ZeroPattern="n" />
        </telerik:RadNumericTextBox>
    </EditItemTemplate>
    <ItemTemplate>
        <asp:Label ID="ResWidthLabel" runat="server" Text='<%# Eval("ResWidth") %>'></asp:Label>
    </ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="ResHeight" DataType="System.Int32"
    FilterControlAltText="Filter ResHeight column" HeaderText="Height"
    UniqueName="ResHeight">
    <EditItemTemplate>
        <telerik:RadNumericTextBox ID="ResHeightRadNumericTextBox" runat="server"
            MaxValue="100000" MinValue="0" Type="Number" Value="0" Width="30px">
            <NumberFormat DecimalDigits="0" ZeroPattern="n" />
        </telerik:RadNumericTextBox>
    </EditItemTemplate>
    <ItemTemplate>
        <asp:Label ID="ResHeightLabel" runat="server" Text='<%# Eval("ResHeight") %>'></asp:Label>
    </ItemTemplate>
</telerik:GridTemplateColumn>


I get following errors in IE9:
Microsoft JScript runtime error: Invalid argument.
this._displayElement.style.borderRightWidth=parseInt($telerik.getComputedStyle(this._displayElement,"border-right-width",""))+parseInt($telerik.getComputedStyle(this._textBoxElement,"border-right-width",""))+"px";

Best regards

Reiner




Vasil
Telerik team
 answered on 30 Apr 2012
2 answers
101 views
Hi all,

How can i add an image in the treeview instead of the '+' for expand... My project is for school students , i want the treeview expand when user click on the image. Please help me ASAP...
 
Thanks in advance,
Ammu
Amrutha
Top achievements
Rank 1
 answered on 30 Apr 2012
1 answer
257 views
Hello,
     I have a combo-box which populates data using ajax. However i dont want all the data to be displayed. How can I hide an item from the list while populating.
Also I want to display the drop down on mouse-over of the combo-box.
Can anyone help me out :(
Thanks
Princy
Top achievements
Rank 2
 answered on 30 Apr 2012
1 answer
98 views
Hi all,

Is there a way to assign different CSS to each column of the filter row?
please provide some suggestions.
Thanks in advance.
Princy
Top achievements
Rank 2
 answered on 30 Apr 2012
2 answers
108 views
Hello Telerik team,
is it possible to stop the selection of a day in month view?
I'm using the Scheduler control and I'm using the OnClientTimeSlotClick property to overwrite the behaviour of the scheduler control when a day in the month view is clicked (I'm generating an own ajax request, save the selected day in the session variable and use an own css class to change the background of this day in the month view).
This works fine.

Furthermore I have supressed the default behaviour if the day in the date header is clicked, so the scheduler will not change to the day view with the selected day.
This works fine also.

But one problem is still there. If the date header of a day in month view is now clicked (NOT the day number and NOT one of the other <tr> which are used to render the day in the month view), then the hole day will have assigned the 'rsSelected' css class (and in my example a deep blue background will be use), BUT the OnClientTimeSlotClick event WILL NOT FIRE. That means my own javascript function will not be called AND the new selected day will not be saved in the session variable.

Is there a way to prevent this? I mean to fire the right event so my own java function for the OnClientTimeSlotClick event will be called?

Greetings,
Richard Huber.

Richard
Top achievements
Rank 1
 answered on 30 Apr 2012
1 answer
100 views
Hi there,

I have a problem regarding the select box i'm using in my application. I want to select multiple items in the box. However I want to customize it further by highlighting the selected items in a color of my choice. Please help me out.
Thanks in advance
SAVYO
Shinu
Top achievements
Rank 2
 answered on 30 Apr 2012
4 answers
175 views
When UseStaticHeaders=true and AllowScroll=true  and there is not enough data to cause the scroll bar to appear, the Header does not render properly where the scroll bar will be.  part of the header is not as tall as the rest.

This can be roughly corrected by setting the column widths, but when the grid is resized (due to moving splitter bars), the inconsistancy will show.
See attached

Using Skin="Office2007", but this appears to happen with all skins.

How can this be corrected?
Pavlina
Telerik team
 answered on 30 Apr 2012
1 answer
103 views
I am having issues with a collapsible panel I'm using which contains the RadDatePicker. It works fine in IE7 forward but in compatibility mode or IE6 the date input and calendar button do not reside inside of the collapsible panel. I have tried changing the ZIndex property on the RadDatePicker with the same results. I can add a z-index style setting to the date input or calendar element and it will place the particular element behind the panel but not inside. Any ideas on how to fix this?
Maria Ilieva
Telerik team
 answered on 30 Apr 2012
1 answer
119 views
Hi ,

I hope my question is simple one. I have searched in net, but could not end up with the good answer.

Can we align the node image.  ( i have set the image by  Node.ImageUrl = "test.jpg" ), right now its showing before the node text
like  image - Sample Text ,  i just wanna swap the order, i.e first the node text and then the node image. 

is it possible, if soo, could you guys pls help me to fix this?
Plamen
Telerik team
 answered on 30 Apr 2012
6 answers
1.6K+ views
Hi

I have a requirement to restrict a user from entering special character in the Radtextbox. I have tried both RegularExpressionValidator and CustomValidator with ClientValidationFunction, but both are capturing after user completes the entry. Just curious to know if we have any control just like AjaxTextbox extender so user will not be able to enter invalid characters instead of validating after the data entry.

Thanks
Vasil
Telerik team
 answered on 30 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?