Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
318 views

I am using several pages with grids all with Word, CSV, Excel and PDF export
All export the column headers (i.e. field labels) except the PDF exportI
have tried a multitude of settings without result although I think this
used to work before we moved to using GridTemplateColumn

Currently these are the export settings in aspx

<ExportSettings ExportOnlyData="True" IgnorePaging="true" FileName="TimesheetList" OpenInNewWindow="true" HideStructureColumns="true"
    Pdf-DisableContentEncryption="true" Pdf-Title="Timesheet list" UseItemStyles="false" Word-Format="Html" Pdf-PaperSize="A4" Excel-Format="Html">
    <Pdf PageHeight="297mm" PageWidth="420mm" PageTopMargin="20mm"
        PageRightMargin="10mm" PageLeftMargin="10mm"
        BorderStyle="Thin" BorderColor="#666666" PaperSize="A4" ForceTextWrap="True">
    </Pdf>
</ExportSettings>

And here is the code behind

case "exportpdf":               

    isExport = true;
    RadGridTimesheets.MasterTableView.ExportToPdf();
 
    Response.AppendCookie(CustomNavigationHelper.CreateExportCookie());
    break;

Any ideas what I am doing wrong?

 

Kostadin
Telerik team
 answered on 11 May 2015
1 answer
238 views

Hello,

I want to translate project built by DevExpress into Telerik, So I looking To corresponding features and functions, and my project is a fully dynamic controls and dynamic data source and a fully ajax treatment after rendering the controls as HTML and CSS,my code in DevExpress 

 newcontrol = new ASPxGridLookup();

(newcontrol as ASPxGridLookup).DataSource = rep.GetDataSource(ListQuery, "", ""); //ListQuery = select * from ...

(newcontrol as ASPxGridLookup).KeyFieldName = ListID; //ListID = "ID" for all tables

(newcontrol as ASPxGridLookup).AutoGenerateColumns = true; 

(newcontrol as ASPxGridLookup).IncrementalFilteringMode = IncrementalFilteringMode.Contains;

(newcontrol as ASPxGridLookup).DataBind();

 

 the code above will give me something like the link below with AutoGenerateColumns  and auto design  width & height

https://demos.devexpress.com/ASPxGridViewDemos/ASPxGridLookup/FilterServerMode.aspx 

I see that you have this below but not easy as the above code (is it right corresponding? )

http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multicolumncombo/defaultcs.aspx

or this

http://www.telerik.com/support/code-library/dynamic-multi-column-template

 I need it without any PostBack with auto design for dynamic tables and fields

So please I need the help to move to Telerik UI (ASP.net).

Ivan Danchev
Telerik team
 answered on 11 May 2015
1 answer
72 views

Hello,

    I am facing the issue in radeditor control which capital letter not come after full stop. The requirement is capital letter should auto come after full stop when I typing in radeditor control like MS Word.

I think this functionality should be there in radeditor control.

 

Pl. help me as soon as possible.

Thanks

 Jiten Mutum

 

 

Vessy
Telerik team
 answered on 11 May 2015
3 answers
119 views

Hi,

I have a grid with CheckList filtering implemetented on some of the columns in the MasterTableView, this works as expected. Implementing the same filtering in the DetailsTables does not work. Clicking the filtering does not fire the OnFilterChecklistItemsRequested event, so no filtering list is shown. The documentation I have found regarding DetailTables filtering does no say anything about specific settings for DetailTables filtering. Setting AllowFiltering on Grid or each table should be enough. Any ideas why this doesn't work?

Regards

John

 

 

 

