Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
120 views

Hi,

 

I'd like to copy down values from one row to multiple rows like I can do in Excel or in SharePoint Quick Edit. How can I achieve this in BulkEdit with RadGrid?

 

Thanks for any advice

Peter

Peter
Top achievements
Rank 1
 asked on 01 Mar 2018
1 answer
179 views

Hi

In page load i'm creating the funnel chart like this and populating the data

 funnelSeries = FunnelChart1.PlotArea.Series[0] as FunnelSeries;
            Decimal u = 0;
            Decimal v = 0;
            Decimal w = 0;
            Decimal x = 0;
            FunnelSeriesItem item1 = new FunnelSeriesItem(u, "name1", Color.Red);
            FunnelSeriesItem item2 = new FunnelSeriesItem(v, "name2", Color.Blue);
            FunnelSeriesItem item3 = new FunnelSeriesItem(w, "name3", Color.Green);
            FunnelSeriesItem item4 = new FunnelSeriesItem(x, "name4", Color.Black);
            funnelSeries.SeriesItems.Add(item1);
            funnelSeries.SeriesItems.Add(item2);
            funnelSeries.SeriesItems.Add(item3);
            funnelSeries.SeriesItems.Add(item4);

I could see the funnel chart in UI but when I try to set the funnelSeries.SeriesItems[1].Y value from one of the button click event code. the chart is not updating the set value. please help!

 

Rumen
Telerik team
 answered on 01 Mar 2018
1 answer
141 views

Hi, I've recently been interested in the track changes feature for the radeditor. Everything has been working well, but the tracking changes doesn't seem to support table deletion. Usually when text is deleted it is wrapped in a <del> tag, but whenever I delete any aspect of a table it is not, and thus the changes cannot be tracked. I was wondering if this feature isn't included, or if I am doing something wrong.

 

I also have problems deleting tables which I have loaded from external html. The text can be deleted but not the table as a whole. The only way to remove the table is to delete rows and columns individually.

 

 

Rumen
Telerik team
 answered on 01 Mar 2018
1 answer
318 views

As few browsers stop supporting Windows Media Player plugin, I m trying to convert Object/Embed Tags to Video Tags using "OnClientPasteHtml" method as mentioned here

https://www.telerik.com/support/kb/aspnet-ajax/editor/details/inserting-a-video-tag-via-the-media-manager-instead-of-the-default-object-embed-ones

but currently File extensions allowed by media manager are
*.wma, *.wmv, *.avi, *.wav, *.mpeg, *.mpg, *.mpe, *.mp3, *.m3u, *.mid, *.midi, *.snd, *.mkv

There is no *.mp4

How can i change this validation to accept other file types supported by HTML5 Video tag

 

Please suggest

 

Rumen
Telerik team
 answered on 01 Mar 2018
1 answer
198 views

The http://converter.telerik.com not work to converter from C# to VB.NET

 

 

Rumen
Telerik team
 answered on 01 Mar 2018
1 answer
163 views

RadGrid1 + SqlDataSource1(SQL NOT USED parameter) = WORK

GridView1 (Standart) + SqlDataSource1(SQL USED parameter) = WORK

RadGrid1 + SqlDataSource1 (SQL USED parameter) = NOT WORK

Problem: Only telerik not updated schema and not set data in Grid(empty). Standalone GridView - worked. It is bub or please give informations what is user parameters in mySQL query.

