Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
138 views

While introducing a screenshot feature to one of our applications, we're experiencing unexpected behavior.  

The screenshots are grabbed as a blob, client-side, converted to a base64 string, then saved in a RadListBox.  We found that if greater than five base64 strings are saved in the RadListBox, the item count is zero, and triggers an error on our server side save functionality.

In most cases the limit of five works as expected, however, at times, even with the limit of five images (as base64 strings), the list box item count is zero.  

Is there a size limit to the RadListBox?  So far, the only explanation I can come up with is the list box control is overwhelmed with data and purges itself.

What else could cause this?  

Doncho
Telerik team
 answered on 11 Oct 2021
1 answer
682 views

Hi,

   I have a RadTapStrip and a RadmultiPage: The code is below though I have cut off the RadMultiPage for brevity.

    In The code behind which I've left out, again for brevity,In each pageview there is a RadHTMLChart. I read an article that said that all pageviews are loaded automatically unless they are set to Select Only.

 The code makes certain tabs invisible under certain circumstances. In this case the first tab is made invisible. so the second tab shows up first. To make sure that the second tab is selected and the associated RadHTMLChart shows up I set the Selectedindex for the RadTabStrip to 1.

RadTabStrip1.SelectedIndex = 1;

I wasn't sure if that was right but I did see that the second tab is highlighted  as I hoped when the screen renders; just to be clear this "second" tab is the first tab after the real first  tab is  made invisible . However the RadHTMLChart associated with that tab does not show up. 

 I clicked the next tab and the associated RadHtmlChart DID appear for that tab. Then when I went back to click the previous tab that didn't show the radHTMLChart when the screen was FIRST rendered; this time the radHTMLchart DID show up.

 

To do research I put a line in the  codebehind to explicitly activate the RadHTMLChart when the screen FIRST renders,

RadMultiPage1.FindPageViewByID("RadPageView2").Selected = true;

This time when the screen first rendered it DID show the associated radHTMLChart.

 I believe I'm missing something in the odd situation where tabs are made invisible.

The code from the aspx file is  below:

-------------------------------------------------------------------------------------------

 

 

         <telerik:RadTabStrip runat="server" ID="RadTabStrip1" MultiPageID="RadMultiPage1" SelectedIndex="0" Skin="Simple" Visible="false">

                <Tabs>

                    <telerik:RadTab Text="One" Width="200px"></telerik:RadTab>

                    <telerik:RadTab Text="Two" Width="200px"></telerik:RadTab>

                    <telerik:RadTab Text="Three" Width="200px"></telerik:RadTab>

                    <telerik:RadTab Text="Four" Width="200px"></telerik:RadTab>

                    <telerik:RadTab Text="Five" Width="200px"></telerik:RadTab>

                    <telerik:RadTab Text="Six" Width="200px"></telerik:RadTab>

                    <telerik:RadTab Text="Seven" Width="200px"></telerik:RadTab>

                    <telerik:RadTab Text="Eight" Width="200px"></telerik:RadTab>

                    <telerik:RadTab Text="Nine" Width="200px"></telerik:RadTab>

                    <telerik:RadTab Text="Ten" Width="200px"></telerik:RadTab>

                    <telerik:RadTab Text="Eleven" Width="200px"></telerik:RadTab>

                </Tabs>

            </telerik:RadTabStrip><br />

           

            <telerik:RadMultiPage runat="server" id="RadMultiPage1" SelectedIndex="0">

                <telerik:RadPageView runat="server" ID="RadPageView1">

                    <div>

                        <telerik:RadHtmlChart runat="server" Width="100%" Height="800px" ID="ChartInsideDiameter" Skin="Metro" PlotArea-XAxis-MinorGridLines-Visible="false"

                            PlotArea-XAxis-MajorGridLines-Visible="false" PlotArea-YAxis-MajorGridLines-Visible="false" PlotArea-YAxis-MinorGridLines-Visible="false">

                            <PlotArea>

                                <Series>

                                    <telerik:LineSeries DataFieldY="Field1" Name="">

                                        <TooltipsAppearance Color="White" />

                                    </telerik:LineSeries>

                                </Series>

                                <XAxis DataLabelsField="Label1">

                                    <LabelsAppearance RotationAngle="75">

                                    </LabelsAppearance>

                                    <TitleAppearance Text="Date">

                                    </TitleAppearance>

                                </XAxis>

                                <YAxis Step=".15">

                                    <TitleAppearance Text="Title1">

                                    </TitleAppearance>

                                </YAxis>

                            </PlotArea>

                            <Legend>

                                <Appearance>

                                </Appearance>

                            </Legend>

                            <ChartTitle>

                            </ChartTitle>

                        </telerik:RadHtmlChart>

                    </div>

                </telerik:RadPageView>

                <telerik:RadPageView runat="server" ID="RadPageView2">

                    <div>

                        <telerik:RadHtmlChart runat="server" Width="100%" Height="800px" ID="ChartInsideDiameterA" Skin="Metro" PlotArea-XAxis-MinorGridLines-Visible="false"

                            PlotArea-XAxis-MajorGridLines-Visible="false" PlotArea-YAxis-MajorGridLines-Visible="false" PlotArea-YAxis-MinorGridLines-Visible="false">

                            <PlotArea>

                                <Series>

                                    <telerik:LineSeries DataFieldY="Field2" Name="">

                                        <TooltipsAppearance Color="White" />

                                    </telerik:LineSeries>

                                </Series>

                                <XAxis DataLabelsField="Label2">

                                    <LabelsAppearance RotationAngle="75">

                                    </LabelsAppearance>

                                    <TitleAppearance Text="Date">

                                    </TitleAppearance>

                                </XAxis>

                                <YAxis Step=".2">

                                    <TitleAppearance Text="Title2">

                                    </TitleAppearance>

                                </YAxis>

                            </PlotArea>

                            <Legend>

                                <Appearance>

                                </Appearance>

                            </Legend>

                            <ChartTitle>

                            </ChartTitle>

                        </telerik:RadHtmlChart>

                    </div>                    

                </telerik:RadPageView>

 