<telerik:RadGrid ID="grdDemo" runat="server" AutoGenerateColumns="false" PageSize="50"
                    GridLines="Both" OnNeedDataSource="grdDemo_NeedDataSource" Width="100%" all
                    OnDetailTableDataBind="grdDemo_DetailTableDataBind" OnRowDrop="grdDemo_RowDrop"    FilterType="CheckList"
                    AllowMultiRowSelection="true" OnItemDataBound="grdDemo_ItemDataBound"   OnFilterCheckListItemsRequested="grdDemo_FilterCheckListItemsRequested" >
                    <ClientSettings AllowRowsDragDrop="true">
                        <Selecting AllowRowSelect="True" />
                        <ClientEvents OnRowDropping="RowDropping" />
                    </ClientSettings>
                    <MasterTableView EnableHierarchyExpandAll="true" DataKeyNames="RCARealFaultId,GrcaRealFaultId" AllowFilteringByColumn="True" >
                        <DetailTables>
                           <telerik:GridTableView EnableHierarchyExpandAll="true" DataKeyNames="RCARealFaultId,RCASymptomId,GrcaRealFaultId" Name="Symptom" AllowFilteringByColumn="true">
                                <ParentTableRelation>
                                    <telerik:GridRelationFields DetailKeyField="GrcaRealFaultId" MasterKeyField="GrcaRealFaultId" />
 
                                </ParentTableRelation>
                                <Columns>
                                    <telerik:GridBoundColumn DataField="InternalRCADeviceId" HeaderText="Internal Id"
                                        UniqueName="InternalRCADeviceId" AllowFiltering="False">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="Project" HeaderText="Variant" AllowFiltering="False"
                                        UniqueName="Project">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="IMEI" HeaderText="IMEI" UniqueName="IMEI" AllowFiltering="False">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="InternalRCASymptomId" HeaderText="Internal Symptom Id" UniqueName="InternalRCASymptomId" AllowFiltering="False">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="Source" HeaderText="Source" UniqueName="Source" AllowFiltering="False">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="AnalysisResponsible"  HeaderText="Analysis Responsible" UniqueName="AnalysisResponsible" AllowFiltering="True" FilterControlAltText="Analysis Responsible"
                                          FilterCheckListEnableLoadOnDemand="True">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridTemplateColumn UniqueName="ButtonTemplateColumn" AllowFiltering="False">
                                        <ItemTemplate>
                                            <asp:Button ID="bnShowNotes" runat="server" Text="Notes" />
                                        </ItemTemplate>
                                    </telerik:GridTemplateColumn>
                                    <telerik:GridTemplateColumn Visible="False" FilterControlAltText="Filter TemplateColumn column"
                                        UniqueName="TemplateColumnRcaSymptomId">
                                        <ItemTemplate>
                                            <asp:TextBox ID="tbRCASymptomId" runat="server" Text="<%# Bind('RcaSymptomId') %>"
                                                Visible="false"></asp:TextBox>
                                        </ItemTemplate>
                                    </telerik:GridTemplateColumn>
                                    <telerik:GridTemplateColumn Visible="False" FilterControlAltText="Filter TemplateColumn column"
                                        UniqueName="TemplateColumnRcaDeviceId">
                                        <ItemTemplate>
                                            <asp:TextBox ID="tbRCADeviceId" runat="server" Text="<%# Bind('RcaDeviceId') %>"
                                                Visible="false"></asp:TextBox>
                                        </ItemTemplate>
                                    </telerik:GridTemplateColumn>
                                    <telerik:GridTemplateColumn Visible="False" FilterControlAltText="Filter TemplateColumn column"
                                        UniqueName="TemplateColumnRCARealFaultId">
                                        <ItemTemplate>
                                            <asp:TextBox ID="tbRCARealFaultId" runat="server" Text="<%# Bind('GrcaRealFaultId') %>"
                                                Visible="false"></asp:TextBox>
                                        </ItemTemplate>
                                    </telerik:GridTemplateColumn>
 
                                </Columns>
                            </telerik:GridTableView>
                        </DetailTables>
                        <Columns>
                            <telerik:GridBoundColumn DataField="RCARealFaultId" HeaderText="Issue Id" UniqueName="RCARealFaultId" AllowFiltering="False">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="RealFaultFoundDescription" HeaderText="RealFaultFound Description" AllowFiltering="False"
                                UniqueName="RealFaultFoundDescription">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="DefectComponent" HeaderText="Defect Component" UniqueName="DefectComponent" AllowFiltering="true" FilterCheckListEnableLoadOnDemand="true" FilterControlAltText="Filter Defect Component column">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="DefectCondition" HeaderText="Defect Condition"
                                UniqueName="DefectCondition" FilterCheckListEnableLoadOnDemand="true" FilterControlAltText="Filter Defect Condition column">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="ResponsibleArea" HeaderText="Responsible Area" UniqueName="ResponsibleArea" FilterCheckListEnableLoadOnDemand="true" FilterControlAltText="Filter Responsible Area column">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="RealFaultStatus" HeaderText="RealFault Status" AllowFiltering="False"
                                UniqueName="RealFaultStatus">
                            </telerik:GridBoundColumn>
 
                        </Columns>
                    </MasterTableView>
                </telerik:RadGrid>

John
Top achievements
Rank 1
 answered on 11 May 2015
1 answer
115 views
Is it possible to reorder the thumbnails with drag and drop functionality?
Pavlina
Telerik team
 answered on 11 May 2015
1 answer
62 views

Hi, we're migrating a site with lots of gridviews to radgrids. We want a uniform setup of radgrids with the same paging options, enable scrolling and show footer settings.

 

is there way to set these settings globally for all radgrids in a site, or alternatively is there a way of setting the values for these properties for all newly added radgrids from the toolbox?

 

doing and find/replace throughout he site is not really a good idea

 

thanks

 

james

James
Top achievements
Rank 1
 answered on 11 May 2015
14 answers
289 views

Hi All,

I have a chart that has a whole year shown by day on the xaxis.  

Obviously 365 axis labels don't work very well.  I'd like to still display the data as days but show the lebels as 12 Months - with corresponding vertical grid lines.

How would I go about doing this?  

Regards

Jon

Jon
Top achievements
Rank 1
 answered on 11 May 2015
1 answer
97 views
Hi,

We have a problem with  the control "Month Year picker". Problem is that, we are unable to select the month. 

We experienced this problem when we select a month on certain date(current date) and the selected month does not have the current day.

For eg: We are unable to select the month february, on 29th,30th and 31st day of month/ or system date is on 29th,30th and 31st day of month. 

So when we select the month which doesn't have the above date, the selection will not work and it will auto set the next available date.

ie.  When we are selecting february (28 days in 2015) on 30th April 2015 , it will set 2nd March 2015 internally and show March as selected.
Daniel
Telerik team
 answered on 11 May 2015
1 answer
82 views

Hello,

  I facing issue in radeditor control the font size and name not update when we select the size and name in radeditor control function from dropdown if we copy paste from other word document. But font size and name update if i type in rad editor control.

 

Please help me

 

Thanks

 

Jiten Mutum

 

Ianko
Telerik team
 answered on 11 May 2015
1 answer
135 views

Hey there, 

 

I am trying to use telerik UI class for my old ASP.NET base project to make them mobile friendly. 

but I cannot find the UI download page, UI instruction, and appropriate demo. Basically, I can find nothing. 

 please give me the link and page just like bootstrap home site, I can download, I can see demo and I can learning from tutorial. 

 

cheers 

Jin

Marin Bratanov
Telerik team
 answered on 11 May 2015
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?