Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
160 views
Hi,
Before I proceed to look for some Excel component,
I was wondering if Telerik Grid will have the capability to export out data to Excel format and at the same time:

1. Generate Excel chart on the fly. The chart should be in Excel format and can be edited (not in JPG)
2. Generate multiple sheets if we have multiple grids / radTabs

Thanks.
Daniel
Telerik team
 answered on 07 Apr 2010
4 answers
180 views
I have a Web Form which contains a user control say x. User control x contains several instances of a single user control y.
y contains a loading panel in which a image is present for display on click of a particular button. Say i repeat user control y 3 or 4 times on the user control x.

The loading panel in my case contains the image that needs to be displayed on click of a button. So, when the form is loaded i would have 3 or 4 loading panels and also its corresponding 3 or 4 proxies.

<telerik:RadAjaxLoadingPanel height="30" width="100" isSticky="true" id="loadingPane" runat="server" style="position:absolute;">
                    <asp:Image id="loadingImg" runat="server" ImageUrl="/_layouts/images/factiva/loading.gif" AlternateText="Loading..." BorderWidth="0"></asp:Image>
                </telerik:RadAjaxLoadingPanel>

<asp:Panel id="searchTreePanel" runat="server">
                        <telerik:RadTreeview id="rSTreeView" runat="server" EnableEmbeddedSkins="false" Skin="FactivaGray"></telerik:RadTreeview>                        
                        </asp:Panel>

<telerik:RadAjaxManagerProxy id="rAjaxManager" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="searchGo">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="searchTreePanel" LoadingPanelID="loadingPane" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManagerProxy>

The issue i am facing is that no matter i click any of the three or four searchGo buttons i get the same image loaded and not the different one.
Any help would be great.




farsica
Top achievements
Rank 1
 answered on 07 Apr 2010
1 answer
118 views
Hello,
 I'm exporting a  Radgrid to a PDF but the result looks like the attached document.
 I can't seem to figure out what's causing the strange output.
New rows(<TR>) aren't starting in a new row. instead everything  appears os one long string.
 
 part of my grid code looks like this:
<telerik:RadGrid runat="server" ID="rgMediaInfo" Skin="Default" GridLines="None" 
                AllowSorting="true" ShowHeader="false" OnItemDataBound="rgMediaInfo_ItemDataBound">  
                <ExportSettings Pdf-PageTitle="Masters Details" ></ExportSettings>  
                <MasterTableView> 
                  
                    <ItemTemplate> 
                      <table width="320px">  
                      <colgroup > 
                      <col /> 
                      <col /> 
                      </colgroup> 
                             <tr> 
                                <td> 
                                    <asp:Label ID="lblMediaTypeLabel" runat="server" Text="Media Type"></asp:Label> 
                                </td> 
                                <td> 
                                    <asp:Label ID="lblMediaType" runat="server" Text='<%#Eval("MediaType")%>' ></asp:Label> 
                                </td> 
                            </tr> 
                            <tr> 
                                <td> 
                                    <asp:Label ID="lblMediaAssetTypeLabel" runat="server" Text="Media Asset Type"></asp:Label> 
                                </td> 
                                <td> 
                                    <asp:Label ID="lblMediaAssetType" runat="server" Text='<%# Eval("MediaAssetType") %>'></asp:Label> 
                                </td> 
                            </tr> 
*  
*  
*  
*  
 

Daniel
Telerik team
 answered on 07 Apr 2010
7 answers
378 views

We have ran into an issue using the radcombobox with ShowMoreResultsbox and MarkFirstMatch properties set to true. After typing the first letter the radcombobox is loads the first 10 items as expected that match the letter typed in, but when the show more results is clicked only one value will be retrieved. It seems the e.text value no longer passes in what was typed, but since the MarkFirstMatch was set to true the first item in the list is passed into e.text.

 

Is there a way to hold the original value that was passed into the ItemsRequested e.text, instead of the autocompleted value?  We are wanting to still use the MarkFirstMatch.

 

 The issue can be replicated using the Load On Demand Demo and the 103208_sample.zip sample project.  

 

http://mono.telerik.com/Combobox/Examples/PopulatingWithData/AutoCompleteSql/DefaultCS.aspx

 

Add a few more companies that start will L into the database.

Open up the page with the radcombobox.

Type L.

After the RadComboBox is loaded, click the show more results button.

The list will be populated with the first 10 items. However the Summary will show “items 1-1 out of 1.”

 

Thanks for your help.

ColinBowern
Top achievements
Rank 1
 answered on 07 Apr 2010
14 answers
235 views
In IE and FF this is displayed properly.  However, in Safari, I get the right window height, however the actual content is condensed and I see scroll bars.  Any ideas on why this happens on Safari?

Thanks.


Doug Bass
Top achievements
Rank 1
 answered on 07 Apr 2010
2 answers
131 views
Sorry if this has been covered before...

I'm using VS2008 and the Entity Framework DataModel.

I have some fields in the database that are just strings saying "True" or "False".  There are about 15 or so entries for each field.  I can't do a databaind on the fields because I end up with 15 or so trues and falses in the drop down.  So I decided that I'd like to use the <Items><...RadComboBoxItem> instead to display the choices.  My problem is that I can't pull out the correct data from the database for the respective fields. 

Example:
I have one field called 'Half Year Interest' and the data is "False". 
My code behind is
this.halfYearInterestGroup9RadComboBox.Text=study.DataModel.Half_Year_Interest9;
My aspx code is
            <telerik:RadComboBox ID="halfYearInterestGroup9RadComboBox" runat="server" Width="200px" 
              style="left: 662px; top: 350px; position: absolute; text-align: right;">  
                <Items> 
                  <telerik:RadComboBoxItem Text="" Value="" /> 
                  <telerik:RadComboBoxItem Text="True" Value="True" /> 
                  <telerik:RadComboBoxItem Text="False" Value="False" /> 
                </Items> 
              </telerik:RadComboBox> 
