Telerik Forums
UI for ASP.NET AJAX Forum
13 answers
1.5K+ views
Hi All,

I am new to radgrid, currently I have one issue when trying to export to excel using radgrid.

Seems when you use radgrid.ExportSettings.FileName to set up excel file name, this name will automatically become work sheet name as well. The problem is our requirement need a very long file name, which will be cut off as excel sheet name.We want to set up sheet name short, this way it won't show up as cut off name of excel file name.  Is there anyway we can set up the work sheet name during export process?

Thanks a lot, really appreciate it,
Helen
Daniel
Telerik team
 answered on 14 Aug 2012
6 answers
398 views
hi,

i'm experimenting an issue with a radautocompleteBox 
the rad autocomplete box is in a radwindow and when the radautocompletebox is in text mode it's working but in token mode the control is like disable i can't type anything in the textbox and there is no javascript error

here is the sample : 
<telerik:RadAutoCompleteBox runat="server" ID="RadAutoCompleteBox1" InputType="Token"
    Width="300px" DropDownWidth="300px">
    <WebServiceSettings Method="GetCompanyNames" Path="~/WebService.asmx" />
</telerik:RadAutoCompleteBox>

also this sample is working outside of the radwindow..
i don't really need the token mode but i need the event  OnClientEntryAdding so if you have a workaround or something :-).

thanks for your help 


Kalina
Telerik team
 answered on 14 Aug 2012
4 answers
348 views
In the skin selection popup for each component in the online demo the Telerik skin uses green colours but when applied it results in grey colours, e.g. try here http://demos.telerik.com/aspnet-ajax/grid/examples/programming/accessingcellsandrows/defaultcs.aspx
Which color schema is correct?
miksh
Top achievements
Rank 1
Iron
 answered on 14 Aug 2012
16 answers
318 views
Hi,
We are currently using the RadTabStrip control in our Webapplication.
Is there a way in which the user, can reorder the tabs in the TabStrip ?

Thanks & regards,
Arnab.
Nencho
Telerik team
 answered on 14 Aug 2012
11 answers
174 views
This is werid. The page below works like a charm. Shows the data in a grid without any problem.
Then I decided to Ajaxify the grid by updating only the grid when RadPanelBar2 item is clicked.
The Grid shrinks when doing thus hiding all the rows in the grid.
To try the working page - just copy the code below.
To try the weird problem - just uncomment the code I specified below inside AjaxSetting.

Thanks


<%-- MASTER PAGE --%>


<telerik:RadSplitter ID="RadSplitter1" runat="server" Width="100%" BorderSize=0 

             
BorderStyle=None PanesBorderSize=0 Height="100%" Orientation=Horizontal VisibleDuringInit=false>

<
telerik:RadPane Runat="server" ID="contentPane" Scrolling="None">
                <telerik:RadSplitter runat="server" ID="RadSplitter2" BorderStyle="None" PanesBorderSize="0">
                    <telerik:RadPane runat="Server" ID="leftPane" Width="240px" MinWidth="240" MaxWidth="600" Scrolling="None">
                        <telerik:RadSplitter runat="server" ID="RadSplitter3" BorderStyle="None" PanesBorderSize="0"
                            Height="100%" Orientation="Horizontal">
                            <telerik:RadPane runat="server" ID="topLeftPane" Height="100%">
                                <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                                </asp:ContentPlaceHolder>
                            </telerik:RadPane>
                             
                        </telerik:RadSplitter>
                    </telerik:RadPane>
                    <telerik:RadSplitBar runat="server" ID="RadSplitBar1" CollapseMode="Forward" />
                    <telerik:RadPane runat="Server" ID="rightPane" CssClass="right-pane" Scrolling="None">
                        <asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server">
                        </asp:ContentPlaceHolder>
                    </telerik:RadPane>
                </telerik:RadSplitter>
   
</telerik:RadPane> 
</telerik:RadSplitter>
 <%-- ASPX PAGE --%>
  <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
     <telerik:RadPanelBar ID="RadPanelBar2" Runat="server" ExpandMode="FullExpandedItem" Width="240px" Height="100%">
            <Items>
 
                 <telerik:RadPanelItem Text="Documents" Expanded="True">
                    <Items>
                            <telerik:RadPanelItem runat="server"  Text="All Documents" Value=""  />
                            <telerik:RadPanelItem runat="server"   Text="My Documents" Value=""/>
                             
                    </Items>
                </telerik:RadPanelItem>
                 
                 
            </Items>
        </telerik:RadPanelBar>
      
