Telerik Forums
Community Forums Forum
0 answers
102 views

The code we use is

manager.ActiveBrowser.Cookies.SetCookie(cookie);

But when we getcookie, we found nothing.

 

Thanks very much.

Jun
Top achievements
Rank 1
Iron
Iron
 asked on 19 Jul 2022
1 answer
88 views

Hi,

We're evaluating Telerik frameworks. The functionality seems good, but we need more control over the theme. The Theme Builder has limited color options, and no padding/spacing options. Looking into the CSS file, it's a massive 38,000+ lines of CSS.

Are there any more advanced theme editing tools or doc/guides on how the styles are constructed and organized?

Thanks,

Brett

Lyuboslav
Telerik team
 answered on 15 Jul 2022
1 answer
399 views

Hi Team,

We are migrating Internet Explorer to Edge in Telerik C# framework.

We are changing BrowserType.InternetExplorer to BrowserType.MicrosoftEdge. But we are getting error like

Message: 
Microsoft WebDriver is not installed! You can download it from here: https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/.

  Stack Trace: 
ArtOfTest.WebAii.BrowserSpecialized.MicrosoftEdge.WebDriverException: Microsoft WebDriver is not installed! You can download it from here: https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/.
EdgeActions.LaunchNewBrowserInstance(ProcessWindowStyle windowStyle, Manager manager).

 

But we are able to launch browser using EdgeChromiium and Chrome.

For EdgeChromium and Chrome, works only on adding Progress Telerik Test Studio Extension.

Is there any ways to avoid adding extension from chrome store. and Edge browser works like IE?

Kindly suggest?

Elena
Telerik team
 answered on 29 Jun 2022
1 answer
557 views

Hello every one ,

in this question i just want to create Telerik report with an empty table  and assign table data source from code.

in output window the Telerik Report Show without table

here is my code from window form  :

all this code below written in from load of reportviewerform.cs

var sourceReportSource = new UriReportSource { Uri = @"C:\Users\ali.raza\source\repos\telerick_windowform\telerick_windowform\Reports\SampleReport.trdp" };
            var reportInstance = UnpackageReport(sourceReportSource);
            var report = (Report)reportInstance;
            Telerik.Reporting.Table processingTable = report.Items.Find("table1", true)[0] as Telerik.Reporting.Table;
            //Telerik.Reporting.Processing.Table processingTable = (sender as Telerik.Reporting.Processing.Table);
            this.table2.ColumnGroups.Clear();
            this.table2.Body.Columns.Clear();
            this.table2.Body.Rows.Clear();
            Telerik.Reporting.TextBox textboxGroup;
            Telerik.Reporting.TextBox textBoxTable;
            string connectiostring = "server=win-dc;database=testdb;uid=hrs;password=hrs;Initial Catalog=testdb;Integrated Security= false";
            string selectstring = "select * from tbl_telerik";
            SqlDataAdapter sqlAdapter = new SqlDataAdapter(selectstring, connectiostring);
            DataSet ds = new DataSet();
            sqlAdapter.Fill(ds);
            Telerik.Reporting.TableGroup tableGroupColumn;
            int i = 0;
            foreach (System.Data.DataColumn dc in ds.Tables[0].Columns)
            {
                tableGroupColumn = new Telerik.Reporting.TableGroup();

                this.table2.Body.Columns.Add(new Telerik.Reporting.TableBodyColumn(Unit.Inch(1)));

                textboxGroup = new Telerik.Reporting.TextBox();
                textboxGroup.Value = dc.ColumnName.ToString();
                textboxGroup.Size = new SizeU(Unit.Inch(1.1), Unit.Inch(0.3));
                tableGroupColumn.ReportItem = textboxGroup;
                table2.ColumnGroups.Add(tableGroupColumn);

                textBoxTable = new Telerik.Reporting.TextBox();
                table2.Body.SetCellContent(0, i++, textBoxTable);
                textBoxTable.Value = "=Fields." + dc.ColumnName;
            }
            Telerik.Reporting.TableGroup tableGroupRow = new Telerik.Reporting.TableGroup();
            this.table2.RowGroups.Add(tableGroupRow);
            tableGroupRow.Grouping.Add(new Telerik.Reporting.Grouping());//new Telerik.Reporting.Data.Grouping());
            processingTable.DataSource = ds.Tables[0];
            var reportSource = CreateInstanceReportSource(reportInstance, sourceReportSource);
            this.reportViewer1.ReportSource = reportSource;
            this.reportViewer1.RefreshReport();

