The code we use is
manager.ActiveBrowser.Cookies.SetCookie(cookie);
But when we getcookie, we found nothing.
Thanks very much.
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
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?
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();
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
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);
}
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?