Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
107 views
I have a self-referencing radgrid that utilizes row reordering.  The reordering works great when dropping 'above' or 'below' a row, but the problem I'm having is that it seems the drop position is never equal to 'over'.  An 'over' drop position would indicate that the dropped row should be a child of destination row.  Is there a property setting that needs to be set or something?  I'm at a loss for ideas.

Veli
Telerik team
 answered on 23 Nov 2011
1 answer
69 views
i Deleted Css files from TFS and added new css files those i merged in to main.but if anyone take latest they are not getting latest means Css files are not including to Project wat is the problem please give me any suggestion
Vinkel
Top achievements
Rank 1
 answered on 23 Nov 2011
1 answer
55 views
In compatibility view enable my grid css are not adjusting .Please check the following attachment.
Jayesh Goyani
Top achievements
Rank 2
 answered on 23 Nov 2011
3 answers
81 views
I want the column of my radgrid to be the width of the content. I have many columns so there is always a horizontal scrollbar, which is fine. Table  Layout is set to auto. UseStaticHeaders is set to true. In IE8 the column are way bigger than they need to be. They are about twice the width of the content. When I use IE7 or IE8 in compatibility mode the columns are the correct width. When I UseStaticHeaders to false, the columns are the correct width.  Something is messed up with IE8 and static headers. Using Q1 2010 SP2
Pavlina
Telerik team
 answered on 23 Nov 2011
3 answers
127 views


Hi,

 I have a radtreelist inside RadTreeview node.I got the  RadTreelist from Radtreeiew  nodes in serverside node_expand event.
How to get the RadTreelist from clientside.My aim is to expand the treenode at client side to  display treelist at level 1.

Thanks ,

Sindu.
Pavlina
Telerik team
 answered on 23 Nov 2011
1 answer
213 views
Hi guys,

I have a grid that i added to it 2 columns that represents a calculated fields, the grid is like this and i'm using a stored procedure to get the data from SQL, the calculated columns are not returned in the query, i receive the following error when i load the page

Illegal Expression for column: BLBP


What it could be the problem?

thanks

<Telerik:RadGrid ID="DataGrid" runat="server" Skin="Simple" SkinID="Simple" Width="100%"
               ShowStatusBar="True" AllowFilteringByColumn="false" AllowAutomaticDeletes="false"
               ShowFooter="true" AllowAutomaticInserts="False" AllowAutomaticUpdates="False"
               AllowPaging="True" AutoGenerateColumns="False" PageSize="100" GridLines="Both">
               <PagerStyle Mode="NextPrevAndNumeric" />
               <MasterTableView AutoGenerateColumns="False" AllowSorting="false" EditMode="InPlace"
                   CommandItemDisplay="none" DataKeyNames="ClientID" EditFormSettings-EditFormType="Template">
                   <Columns>
                       <Telerik:GridBoundColumn DataField="ClientID" Visible="False" HeaderText="ClientID"
                           ReadOnly="True" SortExpression="ClientID" UniqueName="ClientID" />
                       <Telerik:GridBoundColumn DataField="ClientName" Visible="False" HeaderText="ClientName"
                           ReadOnly="True" SortExpression="ClientName" UniqueName="ClientName" />
                       <Telerik:GridBoundColumn DataField="ModifiedDate" Visible="True" HeaderText="Date"
                           ReadOnly="True" SortExpression="ModifiedDate" UniqueName="ModifiedDate" DataType="System.DateTime"
                           DataFormatString="{0:dddd dd/MM/yyyy}" />
                       <Telerik:GridBoundColumn DataField="Notes" Visible="True" HeaderText="Description"
                           ReadOnly="True" SortExpression="Notes" UniqueName="Notes" />
                       <Telerik:GridNumericColumn DataField="BillNumber" HeaderText="Code" SortExpression="BillNumber"
                           UniqueName="BillNumber" FooterText=" " DataFormatString="{0:###,###.##}" />
                             
                       <Telerik:GridNumericColumn DataField="AmountLL" Aggregate="Sum" HeaderText="INV/LBP"
                           SortExpression="AmountLL" UniqueName="AmountLL" FooterText=" " DataType="System.Decimal"
                           DataFormatString="{0:###,###.##}" />
                       <Telerik:GridNumericColumn DataField="ValueLBP" Aggregate="Sum" Visible="true" HeaderText="Credit LBP"
                           SortExpression="ValueLBP" UniqueName="ValueLBP" FooterText=" " DataType="System.Decimal"
                           DataFormatString="{0:###,###.##}" />
                             
                       <Telerik:GridCalculatedColumn HeaderText="Balance LBP" UniqueName="BLBP" DataType="System.Decimal"  
                           DataFields="AmountLL, ValueLBP" Expression="{5}-{6}" />
                           
                             
                       <Telerik:GridNumericColumn DataField="AmountUSD" Aggregate="Sum" Visible="true" HeaderText="INV/USD"
                           SortExpression="AmountUSD" UniqueName="AmountUSD" FooterText=" " DataType="System.Decimal"
                           DataFormatString="{0:###,###.##}" />
                       <Telerik:GridNumericColumn HeaderText="Credit USD" DataField="ValueUSD" Aggregate="Sum"
                           Visible="true" SortExpression="ValueUSD" UniqueName="ValueUSD" FooterText=" "
                           DataType="System.Decimal" DataFormatString="{0:###,###.##}" />
                             
                            <Telerik:GridCalculatedColumn HeaderText="Balance USD" UniqueName="BUSD"  DataType="System.Double"
                           DataFields="AmountUSD, ValueUSD" Expression="{5}-{6}" /> 
                   </Columns>
                   <PagerStyle Mode="NextPrevNumericAndAdvanced" PageButtonCount="100" />
               </MasterTableView>
               <ClientSettings AllowColumnsReorder="false" EnableRowHoverStyle="false">
                   <Selecting AllowRowSelect="false" />
               </ClientSettings>
           </Telerik:RadGrid>
