Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
830 views
Hi!

I have a data heavy application where one page should display custom number of RadGrids, depending how many tables are specified in XML file.
If I populate all n RadGrids with data on Page Load event, the site takes about 70 seconds to display, so this is a no go. What I want to do is to populate only first grid and display all other grids with no data (or dummy empty table as data source) on page load.

I am using UserControl to generate grids form XML. This UserControl is then used on an aspx page that uses master page.

I have searched the web, I have search your forum, and there are two solutions I found that I tried to integrate and failed miserably:
  1. Using asp timer. This was a problem, because no matter how I set up my RadAjaxManagerProxy's AjaxSettings, timer kept calling Page Load event as well.
  2. Using javascript timer and then call ajax requests back to page to load data. However, RadAjaxManagerProxy doesn't have client side api, and I am reluctant to wirte code on Master page for a sake of one UserControl.

Any other suggestions?

Andrey
Telerik team
 answered on 16 Oct 2012
9 answers
130 views

When I try to use the AJAX SharePoint Rad Data grid web part, it returns no data. The designer also doesn't allow me to select columns - it comes back in the event log with an error about the WCF service Telerik installs:-

Security settings for this service require 'Anonymous' Authentication but it is not enabled for the IIS application that hosts this service.

How can I make this go away, it is a standard team site, I don't want to enable anonymous authentication.
Tsvetoslav
Telerik team
 answered on 16 Oct 2012
1 answer
128 views
Hi
     How can I access a label when it is in the edititemtemplate of a grid. Please help
Thanks
savyo
Princy
Top achievements
Rank 2
 answered on 16 Oct 2012
1 answer
378 views

Hi,
I have taken a Radgrid, in which in one column cell, I have 2 controls. I want to
remove margin between table border and control.

 
In RadGrid, I have applied following properties.

<telerik:RadGrid . . . . .

CellSpacing="0" cellpadding="0" . . . . . >


Code:
<ItemTemplate>
<table border="1" cellpadding="0" cellspacing="0" width="100%">
   
<tr>
 <td style="border: 1;">
  <asp:TextBox ID="txtTest" runat="server" TextMode="multiline" Width="100%"   Rows="2" Text='<%#DataBinder.Eval(Container.DataItem, "Test")%>'>
</asp:TextBox>
</td>
</tr>
  
<tr>
 <td style="border: 1;" align="right">
 <asp:ImageButton class="clsbuttonsize" ID="btnDotsTest" runat="server" ImageUrl="~/Images/btn_Test.gif"                                                                     ToolTip="Click to view and update the Test." />
</td>
</tr>
  
</table>
<asp:HiddenField ID="hdnTest" runat="server" Value='<%#DataBinder.Eval(Container.DataItem, "Test")%>' />
 </ItemTemplate>

Still I am not able remove margin between border and control.

 

I have attached the screenshot.

Eyup
Telerik team
 answered on 16 Oct 2012
3 answers
87 views
I have a RadTreeList setup that uses a generic list as its datasource. I have a parent and id columns and I verified that parent = id. I set the parent's id column to null.

The only thing that shows in the treelist is the parent row no children, no expand arrow. The datasource is has data. I get no errors.

Any ideas?

Here's my DataSource:
Dim geoDataList As List(Of FacilitiesList) = ds.GetDistanceGridFacilities(oLat, oLon, radius, facilityNumber)

        RadGeoTreeList.DataSource = geoDataList
        RadGeoTreeList.DataBind()

