Quantcast
Channel: Telerik Forums RSS
Viewing all 78072 articles
Browse latest View live

Getting CellSelection object from mouse-selected cells

$
0
0

Is there a way to do this using Kendo Spreadsheet Widget and AngularJS/jQuery? Getting the selected cell and storing in a variable is extremely important for me!

 

Thanks!


Remove account.

$
0
0

Hi

Can you please delete my account. Thank you!

RadGridView Cell AutomationElement not giving correct Header using TableItemPattern

$
0
0

Hi,

   We are trying to get the columnHeaderProperty using TableItemPattern on the Automationelement of cell inside RadGridView but it is giving wrong header value. It is giving the next header value. Here RawGridView have columns and rows virtualization support enabled.

Regards,

Nagasree.

 

Report Chart ALL in X Axis

$
0
0

Hello

I added categorygroup but it still has the same problem with the categories stated before the series on the XAxis.

here is the code:

 // 
            // graph2
            // 
            graphGroup3.Name = "categoryGroup1";
            this.graph2.CategoryGroups.Add(graphGroup3);
            monochromaticPalette1.BaseColor = System.Drawing.Color.DodgerBlue;
            this.graph2.ColorPalette = monochromaticPalette1;
            this.graph2.CoordinateSystems.Add(this.cartesianCoordinateSystem1);
            this.graph2.DataSource = this.facGovDataSource;
            this.graph2.Legend.Style.LineColor = System.Drawing.Color.LightGray;
            this.graph2.Legend.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D);
            this.graph2.Legend.Style.Visible = false;
            this.graph2.Location = new Telerik.Reporting.Drawing.PointU(Telerik.Reporting.Drawing.Unit.Cm(9.9921220680698752E-05D), Telerik.Reporting.Drawing.Unit.Cm(1.6000007390975952D));
            this.graph2.Name = "graph2";
            this.graph2.NoDataStyle.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
            this.graph2.NoDataStyle.Visible = false;
            this.graph2.PlotAreaStyle.LineColor = System.Drawing.Color.LightGray;
            this.graph2.PlotAreaStyle.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D);
            this.graph2.PlotAreaStyle.Visible = false;
            this.graph2.Series.Add(this.barSeries2);
            graphGroup6.Groupings.Add(new Telerik.Reporting.Grouping("= Fields.Governerate"));
            graphGroup6.Name = "governerateGroup";
            graphGroup6.Sortings.Add(new Telerik.Reporting.Sorting("= Fields.Governerate", Telerik.Reporting.SortDirection.Asc));
            this.graph2.SeriesGroups.Add(graphGroup6);
            this.graph2.Size = new Telerik.Reporting.Drawing.SizeU(Telerik.Reporting.Drawing.Unit.Cm(19.311805725097656D), Telerik.Reporting.Drawing.Unit.Cm(7.6999998092651367D));
            this.graph2.Style.BorderColor.Top = System.Drawing.SystemColors.ActiveBorder;
            this.graph2.Style.BorderStyle.Top = Telerik.Reporting.Drawing.BorderType.Solid;
            graphTitle2.Position = Telerik.Reporting.GraphItemPosition.TopCenter;
            graphTitle2.Style.LineColor = System.Drawing.Color.LightGray;
            graphTitle2.Style.LineWidth = Telerik.Reporting.Drawing.Unit.Cm(0D);
            graphTitle2.Text = "";
            this.graph2.Titles.Add(graphTitle2);
            // 
            // cartesianCoordinateSystem1
            // 
            this.cartesianCoordinateSystem1.Name = "cartesianCoordinateSystem1";
            this.cartesianCoordinateSystem1.Style.TextAlign = Telerik.Reporting.Drawing.HorizontalAlign.Right;
            this.cartesianCoordinateSystem1.XAxis = this.graphAxis4;
            this.cartesianCoordinateSystem1.YAxis = this.graphAxis3;
            // 

 

and i attached a screenshot

Change Cursor on Cell Mouse Enter, Mouse Leave

processes running in xamarin android

$
0
0