Iana Tsolova
Telerik team
 answered on 23 Nov 2011
2 answers
108 views
Hello,

We want to use the Telerik RadEditor in SharePoint 2010.
It is included in the SAK, but it is still in the CTP fase.

Is there a stable/production version of the RadEditor for SharePoint 2010 available?
If so, which product do I have to buy to get it?

Regards,
Harro
Harro
Top achievements
Rank 2
 answered on 23 Nov 2011
6 answers
242 views
 function OnClientDragEnd(sender,args) {
                var oWd = $find("RadWindow1");
                var newLocation = oWd.getWindowBounds();             
            }

 <cc:RadWindow runat="server" ID="RadWindow1" Height="300px" Width="400px"
                        NavigateUrl="http://yahoo.com" VisibleOnPageLoad="true" OnClientDragEnd="OnClientDragEnd" />

in this, getWindowBounds can't get new positon on fly. 
Please help me.
Rabbi
Top achievements
Rank 1
 answered on 23 Nov 2011
5 answers
201 views


when i am exporting from radgrid  to excel the column headers are getting displayed in the excel sheet as hyperlinks.presently i am having ExportOnlyData=false and  allowsorting=false when i am exporting.The problem is that with the present settings(Exportonlydata=false and allowsorting =false) I am not able to remove the hyperlinks(column header) from the excel sheet.I want the header text to be appearing like normal text. Here is the code :

  <telerik:RadGrid ID="ModifiedContentsReportGrid" runat="server" AutoGenerateColumns="false"
                AllowPaging="true" EnableOutsideScripts="true" PagerStyle-Mode="NextPrevAndNumeric"
                ShowFooter="true" OnItemCreated="ModifiedContentsReportsGrid_OnItemCreated" Title="Modified Content Report"
                Height="100%" ExportSettings-ExportOnlyData="false" EnableViewState="true">
                <ItemStyle BackColor="transparent" />
                <AlternatingItemStyle BackColor="#F9F9F9" />
                <ExportSettings OpenInNewWindow="true" FileName="Modified Content Report" ExportOnlyData="false">
                    <Pdf PaperSize="A4" AllowPrinting="true" PageBottomMargin="10px" PageTopMargin="25px"
                        PageHeaderMargin="0px" PageLeftMargin="10px" PageRightMargin="10px" PageTitle="Modified Content Report" />
                </ExportSettings>
                <HeaderStyle HorizontalAlign="Center" />
                <ClientSettings>
                    <Scrolling UseStaticHeaders="true" />
                </ClientSettings>
                <MasterTableView Width="100%" CommandItemDisplay="Top" CommandItemStyle-HorizontalAlign="Right"
                    TableLayout="Fixed">
                    <CommandItemTemplate>
                        <asp:Literal runat="server"><b>Account Name :</b></asp:Literal>
                        <asp:Label ID="lblClientName" runat="server" /><br />
                        <asp:Literal runat="server"><b>Report generated on :</b></asp:Literal>
                        <asp:Label ID="lblGenerateDate" runat="server" /><br />
                        <asp:Literal runat="server"><b>Date Range :</b></asp:Literal>
                        <asp:Label ID="lblDateRange" runat="server" />
                    </CommandItemTemplate>
                    <Columns>
                        <telerik:GridBoundColumn DataField="Name" SortExpression="Name" HeaderText="Content File"
                            SortAscImageUrl="/Images/SortAsc.gif" SortDescImageUrl="/Images/SortDesc.gif"
                            ItemStyle-Width="30%">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Location" SortExpression="Location" HeaderText="Location"
                            SortAscImageUrl="/Images/SortAsc.gif" SortDescImageUrl="/Images/SortDesc.gif"
                            ItemStyle-Width="30%">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Project/Folder" SortExpression="Project/Folder"
                            HeaderText="Project/Folder" SortAscImageUrl="/Images/SortAsc.gif" SortDescImageUrl="/Images/SortDesc.gif"
                            ItemStyle-Width="10%">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Document" SortExpression="Document" HeaderText="Document"
                            SortAscImageUrl="/Images/SortAsc.gif" SortDescImageUrl="/Images/SortDesc.gif"
                            ItemStyle-Width="10%">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Section" SortExpression="Section" HeaderText="Section"
                            SortAscImageUrl="/Images/SortAsc.gif" SortDescImageUrl="/Images/SortDesc.gif"
                            ItemStyle-Width="10%">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="JobNumber" SortExpression="JobNumber" HeaderText="Job Number"
                            SortAscImageUrl="/Images/SortAsc.gif" SortDescImageUrl="/Images/SortDesc.gif"
                            ItemStyle-Width="10%">
                        </telerik:GridBoundColumn>
                    </Columns>
                    <NoRecordsTemplate>
                        <asp:Literal runat="server">
                    No records to display.</asp:Literal>
                    </NoRecordsTemplate>
                </MasterTableView>
                <PagerStyle Mode="NextPrevAndNumeric" />
            </telerik:RadGrid>