Here's the TreeList:
<telerik:RadAjaxPanel ID="RadAjaxPanel1" LoadingPanelID="RadAjaxLoadingPanel" runat="server">
            <telerik:RadTreeList runat="server" ID="RadGeoTreeList" Visible="true" DataKeyNames="FacilitiesreportingId" ParentDataKeyNames="VERA3" AutoGenerateColumns="false" 
            Width="100%" Height="400" ShowTreeLines="true">
                <Columns>
                    <telerik:TreeListBoundColumn DataField="FinanceNumber" HeaderText="Finance Number" UniqueName="FinanceNumber"></telerik:TreeListBoundColumn>
                    <telerik:TreeListBoundColumn DataField="Origin" HeaderText="Origin" UniqueName="Origin"></telerik:TreeListBoundColumn>
                    <telerik:TreeListBoundColumn DataField="Destination" HeaderText="Destination" UniqueName="Destination"></telerik:TreeListBoundColumn>
                    <telerik:TreeListBoundColumn DataField="Address" HeaderText="Address" UniqueName="Address"></telerik:TreeListBoundColumn>
                    <telerik:TreeListBoundColumn DataField="City" HeaderText="City" UniqueName="City"></telerik:TreeListBoundColumn>
                    <telerik:TreeListBoundColumn DataField="State" HeaderText="State" UniqueName="State"></telerik:TreeListBoundColumn>
                    <telerik:TreeListBoundColumn DataField="ZipCode" HeaderText="Zip" UniqueName="ZipCode"></telerik:TreeListBoundColumn>
                    <telerik:TreeListBoundColumn DataField="Distance" HeaderText="Driving Distance" UniqueName="Distance"></telerik:TreeListBoundColumn>
                    <telerik:TreeListBoundColumn DataField="Area" HeaderText="Area" UniqueName="Area"></telerik:TreeListBoundColumn>
                    <telerik:TreeListBoundColumn DataField="PFC" HeaderText="PFC" UniqueName="PFC"></telerik:TreeListBoundColumn>
                    <telerik:TreeListBoundColumn DataField="OnRolls1" HeaderText="OnRolls" UniqueName="OnRolls"></telerik:TreeListBoundColumn>
                    <telerik:TreeListBoundColumn DataField="Residual" HeaderText="Residual" UniqueName="Residual"></telerik:TreeListBoundColumn>
                    <telerik:TreeListBoundColumn DataField="Withheld" HeaderText="Withheld" UniqueName="Withheld"></telerik:TreeListBoundColumn>
                    <telerik:TreeListBoundColumn DataField="Optional1" HeaderText="OPT" UniqueName="Optional1"></telerik:TreeListBoundColumn>
                    <telerik:TreeListBoundColumn DataField="VERA1" HeaderText="VER" UniqueName="VERA1"></telerik:TreeListBoundColumn>
                    <telerik:TreeListBoundColumn DataField="VERA3" HeaderText="VERA3" UniqueName="VERA3"></telerik:TreeListBoundColumn>
                    <telerik:TreeListBoundColumn DataField="FacilitiesreportingId" HeaderText="FacilitiesreportingId" UniqueName="FacilitiesreportingId"></telerik:TreeListBoundColumn>
                </Columns>
            </telerik:RadTreeList>
        </telerik:RadAjaxPanel>
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel" runat="server" />
Angel Petrov
Telerik team
 answered on 16 Oct 2012
5 answers
82 views
Hi,

I have a scenario where I'm dynamically creating checkbox at client side and need to decorate it using RadFormDecorator.
For Ex:
<form id="form1" runat="server">
   <asp:ScriptManager ID="ScriptManager1" runat="server">
           <Scripts>
               <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
               <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
           </Scripts>
       </asp:ScriptManager>
       <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" Skin="Default" DecoratedControls="All" />
       <div id="d"></div>
   </form>
   <script type="text/javascript">
       window.onload = function () {
           var cb = document.createElement('input');
           cb.type = 'checkbox';
           document.getElementById('d').appendChild(cb);
           var decorator = $find("<%= RadFormDecorator1.ClientID %>");
           if (decorator) {
               decorator.decorate(cb, true);
           }
       }
   </script>
Thanks in advance...
Abhijit Shetty
Top achievements
Rank 2
 answered on 16 Oct 2012
4 answers
94 views
Hi,

I need to change the default RibbonBar images. If the we add approx. 30 RadRibbonItem in a RadRibbonGroups, it picks the default RibbonBar images (if we don't add imageurl). I already have a customized default icon for the RadRibbonItem, but it doesn't pick the customized ribbonimage after 17-18 ribbon items are added.

Below is the url of the default RibbonBar items

<img title="" class="rrbButtonImage" style="visibility:visible;" alt="Item Image" src="/Project/WebResource.axd?d=aiNB5OmQeNHVf5XWk97-tMFIIzmuwsC9HNSxCKe1M4-JmQYIEnPBVjt7MpL3voxN3azNeKtr7v83kvmeXWrcYGa5IwnR-ZE6EJPsGTC97bU1&t=634849188040000000" complete="complete"/>

Here the red cross image is the default icon

Customized image when no imageurl is added.


Please suggest.
Bozhidar
Telerik team
 answered on 16 Oct 2012
2 answers
73 views
Hello,

Recently we are no longer able to directly open links in the preview mode of the editor. We need to use shit+click or ctrl+click to open them. Of course this is a simple solution, but one of my clients is not happy with this behaviour. He just wants to click.

You can see this behaviour in your demo here:

http://demos.telerik.com/aspnet-ajax/editor/examples/customdialogs/defaultcs.aspx

Go to preview mode and try to click the link there. Nothing happens unless you ctrl+click it.
Is this by design? It used to be possible to just click it. Is there a work around for this maybe?

Using IE9, 2012.2.912.35 release.

Thanks!

Yeroon
Yeroon
Top achievements
Rank 2
 answered on 16 Oct 2012
1 answer
115 views
I've noticed that when you hover over the button using Chrome when you have the metro touch skin in use it underlines the text.  Is there a css fix for this?
Bozhidar
Telerik team
 answered on 16 Oct 2012
2 answers
517 views
Hii,
How tho add a folder icon in every node of treeview?

thanks.
Kate
Telerik team
 answered on 16 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?