Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
53 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
110 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
373 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
152 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
155 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
171 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
362 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
134 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
2 answers
94 views
Hi!

I'm setting the default text in the radsearchbox serverside. how can I perform a automatic dropdown with search results of the radsearchbox?

is it possible to trigger the ondatarequest event with javascipt?

Thank you!

Bernie
Top achievements
Rank 1
 answered on 12 Aug 2014
1 answer
105 views
Hi,

I am unable to do filtering on the GridTemplateColumn. 

<telerik:GridTemplateColumn HeaderText="<%$ Resources:UI, EmployeeNotesTab_HeaderText_coContact_Contact %>" UniqueName="Contact" DataField="coContact.ExtFormattedFullName">
<ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
<ItemTemplate>
<asp:Literal ID="lblContact" runat="server" Text='<%# Eval("coContact.ExtFormattedFullName") %>' />
<div>
<small><asp:Label ID="lblFormattedPhone" runat="server" CssClass="darkBlueFont" Text='<%# GetFormattedPhone(Eval("coContact")) %>' /></small></div>
<div><small><asp:Label ID="lblContactType" runat="server" CssClass="darkBlueFont" Text='<%# Eval("coContact.coContactType.typeName") %>' /></small></div>
</ItemTemplate>
</telerik:GridTemplateColumn>

coContact.ExtFormattedFullName is throwing "Object reference not set to an instance of an object" NullReferenceException. 

The <asp:Literal> is displaying the data properly in the column. (Attached is the screenshot).

Please share your thoughts as to how this can be fixed.

Regards,
Sriram
Radoslav
Telerik team
 answered on 12 Aug 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?