Vessy
Telerik team
 answered on 11 Oct 2021
0 answers
191 views

Hi ,

                we are creating dynamic report in that one of the columns contain 100 and above characters . so we set text wrap as true.

Result as 


If we set false for text wrap, then result as below

data not show as fully, 

Below the code that we create dynamic report Dim detailsTxt As New Telerik.Reporting.TextBox
                detailsTxt.Size = New SizeU(Unit.Inch(col.ColumnName.Length), Unit.Inch(0.2))
                detailsTxt.Location = New Drawing.PointU(Unit.Inch(iniLeft), Unit.Inch(0.01))
                detailsTxt.Style.Font.Size = New Unit(10)
                detailsTxt.Style.VerticalAlign = VerticalAlign.Middle
                detailsTxt.Style.TextAlign = HorizontalAlign.Left
                detailsTxt.TextWrap = False
                detailsTxt.StyleName = "Data"
                detailsTxt.Style.BorderStyle.Default = Telerik.Reporting.Drawing.BorderType.Solid
                detailsTxt.CanGrow = True
                detailsTxt.KeepTogether = True
                detailsTxt.Multiline = True
                ' detailsTxt.Format = Format("{0:n}")
               detailsTxt.Value = "=Fields.[" + col.ColumnName.ToString & "]"
                detail.Items.Add(detailsTxt)

What we expect 


Pls reply with any solution, we are using Telerik version is 11.1.7.614  , is it new version fixed this bug ?

Thanks.

M Kumar
Top achievements
Rank 1
Iron
Veteran
 asked on 11 Oct 2021
1 answer
162 views

 

Hi

I have a page with a RadProgressBar over an loadbalancer (AWS Elastic Load Balancer).

When I access the page not using the loadbalancer address everyting works fine. But when I access using the address of loadbalancer the progressbar close after 90 seconds.

I know, the default timeout of scriptmanager is 90 seconds. But the scriptmanager have the AsyncPostBackTimeout with 2000 seconds.

<telerik:RadScriptManager ID="ScriptManager1" EnableScriptCombine="true" AsyncPostBackTimeout="2000" OutputCompression="Forced" ScriptMode="Release" runat="server" />

<telerik:RadProgressManager ID="RadProgressManager1" RefreshPeriod="5000" RegisterForSubmit="false" runat="server" />

In the AWS loadbalancer have the idle timeout param and I set the value to 900 seconds. I can confirm this configuration working very fine because the page still load until the end of the request, but the radprogress closes after 90 seconds or 18 times of the radprogress handler calls the server.

The web.config has executionTimeout="10800", and this works because the page remains running until the end.

Anybody have any idea about the problem and solution?

Thanks

Fabio PM
Top achievements
Rank 1
Iron
 updated question on 08 Oct 2021
1 answer
298 views

 

I am trying to set the datasource property of a radcombobox in the selectedindexchanged eventhandler of another radcombobox.

I am getting this error. 

 

 

How do I accomplish this?