Partha
Top achievements
Rank 1
 answered on 23 Nov 2011
1 answer
203 views
I have an uploader with accepted file types set. Is there a way to display an error message? Right now, it just doesn't upload the file but no message is displayed?

<telerik:RadUpload ID="attachedFile" runat="server" MaxFileInputsCount="1" ControlObjectsVisibility="None"
                Width="300" TargetFolder="~/UploadedGrantResponse" OverwriteExistingFiles="true" AllowedFileExtensions=".doc,.docx,.pdf">
                </telerik:RadUpload>


If (attachedFile.UploadedFiles.Count > 0) Then
 
    For Each postedFile As UploadedFile In attachedFile.UploadedFiles
        If Not [Object].Equals(postedFile, Nothing) Then
            targetFileName = Path.Combine(targetFolder, postedFile.GetNameWithoutExtension() & " " & time & postedFile.GetExtension())
            fileName = postedFile.GetNameWithoutExtension() & "%20" & time & postedFile.GetExtension()
            fileName = fileName.replace(" ", "%20")
            deleteFile = postedFile.GetName()
            postedFile.SaveAs(targetFileName)
        End If 'if not object
 
    Next 'for each uploaded file
 
End If 'if attachedFile.UploadedFiles.Count
Princy
Top achievements
Rank 2
 answered on 23 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?