Neli
Telerik team
 answered on 27 Jun 2022
1 answer
808 views
Hi Team,

We have a requirement to display rtf,docx,xls file formats in document viewer which is currently unsupported in any browsers.We are looking in for a library or UI for viewing these unsupported file formats in our Web application.

Our Application details are below:

.NET Framework Version is: 4.8
MVC Application
JS Framework: JQuery, Knockout JS for 2 way binding
Bootstrap & CSS for Design

Thanks


Ivan Danchev
Telerik team
 answered on 24 Jun 2022
1 answer
105 views
1 answer
106 views
In the ClientEvents-OnSelectedIndexChanged would be nice if there was a way to get_oldvalue(). I do it with a hidden field but that would be helpful.
Vessy
Telerik team
 answered on 20 Apr 2022
1 answer
117 views
According to this post: .NET MAUI Popup Documentation | Content | Telerik UI for .NET MAUI, I may want to load the content template of popup dynamically, do you have any example for me?
Antoan
Telerik team
 answered on 12 Apr 2022
1 answer
318 views

I'm new to the development area and I'm doing some tests with telerik.
my problem is as follows
at the moment my application already generates the CSV file and I already have the report layout ready, I would like some path in C# to load this

my pdf is generated without the data source , how do I solve this ?

 



{

            var csvDataSource = new CsvDataSource();
            csvDataSource.Source = new Uri(@"C:\Users\victord.lima\Desktop\Exemplos\31teste.csv");
            csvDataSource.FieldSeparators = new[] { ',' };
            csvDataSource.RecordSeparators = new[] { '\r', '\n' };
            csvDataSource.HasHeaders = true;
            csvDataSource.EscapeFormat = CsvEscapeFormat.Quotes;
            csvDataSource.Quote = '"';



            Telerik.Reporting.Report report = new Telerik.Reporting.Report();
            report.DataSource = csvDataSource;

            System.Collections.Hashtable deviceInfo = new System.Collections.Hashtable();
            UriReportSource reportSource = new UriReportSource();
            reportSource.Uri = @"C:\Users\victord.lima\Desktop\Exemplos\TermoDeliberacaoDeCargaDeRecebimento.trdx";
            Telerik.Reporting.Processing.ReportProcessor reportProcessor = new Telerik.Reporting.Processing.ReportProcessor();
            Telerik.Reporting.Processing.RenderingResult result = reportProcessor.RenderReport("PDF", reportSource, deviceInfo);

            string fileName = result.DocumentName + "b." + result.Extension;
            string path = System.IO.Path.GetTempPath();
            string filePath = System.IO.Path.Combine(path, fileName);

            using (System.IO.FileStream fs = new System.IO.FileStream(filePath, System.IO.FileMode.Create))
            {
                fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);
            }

                           
Dimitar
Telerik team
 answered on 07 Apr 2022
1 answer
483 views

Our automated builds have started failing, and it does not appear we can connect to the NuGet server.  We're using the v3 URL. 

It also fails when trying to connect from Visual Studio.  Error message in Visual Studio is:

[telerik.com] Failed to retrieve metadata from source 'https://nuget.telerik.com/v3/search?q=&skip=0&take=26&prerelease=false&supportedFramework=.NETStandard,Version=v2.0&supportedFramework=.NETCoreApp,Version=v3.1&supportedFramework=.NETStandard,Version=v2.1&semVerLevel=2.0.0'.
  Response status code does not indicate success: 500 (Internal Server Error).

Any idea when the feed will be back up?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Apr 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?