Vessy
Telerik team
 answered on 08 Oct 2021
1 answer
129 views

Hi,

I've been looking for an answer but haven't been anything so apologies if it has already been answered.

I had a RadContextMenu with multiple targets (divs), when the onitemclick event is triggered how do I get which target the click event was launched from?

I need to know which control the contextMenu has been launched from as I'm using it as an edit/delete interface.

 


<telerik:radcontextmenu runat="server" id="ContextMenu1"
                            enableroundedcorners="True" enableshadows="True" onitemclick="RadMenuItem_Click" meta:resourcekey="ContextMenu1Resource1">
                            <targets>
                                <telerik:contextmenuelementtarget elementid="divField1" />
                                <telerik:contextmenuelementtarget elementid="divField2" />
                                <telerik:contextmenuelementtarget elementid="divField3" />
                                <telerik:contextmenuelementtarget elementid="divField4" />
                                <telerik:contextmenuelementtarget elementid="divField5" />
                                <telerik:contextmenuelementtarget elementid="divField6" />
                                <telerik:contextmenuelementtarget elementid="divField7" />
                                <telerik:contextmenuelementtarget elementid="divField8" />
                                <telerik:contextmenuelementtarget elementid="divField9" />
                                <telerik:contextmenuelementtarget elementid="divField10" />
                            </targets>
                            <items>
                                <telerik:radmenuitem text="Edit" value="Edit" runat="server" meta:resourcekey="RadMenuItemResource1" />
                                <telerik:radmenuitem text="Delete" value="Delete" runat="server" meta:resourcekey="RadMenuItemResource2" />
                            </items>
                        </telerik:radcontextmenu>

 

Thanks in advance

Vessy
Telerik team
 answered on 07 Oct 2021
0 answers
155 views

I am using the OnBatchEditCellValueChanged in the Client Events of the RadGrid.  The first time a cell is edited it fires as it should, if I choose another cell in the same row and edit it fires as well but when I go back and edit the first cell that was edited it does not fire until I click on another row.  Any thoughts or ideas would be great!

FYI, I am using Hierarchy grid and the cells being edited are in the master table view and updating cells in detail view when OnBatchEditCellValueChanged is fired.

Jerry
Top achievements
Rank 2
Iron
Iron
 asked on 06 Oct 2021
0 answers
249 views

Hi,

We have upgraded the current 2013 Telerik version to Telerik AspNet Ajax Net45 2021.2.616. Following the upgrade the RadDatepickers have stopped working. Although the calendar popup appears as expected, if a date is clicked (whether it’s on a date or empty cell) the popup closes.

Whilst looking into this we noticed that the older version has a click event attached to the RadCalendarPopup which does not get added when the 2021 version is used. 

The RadDatePicker control used for testing

<asp:Panel id="Wrapper" runat="server">
    <telerik:RadDatePicker ID="RadDatePicker" Style="display: none;" MinDate="01/01/1900" MaxDate="12/31/2200" runat="server" Skin="Cse" EnableEmbeddedSkins="false">
        <Calendar ShowRowHeaders="False" FastNavigationStep="12"></Calendar>
        <ClientEvents OnDateSelected="TelerikRadDateTimePicker_DateSelected" />
    </telerik:RadDatePicker>
</asp:Panel>

 

The OnDateSelected is fired when the Go button is clicked. The onClosing method used sets the event. set_cancel() to true.

A screenshot attached

  • RadCalendarPopup in version 2013
  • Version 2013 Scriptresource snippet
  • RadCalendarPopup  in version 2021
  • Version 2021 Scriptresource snippet

The 2021 version has wrapped the div click event in an If condition which we are unable to satisfy to get the click event added to the RadCalendarPopup div. Due this the calendar click event is treated as a document click event which closes the popup.

Could you please explain why the click event is wrapped around the If condition and help us find a workaround for this.

Thanks

Sureni
Top achievements
Rank 1
 asked on 06 Oct 2021
0 answers
100 views
I need to implement cell editing in Kendo Grid and save the cell value like this. Is there any way to do this? The given Inline InCell editing mode doesn't solve my purpose. please find the attached screenshot.
Vivek
Top achievements
Rank 1
Iron
 asked on 06 Oct 2021
1 answer
158 views

Hi,

I have a radWizard and an ajaxloadingpanel (connected by a radajaxmanager)

However when I change steps the loading panel does not work,

The first step I am using the radwizard "next" button and on the second step y button is custom.On neither of the button clicks does the loading panel show.

Thanks

Vessy
Telerik team
 answered on 05 Oct 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?