Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
149 views
Hi 

Is it possible to format the RadNumericTextBox onkeypress with two decimal places?

This text box requires users to enter amounts.

Grant

  
Shinu
Top achievements
Rank 2
 answered on 13 Aug 2014
2 answers
671 views
When grid is in edit mode, I have a need to find controls on client side. My table is rather simple. I have a quantity column and a unit price column, a change in value on either column would update the subtotal column. On either change, I need to get both current control's value (which is easy to retrieve) and the next column control's value, which I have no idea how to retrieve on client side. Can anyone point me to the right direction?

They are all placed under EditItemTemplate.

Thanks
Jonathan
Top achievements
Rank 2
 answered on 13 Aug 2014
1 answer
73 views
After implementing this

http://www.telerik.com/support/code-library/drag-and-drop-between-radgrid-and-radtreeview

in our Rad Grid / Rad Tree. It seems like certain people with Chrome 36 (not all people though which is strange and why I put the question here) are having an issue when they try to do any actions on the Grid.. double click etc it loads for a second and doesn't do anything. 

The closest thing I've found is this article on the Chrome boards

https://code.google.com/p/chromium/issues/detail?id=395318

Just wondering if anyone else is having similar issues and have found any work arounds?
Pavlina
Telerik team
 answered on 12 Aug 2014
6 answers
133 views
Other telerik controls that implement IScriptControl support this method.  We use it quite a bit when rendering controls for pdf generation, as it seems to prevent the dreaded "Script control 'xyz' is not a registered script control" when set to false. Since we're generating pdf's, we have no use for the generated scripts anyway.

Can anyone clue me in to why RadBarcode seems does not support RegisterWithScriptManager?  Is it because RadBarcode for some reason *requires* client script activity to function?

We are using the 2012 Q3 version of the telerik tools..
Vasil
Telerik team
 answered on 12 Aug 2014
7 answers
401 views
Hello,

When I switch to designer view in VS2008 with at radgrid on the page I am receiving following error. "Error Creating Template Groups. Reason:System.InvalidCastException"

I have attached the complete error for reference. As suggested in pervious posts, I cleared all the Project assemblies, temporary files in Microsoft.NET\Framework\v2.0.50727 folder and checked all the references.

Any help is appreciated.

Thanks,
Teja.
Pavlina
Telerik team
 answered on 12 Aug 2014
2 answers
214 views
In the header of my group by, I have the text and direction of sort of the column being grouped by.

http://i.imgur.com/VEUtVC9.png is an image of what I have now.

Instead of DateAdded I would like to be able to change it to something else.

Is there a way to do this? I have been googling around and haven't found much of anything at all.

Any help/guidance is appreciated!
Alexander
Top achievements
Rank 1
 answered on 12 Aug 2014
1 answer
192 views
How to have multiple VirtualItemCount in radgrid? In my radgrid table that have a hierarchy structure. It has a parent and child and child below child. I want paging in radgrid differ based on the level. I am already paging the parent, but the problem is the child paging also follow the parent page. Example:

Image below shows that POST contains 8 items and has 2 pages. It is correct, but the COMMENTS's paging also follow the post one. It is wrong. Actually the comments for that post only contain 2 items and the page for comment should have only one.'To calculate the total items of post by this code:
 protected void countData()
{
string sql = "SELECT * FROM VIEW_POST";
DataTable dtTotalData;
objDBInterface.strConn = mag.ConnStr();
dtTotalData = objDBInterface.getResults(sql);
totalDataIs = dtTotalData.Rows.Count.ToString();
VirtualItemCount = Convert.ToInt16(totalDataIs.ToString());
pageNeeded = Convert.ToInt16(totalDataIs) / FBGrid.PageSize;
return;
}
And set the radgrid VirtualItemCount by this code on page load:
FBGrid.VirtualItemCount = VirtualItemCount;

Please anybody help me how to handle this situation. Thanks in advance.
Konstantin Dikov
Telerik team
 answered on 12 Aug 2014