Manual dont worked (https://demos.telerik.com/aspnet-ajax/grid/examples/columns-rows/columns/column-types/defaultcs.aspx)

 

RadGrid1

<telerik:RadGrid ID="RadGrid1" runat="server" Culture="ru-RU" DataSourceID="SqlDataSource1" AutoGenerateDeleteColumn="True" AutoGenerateEditColumn="True" OnDeleteCommand="RadGrid1_DeleteCommand" OnEditCommand="RadGrid1_EditCommand" AllowAutomaticDeletes="True" Skin="Glow" CellSpacing="-1" GridLines="Both" Width="603px">
<GroupingSettings CollapseAllTooltip="Collapse all groups"></GroupingSettings>
        <ExportSettings>
            <Pdf PageWidth="">
            </Pdf>
        </ExportSettings>
        <MasterTableView AutoGenerateColumns="False" DataKeyNames="id" DataSourceID="SqlDataSource1">
            <Columns>
                <telerik:GridBoundColumn DataField="id" DataType="System.Int32" FilterControlAltText="Filter id column" HeaderText="id" ReadOnly="True" SortExpression="id" UniqueName="id">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="title" FilterControlAltText="Filter title column" HeaderText="title" SortExpression="title" UniqueName="title">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="type" FilterControlAltText="Filter type column" HeaderText="type" SortExpression="type" UniqueName="type">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="city" FilterControlAltText="Filter city column" HeaderText="city" SortExpression="city" UniqueName="city">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="address" FilterControlAltText="Filter address column" HeaderText="address" SortExpression="address" UniqueName="address">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="area" DataType="System.Single" FilterControlAltText="Filter area column" HeaderText="area" SortExpression="area" UniqueName="area">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="comment" FilterControlAltText="Filter comment column" HeaderText="comment" SortExpression="comment" UniqueName="comment">
                </telerik:GridBoundColumn>
            </Columns>
            <GroupByExpressions>
                <telerik:GridGroupByExpression>
                </telerik:GridGroupByExpression>
            </GroupByExpressions>
        </MasterTableView>
</telerik:RadGrid>

 

SqlDataSource1

<asp:SqlDataSource ID="SqlDataSource1"
    runat="server"
    ConnectionString="<%$ ConnectionStrings:xesko %>"
      ProviderName="<%$ ConnectionStrings:xesko.ProviderName %>"
    SelectCommand="SELECT id, title, type, city, address, area, comment FROM building WHERE (id IN (SELECT id_building FROM user_atributes WHERE (id_user = @id_user)))"> 
 
  <SelectParameters>
    <asp:Parameter Name="id_user" Type="Int32" DefaultValue="100" />
  </SelectParameters>
 
</asp:SqlDataSource>

 

GridView1 - standart - work

<asp:GridView ID="GridView1" runat="server" DataSourceID="SqlDataSource1"></asp:GridView>

 

USED:

Visual Studio 2017 (15.5.7)

MySQL server 5.6

MySQL for Visual Studio 2.0.5 (MySQL Database (MySQL Data Provider))

MySQL Connector/ NET  6.9.9

Telerik ASP.NET Ajax 2017.2.503

 

 

andalit
Top achievements
Rank 1
 answered on 01 Mar 2018
0 answers
104 views

Hi,

I've an aspx page that contains a telerik grid, after an upgrade of Telerik.Web.UI.dll I started to get the following exception
"chrome.app is not available" I don't know if this related to inner call by the grid or other component.

the upgrade were from version 2013.1.* to 2014.3.1209.45.

How can I fix the issue ?

majdee
Top achievements
Rank 1
 asked on 01 Mar 2018
9 answers
134 views

When selecting a full table, by a standard, we get text selection, but we get the table selected (we can copy/paste the table)

Ive seen on docs you can change cell selection type to MultiCell, then you can shift+click and select cells, and its pretty much the same as the above however the visual selection is slightly different. In this case, however you cannot select texts manually like before.

I know you can change this selection type during runtime, but only in the backend is that right ?

What would be a good aproach to solve this problem ? Only do cell selection when shift is pressed, else do a normal selection.

Would apreciate any help !!

Best regards to Telerikers :)

Rumen
Telerik team
 answered on 01 Mar 2018
8 answers
389 views

Hello

I get sometimes a runtime error in production:

Message: Object reference not set to an instance of an object.
StackTrace:    at Telerik.Web.UI.RadEditor.<get_Text>b__b(Match m)
   at System.Text.RegularExpressions.RegexReplacement.Replace(MatchEvaluator evaluator, Regex regex, String input, Int32 count, Int32 startat)
   at System.Text.RegularExpressions.Regex.Replace(String input, MatchEvaluator evaluator)
   at System.Text.RegularExpressions.Regex.Replace(String input, String pattern, MatchEvaluator evaluator, RegexOptions options)
   at Telerik.Web.UI.RadEditor.get_Text()
   at xyz.CN_BL.cnExportMethodsBL.writeEXTFlat(List`1 toWriteInSheet, SpreadsheetDocument xlDoc, WorkbookPart workbookPart, WorksheetPart& worksheetPart, Int32 iColIndex, ExtWert extW, Stamm st, Sheet sh, UInt32& indexRow, AdminTexte at, Int32 aktSprache) in C:\Projekte\xyz\CN_BL\cnExportMethodsBL.cs:line 11826
   at xyz.CN_BL.cnExportMethodsBL.doExport(IObjectScope myScope, String& strShortenFileNameToUse, MemoryStream& mStream, Int32[] Export_Ids, Int32[] Export_IdsStamm, exportMode ExportMode, exportTyp ExportTyp, exportTyp ExportTypOriginal, Sprache aktSprache, Boolean bModulWFAktiv, Int32 FirmaId, Int32 ExportSprache, String strFileName, String& strError) in C:\Projekte\xyz\Web\CN_BL\cnExportMethodsBL.cs:line 6640
   at xyz.CN_BL.FileFunctions_BL.startExportBackground(Object Param) in C:\Projekte\xyz\Web\CN_BL\FileFunctions_BL.cs:line 1212
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.ThreadHelper.ThreadStart(Object obj)

The error does not occur every time. My guess: the more data is processed, the more likely the w3wp.exe crashes, or more specific, the special export thread crashes.
I can not reproduce the error in the development environment.

Creation of the error:
The user wants to export data. The web server starts a separate thread for writing datas into an excel file (via MemoryStream). Codesnippet from the export method:

Loop, which calls the writeEXTFlat() methods multiple times

{
// static method writeEXTFlat()
  ... some code ...

  Line 11826:  Telerik.Web.UI.RadEditor re = new Telerik.Web.UI.RadEditor();

  ... more code without touching RadEditor ...

  foreach (int i =0; x < exportRecs; i++)
  {

     ... more code without touching RadEditor ...

     re.Content = strExportDataWithHTML;
     string strToExport = re.Text;

     ... more code without touching RadEditor ...
  }

}

My question : Any idea why this error can happen? It makes totaly no sense to me. strExportDataWithHTML is always at least an empty string.

TIA
Markus

Markus
Top achievements
Rank 1
 answered on 01 Mar 2018
1 answer
256 views
Is it possible to use persistence framework to persist column settings when the radgrid is set AutoGeneratedColumns =true? 
Marc
Top achievements
Rank 1
 answered on 28 Feb 2018
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?