Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
505 views
How can I programmatically identify and retrieve the cell value in a column with the highest value for that colum?
So in a grid like:

MyValues
--------
1
2
3
4

I would get "4".

This would happen in the OnItemDataBound event with e.Item being GridFooterItem.

Thanks,
Richard
Sebastian
Telerik team
 answered on 27 Sep 2011
2 answers
220 views
How can I use the Slider to show multiple images in the slideshow?
See attached file.
Slav
Telerik team
 answered on 27 Sep 2011
3 answers
150 views
Hi Telerik,

I am struggling with an unrelated issue, but was exploring my options, and noted something quirky. I wanted to try executing a function on document ready. As such, I did this:

            $(document).ready(function () {
                FixSplitter($find(rightPaneID));
            });

with my script declarations as such:

<telerik:RadScriptManager ID="ScriptManager1" Runat="Server" EnablePageMethods="True" >
    <CompositeScript>
        <Scripts>
            <asp:ScriptReference Path="~/Scripts/jquery-1.3.2.min.js" />
            <asp:ScriptReference Path="~/Scripts/jquery.json-2.2.min.js" />
            <asp:ScriptReference Path="~/Scripts/jquery-ui-1.7.2.custom.min.js" />
            <asp:ScriptReference Path="~/Scripts/Dashboard/Dashboard.js" />
            <asp:ScriptReference Path="~/Scripts/jquery.cookies.min.js" />
            <asp:ScriptReference Path="~/Scripts/jquery.hotkeys-0.7.9.js" />
            <asp:ScriptReference Path="~/Scripts/jquery.updnWatermark.js" />
            <asp:ScriptReference Path="~/Scripts/Master.js" />
        </Scripts>
    </CompositeScript>
    <Scripts>
        <asp:ScriptReference Name="Telerik.Web.UI.Common.Core.js" Assembly="Telerik.Web.UI"  />
    </Scripts>
</telerik:RadScriptManager>

I would like to keep my scripts combined. They should be combined. Loading scripts not combined is inefficient. Yet, when I have my jQuery scripts declared inside of CompositeScripts I am told 

Uncaught TypeError: Property '$' of object [object DOMWindow] is not a function

If I move all my script declarations such that the declaration is like this:

<telerik:RadScriptManager ID="ScriptManager1" Runat="Server" EnablePageMethods="True" >
    <CompositeScript>
        <Scripts>
        </Scripts>
    </CompositeScript>
    <Scripts>
        <asp:ScriptReference Path="~/Scripts/jquery-1.3.2.min.js" />
        <asp:ScriptReference Path="~/Scripts/jquery.json-2.2.min.js" />
        <asp:ScriptReference Path="~/Scripts/jquery-ui-1.7.2.custom.min.js" />
        <asp:ScriptReference Path="~/Scripts/Dashboard/Dashboard.js" />
        <asp:ScriptReference Path="~/Scripts/jquery.cookies.min.js" />
        <asp:ScriptReference Path="~/Scripts/jquery.hotkeys-0.7.9.js" />
        <asp:ScriptReference Path="~/Scripts/jquery.updnWatermark.js" />
        <asp:ScriptReference Path="~/Scripts/Master.js" />
        <asp:ScriptReference Name="Telerik.Web.UI.Common.Core.js" Assembly="Telerik.Web.UI"  />
    </Scripts>
</telerik:RadScriptManager>

Presto! The error disappears. 

Is there a good way to avoid this...? Could I have an explanation of what's going on so that I may fully understand the problem?

Thanks.

Simon
Telerik team
 answered on 27 Sep 2011
1 answer
176 views
Hello,
Do Telerik controls work with Visual Studio Web Developer 2010 Express Edition? In the past I have seen this version listed explicity as being compatible on your website, however now the page has dissappeared. We are interested to purchase RadControls, but not if we must also pay to upgrade Visual Studio as well.
Thanks.
Marin Bratanov
Telerik team
 answered on 27 Sep 2011
2 answers
119 views
Hi,

I am in the process of converting many Repeater and GridView controls into RadGrid controls but have come across an issue when trying to apply specific localizations.

For example, previously I could very easily localize a column header in a GridView by simple adding meta:resourcekey="projectName" to a Localize control within the HeaderTemplate, but how could I translate the header text in this:

......
            <telerik:GridBoundColumn HeaderText="Project Name:" ReadOnly="True" DataField="ProjectName" UniqueName="assessmentsNameCol">
                <ItemStyle Width="20%" />
                <HeaderStyle Width="20%" CssClass="hor" />
            </telerik:GridBoundColumn>
......


We serve all our localizations directly from a database, so simply adding projectName.Text and projectName.Tooltip values would previously allow us to immediately translate this column - on a page-specific basis.

I have read several forum posts about how to add globalization entries for RadGrids, but this will not work if I have different RadGrids trying to use the same resx file.

How can I achieve this level of customization using RadGrids?  Do I HAVE to use Globalizations?  If so, how can I change the name of each globalization file that each RadGrid uses (so that I can have 1 set of .resx files for each grid)?

Thanks in advance,


Nick
Nick
Top achievements
Rank 1
 answered on 27 Sep 2011
2 answers
146 views
Hello,

I am using the latest version of the controls, and I am using a radpanelbar.  However, there is an arrow button that points up that I have never seen before.  How can I make this go away?  I have attached a screenshot.

Thanks,
Shinu
Top achievements
Rank 2
 answered on 27 Sep 2011
1 answer
90 views
In firefox browser the <telerik:RadAjaxLoadingPanel> shows the attched picture (radajaxpanel_mozilla.jpg ) while a postback is in progress : - 

While the IE browser shows a blank square instead as shown in the attched file (radajaxpanel_ie_allversions.jpg).  This has been observerd in case of IE 7 and IE 8.

The code snippet used for RadAjaxPanel is as follows :-
<telerik:RadAjaxLoadingPanel ID="LoadingPanel" runat="server" Transparency="30" BackColor="#E0E0E0">
</telerik:RadAjaxLoadingPanel>

Let me know the soultion for this and any further details that you may need from my side.
Princy
Top achievements
Rank 2
 answered on 27 Sep 2011
1 answer
66 views
hi,
i dont want to permit user select main nodes.i want to permit only child nodes.how can i do this?
Shinu
Top achievements
Rank 2
 answered on 27 Sep 2011
1 answer
70 views
I am wrapping several radgrids (created as UserControls) into a single RadGrid so that exporting the outer RadGrid will produce a single output containing all of the individual RadGrids.

I can get the grids to display fine on the screen, and to export into PDF no problem.  But when I export into Excel I run into the problem that the Footer row appears above the Data.  From looking at the code being output, the order of elements in the grids is thead, tfoot, tbody.  The pdf export shows them in thead, tbody tfoot order, but the excel export shows them in the order they are in the code.

Is this a known bug, and is there a workaround for this?

This behavior is replicable using the project linked from here: http://www.telerik.com/community/code-library/preview-thread/aspnet-ajax/grid/export-multiple-radgrids-in-single-pdf-excel-file.aspx

Thank you

-Nathan
Daniel
Telerik team
 answered on 27 Sep 2011
1 answer
47 views
Check the attached image.
one datalabel is going left side. how can I fix this.
Evgenia
Telerik team
 answered on 27 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?