2 answers
192 views
Hi, I have a custom gridcolumn inherited from GridBoundColumn. All columns are sortable in my grid except this.
I couldn't find why. Could you help me?


Public Class GridActivePassiveColumn
        Inherits GridBoundColumn
   ...
End Class

<%--Sorting doesn't work--%>
<myCompany:GridActivePassiveColumn HeaderText="Free of Charge" DataField="FlFoc" SortExpression="FlFoc">
    <HeaderStyle Width="35px" />
    <ItemStyle HorizontalAlign="Center" />
</myCompany:GridActivePassiveColumn>
 
<%--Sorting works--%>
<telerik:GridBoundColumn HeaderText="Free of Charge" DataField="FlFoc" SortExpression="FlFoc">
    <HeaderStyle Width="35px" />
    <ItemStyle HorizontalAlign="Center" />
</telerik:GridBoundColumn>
Mustafa
Top achievements
Rank 1
 answered on 12 Aug 2014
5 answers
407 views
I am trying to add a checkbox list to an itemtemplate for the radmenu. It binds fine but when the page displays the menu item with the checkbox lists is displayed and does not expand collapse.


<telerik:RadMenuItem runat="server" Text="Marketing">  
            <ItemTemplate> 
                <div id="MarketingTemplate">  
                    <div> 
                        Species<asp:CheckBoxList ID="CheckBoxList1" runat="server" DataSourceID="odsSpecies" 
                            DataTextField="Name" DataValueField="Name">  
                        </asp:CheckBoxList> 
                        <asp:ObjectDataSource ID="odsSpecies" runat="server" OldValuesParameterFormatString="original_{0}" 
                            SelectMethod="GetSpeciesList" TypeName="Adisseo.Modules.DocumentManagement.KeywordManager">  
                        </asp:ObjectDataSource> 
                    </div> 
                    <div> 
                        Feed Type<asp:CheckBoxList ID="CheckBoxList2" runat="server" DataSourceID="odsFeedTypes" 
                            DataTextField="Name" DataValueField="Name">  
                        </asp:CheckBoxList> 
                        <asp:ObjectDataSource ID="odsFeedTypes" runat="server" OldValuesParameterFormatString="original_{0}" 
                            SelectMethod="GetFeedTypeList" TypeName="Adisseo.Modules.DocumentManagement.KeywordManager">  
                        </asp:ObjectDataSource> 
                    </div> 
                </div> 
            </ItemTemplate> 
        </telerik:RadMenuItem> 
Shinu
Top achievements
Rank 2
 answered on 12 Aug 2014
6 answers
149 views
Hi,
I am getting design issue with EditorToolGroup on RadEditor  in IE browse.
As shown in bellow image getting some unnecessary space just bellow the tool group.


In chrome and safari its looks good.


Editor properties given,
<telerik:RadEditor ID="textRadEditor" EditModes="Design" runat="server" Width="100%"
                                                        StripFormattingOptions="AllExceptNewLines" EnableResize="false" 
                                                        ContentFilters="None" OnClientPasteHtml="OnClientPlainTextsubmit" Height="550px">
                                                        <tools>
                                                            <telerik:EditorToolGroup>
                                                                <telerik:EditorTool Name="convertToTEXT" Text="Convert HTML to TEXT" ShowText="true"
                                                                    ShowIcon="false" />
                                                                <telerik:EditorSeparator />
                                                                <telerik:EditorTool Name="InsertEditorLinks" ShowIcon="false" ShowText="true" Text="Insert Link" />
                                                            </telerik:EditorToolGroup>
                                                        </tools>
                                                        <cssfiles>
                                                            <telerik:EditorCssFile Value="~/Editor/RadEditorTools/EditorContentArea.css" />
                                                        </cssfiles>
                                                    </telerik:RadEditor>  

Any idea to solve this design issue.
Thank you in Advance.







Ianko
Telerik team
 answered on 12 Aug 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?