It is pulling up the default empty string instead of "False". 

It feels like there is some connection piece missing somewhere, like the combobox isn't receiving data from the database somehow.  BUT... When I run the program and put breakpoints on the backend, I hover over the fields and see the correct data... I just then don't see it on the aspx side when it's completed running.

My question is this:  How can I pull up the correct data from the database and still use the Item Selections from the aspx page?

Any help would be greatly appreciated.
Thanks!
wen
Wendy Hunt
Top achievements
Rank 2
 answered on 07 Apr 2010
2 answers
102 views
I have a requirement to display an error message within the grid below each row where an error has occurred (see attached file for screen shot example). I was attempting to accomplish this by having a column at the end of my grid that would be visible cell if an error occurred and I was hoping to get the cell to wrap onto a new line but within the same row of the grid but not having a header for this column. I cannot figure out how to do this.

Does anyone else have any idea of how I can display an error message within a grid row like this?

Thanks,
Dan
Daniel
Top achievements
Rank 1
 answered on 07 Apr 2010
1 answer
80 views
I need to start using Telerik controls in an older .NET 2.0 project.

What version of the controls on the following page do I need to download that will be compatible with this older project?

http://www.telerik.com/account/downloads/product-versions.aspx?pid=561

Thanks.




Schlurk
Top achievements
Rank 2
 answered on 07 Apr 2010
6 answers
180 views
For my tastes, anyway. It seems that it fires the moment the user clicks on the expand icon. I want an event that fires when the node is expanded, which frankly is what I expected...Any solution for that? I want it for some code that has something to do with height so I need to get the final expanded height. I tried using a timer with a delay longer than the animation duration but no luck. Any help would be appreciated.
Dimitar Milushev
Telerik team
 answered on 07 Apr 2010
6 answers
267 views

Hi,
I'm trying to implement the dragging feature of the ListView as so:

                        <telerik:RadPane ID="RadPane2" runat="server" Height="100%" Width="300px" Scrolling="None">  
                            <telerik:RadListView ID="RadListView1" runat="server" DataSourceID="EntityDataSource1" EnableEmbeddedSkins="false" 
                                AllowPaging="true" ItemPlaceholderID="ListViewContainer">  
                                <ClientSettings AllowItemsDragDrop="true">  
                                </ClientSettings> 
                                <LayoutTemplate> 
                                    <div class="RadListView RadListView_<%# Container.Skin %>">  
                                        <asp:PlaceHolder runat="server" id="ListViewContainer" /> 
                                    </div> 
                                </LayoutTemplate> 
                                <ItemTemplate> 
                                    <div class="rlvI">  
                                        <telerik:RadListViewItemDragHandle ID="RadListViewItemDragHandle1" runat="server" ToolTip="Drag to the Sample Editor" /> 
                                        <asp:Panel ID="uxSampleEditorItemContainer" runat="server" ondragstart="OnClientNodeDragStart(this)" ondrag="OnClientNodeDragging()" ondragend="OnClientNodeDropping(this)">  
                                            <telerik:RadBinaryImage runat="server" ID="RadBinaryImage1" ImageUrl='<%# Eval("FileSystemName", "~/Contents/UploadedFiles/UserFiles/{0}") + ".jpg" %>' 
                                                AutoAdjustImageControlSize="true" ResizeMode="Fit" Width="90px" Height="110px" ToolTip='<%# Eval("FileTitle") %>' 
                                                AlternateText='<%# Eval("FileDescription") %>' dataSrc='<%# Eval("FileSystemName", "~/Contents/UploadedFiles/UserFiles/{0}") + ".jpg" %>' /> 
                                        </asp:Panel> 
                                    </div> 
                                </ItemTemplate> 
                            </telerik:RadListView> 
                            <asp:EntityDataSource ID="EntityDataSource1" runat="server" AutoPage="true" AutoSort="true" 
                                ConnectionString="name=SampleEntities" DefaultContainerName="SampleEntities" EntitySetName="Files">  
                            </asp:EntityDataSource>          
                        </telerik:RadPane> 

I noticed that after rendering, the "move" input button has the following properties and css properties:
I also notice that the "move" image is missing.

<input title="Drag to the Sample Editor" class="rlvDrag" id="ctl00_ctl00_ctl00_uxSiteContentContainerContentPlaceHolder_uxSiteLayoutContentContainerContentPlaceHolder_uxContentLayoutContentContainerContentPlaceHolder_RadListView1_ctrl0_RadListViewItemDragHandle1" onmousedown="$find('ctl00_ctl00_ctl00_uxSiteContentContainerContentPlaceHolder_uxSiteLayoutContentContainerContentPlaceHolder_uxContentLayoutContentContainerContentPlaceHolder_RadListView1')._itemDrag._dragHandleMouseDown(event, 0)" type="button"/>

cursor: url('<%=WebResource("Telerik.Web.UI.Skins.Common.grab.cur")%>'), move

So, I checked the online example again and I see that I'm missing the following "move" image.
Kindly help me check what I missed to have this image show up.

background-image : url(/aspnet-ajax/WebResource.axd?d=yWIF5pzOIByI0lZ3Ioc3RX00-hPm5-dDpfPnWxbo1HjTmuSiaDuh4WTkFN0XLWntfcvIeN2RxnMevUu3xdO7PA2&t=634037268960000000); BACKGROUND-POSITION: center center

Many Thanks,
Henry Wu
Henry
Top achievements
Rank 1
 answered on 07 Apr 2010
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?