You can come controlloare Processes Running with xamarin.android?
I tried to call Process.getprocessesbyname () but I do not chargewithin of this class

 

[code]
protected override void OnCreate (Bundle savedInstanceState){ base.OnCreate (savedInstanceState);
SetContentView (Resource.Layout.Main);
// Get our button from the layout resource, // And attach an event to it Button button = findViewById <Button> (Resource.Id.myButton);
button.Click + = delegate {button.Text = string.Format ("{0} hereclicks!", count ++); }; 
[/code]

Keep Selected Row Backcolor when changing row backcolor

$
0
0
Hi Greg,

Thank you for writing back.

I am glad that you have managed to achieve a working solution in your actual project. The else clause is needed because of the virtualized visual elements. In other words, the visual cells are reused representing multiple logical elements. This is needed to improve the performance of the control:
Calling the Control.Invalidate method will send a paint message to the grid and since it is working well on your end you can go ahead with it.

I hope this helps. Should you have further questions please do not hesitate to write back.

Regards,
Hristo Merdjanov
Telerik by Progress
Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.

RibbonWindow TitleBar Color

$
0
0

Hello!

Is it possible to change the titelbar background color (window titlebar) to the Office 2016 theme accent color?


I want to be able to create templates in the UI, and then export PDFs using mailmerge. Are there any good examples?

$
0
0
Hello Pavel,

Thank you for writing.

Using the suggested approach is valid, however, as you have already observed this will not prevent executing the built-in logic handling the save operation.

The method responsible for performing the save command is also virtual and you can override it. This way you will not need to create a new event handler and the default behavior will be overridden as well: 
public class CustomRichTextEditorRibbonBar : RichTextEditorRibbonBar
{
    protected override void BackstageButtonSave_Click(object sender, EventArgs e)
    {
        if (this.IsDesignMode || this.AssociatedRichTextEditor == null)
        {
            return;
        }
 
        //Your custom logic...
    }
}

I hope this helps. Please let me know if you need further assistance.

Regards,
Hristo Merdjanov
Telerik by Progress
Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.

Sort by Checked Item

$
0
0
This method with lambda expression parameter is available in which version?

Drag and Drop is not working when TreeView has link items

$
0
0
Hello,

I was able to reproduce the issue and track it down to Q3 2015, when it was introduced. I am afraid that currently there is no workaround for it. I've logged a public issue for it, where you may track its progress and add comments. As a small token of gratitude for reporting it to us, I updated your Telerik points.

Regards,
Dimitar
Telerik by Progress
Telerik UI for ASP.NET MVC is ready for Visual Studio 2017 RC! Learn more.

Can't seem to make FieldDisplayMode.DisplayName work correctly

$
0
0
Hello Pavel,

Thank you for writing.

Once you load the document in your new RadRichTextEditor instance you need to execute an update command. Please check my code snippet below: 
RadDocument doc = null;
DocxFormatProvider provider = new DocxFormatProvider();
using (Stream intput = File.OpenRead(@"..\..\merged-doc"))
{
    doc = provider.Import(intput);
}
 
this.radRichTextEditor2.Document = doc;
ChangeAllFieldsDisplayModeCommand command = new ChangeAllFieldsDisplayModeCommand(this.radRichTextEditor2.RichTextBoxElement);
command.Execute(FieldDisplayMode.DisplayName);
this.radRichTextEditor2.Focus();

I hope this helps. Please let me know if you need further assistance.

Regards,
Hristo Merdjanov
Telerik by Progress
Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.

Page break in exporting HTML to DOCX - solution found

$
0
0

Hi, everyone,

As far as I know, RadEditor doesn't have a page break functionality when HTML is exporting to DOCX. I've found a solution for this:

 

DocxFormatProvider provider = new DocxFormatProvider();
HtmlFormatProvider htmlProvider = new HtmlFormatProvider();

List<string> result = this.PrepareStringToExport(htmlPage); //result is a list with divided "pages"
RadFlowDocument newDoc = new RadFlowDocument();
RadFlowDocumentEditor newEditor = new RadFlowDocumentEditor(newDoc);
RadFlowDocument document;
foreach(string element in result)
{
document = new RadFlowDocument();
document = htmlProvider.Import(element);
newEditor.InsertDocument(document);
newEditor.InsertBreak(BreakType.PageBreak);
}
byte[] byteArray = provider.Export(newEditor.Document);
string fileName = "filename.docx";
Utils.SendBytesAsFileToClientWithAjax(Response, fileName, byteArray);

 

If there is a cleaner solution, let me know

 

Best regards

Marcin

Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed

$
0
0
Hello,

If you would like to specify the structure of the Excel file manually you can use the Export Infrastructure. Check out the following article that describes the functionality.


When exporting the RadGrid you should use the InfrastructureExporting event and customize the Excel file.



Regards,
Viktor Tachev
Telerik by Progress
Telerik UI for ASP.NET AJAX is ready for Visual Studio 2017 RC! Learn more.

kendo chart pdf export

$
0
0
Hello Ollie,

The Kendo UI PDF Export is officially supported only on desktop browsers:

http://docs.telerik.com/kendo-ui/intro/supporting/browser-support#pdf-export

As you have noted yourself - the PDF Export may work on some mobile devices.  However, since we are not able to claim universal support, we prefer to officially state the feature as not supported.

We would like to extend the support to include mobile browsers, however, we are dependent on the way that mobile browsers work, their API and technical limitations.

Please, cast your vote for the Kendo UI PDF Export on mobile browsers in the UserVoice idea at:

http://kendoui-feedback.telerik.com/forums/127393-kendo-ui-feedback/suggestions/15365349-support-for-major-browsers-on-mobile-devices-for-p

As it gains more popularity, it will be pushed up for implementation appraisal.

Kind Regards,
Alex Hajigeorgieva
Telerik by Progress
Kendo UI is ready for Visual Studio 2017 RC! Learn more.

Adding new with rowdetails raddataform

$
0
0

Hi,

I have a gridview that I have marked as readonly because I *only* want the user to be able to edit/add data via my rowdetails editor. According to the doc if I have the gridview marked as readonly they can't add a new row. I'm stuck. I need a way to add a row and have the user enter the new info via the rowdetails datattemplated editor. Any ideas?

 

Thanks ... Ed

 

NuGet source authentication issues in VS 2013

$
0
0

Thanks for the response, Vesko. Surprisingly enough, what helped was restarting the computer. After that the credentials started working again.

Notice I tried restarting VS before, no effect.

I'm not sure which piece of software is responsible for this, though.

Generate Hierarchy Grid View with multiple levels

$
0
0
Hello Martin,

Thank you for writing.  

Would it be possible to provide a full code snippet reproducing the problem you are facing? In addition, a sample screenshot of the obtained and expected result would help us better understand the issue. A better option is to submit a support ticket where you can provide a sample project reproducing the problem.

Once we replicate the issue locally, we would be able to investigate the precise case and assist you further. Thank you in advance.

I am looking forward to your reply.

Regards,
Dess
Telerik by Progress
Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.

Radspineditor values range

$
0
0
Hi Oscar,

Thank you for writing.

Currently, you can use the TextChanged event to achieve this:
private void RadSpinEditor1_TextChanged(object sender, EventArgs e)
{
    var value = decimal.Parse(radSpinEditor1.Text);
    if (value > radSpinEditor1.Maximum)
    {
        RadMessageBox.Show("Value is larger than the maximum");
    }
}

I hope this will be useful.

Regards,
Dimitar
Telerik by Progress
Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.

Kendo UI MVC grid with Date picker and combo box (data of combo is based on each row data)

$
0
0
Hi Chris,

With Batch(InCell) edit mode, you will not be able to use that approach, because once you click on the calendar icon, the cell will be opened for editing and you will be using the editor for that column, instead of the DatePicker in the ClientTemplate. With that in mind, please display the value in the normal mode and the editor only when the cell is opened for editing.


Regards,
Konstantin Dikov
Telerik by Progress
Telerik UI for ASP.NET MVC is ready for Visual Studio 2017 RC! Learn more.
Viewing all 78072 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>