</asp:Content>
 
        <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="Server">
   
       <telerik:RadSplitter runat="server" ID="RadSplitter1" Width="100%" BorderSize="0"
        BorderStyle="None" PanesBorderSize="0" Height="100%" Orientation="Horizontal">
         
        <telerik:RadPane runat="server" ID="MainPane"  >
        
            <telerik:RadGrid ID="RadGrid1" runat="server"  DataSourceID="DocumentsDataSource1"
                AllowPaging="True" AllowSorting="True"
                AllowCustomPaging="true" ShowStatusBar="true"
                AllowFilteringByColumn="false" CellSpacing="0"
                AllowMultiRowSelection="true" AutoGenerateColumns="true" PageSize="10" height="100%"  >
                <PagerStyle Mode="NextPrev"  />
                 
                <MasterTableView   DataKeyNames="documentid" EnableHeaderContextMenu="true" >
                    <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"
                        Visible="True">
                    </RowIndicatorColumn>
                     
                    <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"
                        Visible="True">
                    </ExpandCollapseColumn>
                    <EditFormSettings>
                        <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                        </EditColumn>
                    </EditFormSettings>
                    <Columns>   
                  
                    </Columns>
                </MasterTableView>
                <ClientSettings EnableRowHoverStyle = "true" Selecting-AllowRowSelect="true" EnablePostBackOnRowClick="true"
                                AllowColumnsReorder="true" ReorderColumnsOnClient="true">
                    <ClientEvents OnRowContextMenu="" OnRowDblClick="" OnHeaderMenuShowing="" />
                    <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                </ClientSettings>
                <PagerStyle Position="Bottom"   />
                <FilterMenu EnableImageSprites="False">
                </FilterMenu>
                 
            </telerik:RadGrid>
            <asp:ObjectDataSource ID="DocumentsDataSource1" runat="server"
            SelectMethod="GetDocuments" TypeName="e_Digio._Default" >
         
         
            </asp:ObjectDataSource>
        </telerik:RadPane>
        </telerik:RadSplitter>
         
         
    
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableAJAX="true">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadPanelBar2">
                <UpdatedControls>
                <%--UNCOMMENT THE NEXT LINE--%>
                   <%-- <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" /> --%>
                     
                </UpdatedControls>
            </telerik:AjaxSetting>
             
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel runat="server" ID="RadAjaxLoadingPanel1">
    </telerik:RadAjaxLoadingPanel>
        </asp:Content>

Oksana
Top achievements
Rank 1
Iron
 answered on 14 Aug 2012
3 answers
143 views
Hi,

I've tried to open RadWindow.RadConfirm but it is not working. I'm trying due this instructions: http://demos.telerik.com/aspnet-ajax/window/examples/browserdialogboxes/defaultcs.aspx 

The RadConfirm method is not shown in my RadWindowManager1.... My version is 2010.

Please, could someone help me?
Marin Bratanov
Telerik team
 answered on 14 Aug 2012
12 answers
1.5K+ views
Version Q1 2008
VS 2008

I have what I consider to be a REAL simple requirement for RADWindow and I am NOT a Javascript person AT ALL. The examples on the Telerik site are far too complex for what I need. I have been struggling for 2 days just to do the following simple task.

I have an ImageButton on an aspx page.
When I click on the ImageButton I want to open a modal RADWindow, say 400 pixels X 200 pixels.
I want the RADWindow to display the contents of an .aspx form
I need to pass a parameter to the .aspx form that is displayed in the RADWindow

For example, if I were simply opening the .aspx page, by NavigateURL would be "~/folder/form.aspx?Id=100"

Is there a simple way to do this?
Marin Bratanov
Telerik team
 answered on 14 Aug 2012
1 answer
222 views

Can you tell me if (and how) it is possible to set a value within the drag handle on the slider. The demos and examples I have seen show the drag handle being very thin and give the ability to add a tooltip, but no text within the drag button itself.

thanks
Marin Bratanov
Telerik team
 answered on 14 Aug 2012
11 answers
417 views
load on demand only works on first page load, then if you select an item in the combobox, and then do anything that causes a postback, the combobox will now only have the item you chose in it and the "show more results" box no longer works.

 you can recreate on your own demos...
1 - go here: http://demos.telerik.com/aspnet-ajax/combobox/examples/loadondemand/automaticloadondemand/defaultcs.aspx
2 - choose something in the combobox
3 - click on the "change skin" drop down and pick a new skin (thereby causing a postback)
4 - the demo combobox no longer shows anything but your selected item and the load on demand feature no longer works
Kalina
Telerik team
 answered on 14 Aug 2012
1 answer
126 views
When i try to upload a file using RadAsyncUpload, im getting a javascript error.

CODE:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="actk" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register Assembly="AjaxControls" Namespace="AjaxControls" TagPrefix="acs" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
 
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="scriptManager" runat="server">
    </asp:ScriptManager>
    <div>
     <telerik:RadAsyncUpload ID="rUploadFile" runat="server" AllowedFileExtensions=".txt,.xml"
                                               MaxFileInputsCount="1"  ControlObjectsVisibility="RemoveButtons" Width= "80%"  MaxFileSize="10000">
                                           </telerik:RadAsyncUpload>
                                           
    </div>
    </form>
</body>
</html>

Error:
      Microsoft JScript runtime error: Error while uploading, [HttpWebRequest_WebException_RemoteServer]
Arguments: NotFound
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=5.1.10411.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer
Plamen
Telerik team
 answered on 14 Aug 2012
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?