Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
173 views
Hello Support Team,

I have demo Asp.net application with Telerik version 2016.2.607.40.  Radgrid and Radwindow controls are used.
Issue which I am facing is, when I do action in application, Memory usage increases but not decrease automatically.
I am facing issue in IE11, but working fine in Chorme and Mozilla.
I have already tried DestroyonClose  and implemented in demo application.

I am trying to attach demo application but not allowed me to upload(Zip) file.

Please let me know your feedback asap.
Marin Bratanov
Telerik team
 answered on 21 Jan 2019
3 answers
466 views

In my radgrid when I click a row it fires the server side event OnSelectedIndexChanged.  However, I am losing focus after postback and the arrow keys stop working to navigate up/down in the grid.  As a work around I am setting the focus to a LinkButton control in the last selected row which gives me arrow key control back, but it does highlight the LinkButton which looks odd.

protected void Page_PreRender(object sender, EventArgs e)
{
  rgOrderItem.SelectedItems[0].FindControl("lbtnPartNumber").Focus();
}

 

How can I get focus on the RadGrid where the arrow keys will work but not focus on a control in the current row?  I have tried focusing on labels, but arrow keys don't work I assume because labels don't except keyboard input.  I have also tried the following:

// 1.
rgOrderItem.Focus();
 
// 2.
rgOrderItem.MasterTableView.Focus();
 
// 3.
rgOrderItem.Parent.Focus();
 
//4.
rgOrderItem.MasterTableView.Parent.Focus();
 
//5.
rgOrderItem.SelectedItems[0].Focus();
 
//6.
rgOrderItem.SelectedItems[0].Parent.Focus();
 
//7.
rgOrderItem.SelectedItems[0].Parent.Parent.Focus();

 

I notice if I click on whitespace inside the grid and below the last row, my focus seems to be where it needs to be and my arrow keys work without anything selected in a grid row, but I can't figure out how to programmatical target this area.  Please help.  Thanks.

 

 

 

Attila Antal
Telerik team
 answered on 21 Jan 2019
5 answers
337 views
Can either of your RadEditor for MOSS (lite or regular) handle inserting images directly into a discussion board post?

If it does, does it then manage those images a picture library?

thanks,
gene

sandeep
Top achievements
Rank 1
 answered on 21 Jan 2019
4 answers
110 views

I would like to use the RadMonthYearPicker Component in an application with Swedish language. I need two Controls for letting the users to define a period. But I have a problem with setting the texts on the Today and Cancel buttons.

I've tried changing the settings in MonthYearNavigationSettings in the Page_Load, but just the first call for each Component makes an impact on the result.

For example:

rmypFromDatum.MonthYearNavigationSettings.CancelButtonCaption = "Avbryt";
rmypFromDatum.MonthYearNavigationSettings.TodayButtonCaption = "Idag";
rmypTomDatum.MonthYearNavigationSettings.TodayButtonCaption = "Idag";
rmypTomDatum.MonthYearNavigationSettings.CancelButtonCaption = "Avbryt";

then in the first Component, rmypFromDatum, the text on the Cancel Button is changed to "Avbryt", but the text on the Today button is English - Today. And vice versa - on the second Component the Today button has the text changed to "Idag" but the Cancel button has the text "Cancel.

When a button is clicked on the page and the page is reloaded both the buttons - Today and Cancel - get the Swedish texts.

What shall I do to make my Changes to be visible the first time the users open the Components. Please help!

Best regards,

Jenny

 

 

 

Eyup
Telerik team
 answered on 21 Jan 2019
3 answers
344 views

I've opened a support ticket but thought I'd post here just in case someone else has come across this problem and has a solution.

Nothing has changed in my code base that was working well yesterday in the older version of RCAJAX ... but as soon as I allowed the Telerik auto update process to go ahead and update my project to 2019.1.115.45 I got an error during the update but the log listed everything as "successful"?  The error was:

"Request registry access is not allowed"

So I proceed to rebuild my project with the new 2019.1.115.45 and I got this dialog error:

"Line:8
Error: '$telerik' is undefined"

So I clicked Yes to debug and got a bunch of what looks like JSON code (not mine) and line listing, see attached pictures.

Any suggestions?  This is why I fear using Telerik's automated update process, it has about a 75% failure rate ... for some strange reason I decided to see if anything has changed at Telerik, but I see their update process still seems to be plagued with issues.

Any hints?  Go back to my prior version that was working well?

Rob.

Marin Bratanov
Telerik team
 answered on 19 Jan 2019
3 answers
290 views

I have VS 2013 and 2017 installed on my machine.  While installing the extension from Visual Studio's "Extensions & Updates," it did not work.  The log indicated that it did not like Version 2013.  Then, I downloaded the vsix file from Visual Studio market place, and tried to install it manually only on the VS2017 using the following command:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE>VSIXInstaller.exe /skuName:Pro /skuVersion:15.0 c:\temp\Telerik.Web.UI.VSPackage.vsix

It failed with, "This extension is not installable on any currently installed products."

The exact version of Visual Studio 2017 is 15.9.5.

I would appreciate the help.

Thanks.

Vesko
Telerik team
 answered on 18 Jan 2019
2 answers
105 views

Hi,

 

anyone got a nice idea to create a dashboard page like shown in the attached screenshot. The problem there is that I created a row with 3 columns each of the got a width of 33% after that a row with two columns of 50% and a row with 100%. Each cell got a RadDockZone with a width of 100%.

How can i avoid the miss alignment on the right side. The current code looks like this:

001.<style type="text/css">
002.        .td33
003.        {
004.            width: 33%;
005.            height: 98%;
006.            vertical-align:top;
007.        }
008.        .td100
009.        {
010.            width: 100%;
011.            height: 98%;
012.            vertical-align:top;
013.        }
014.        .td50
015.        {
016.            width: 50%;
017.            height: 98%;
018.            vertical-align:top;
019.        }
020.        div#main
021.        {
022.            position: relative;
023.            height: 800px;
024.            width: 100%;
025.            background-color: #ccc;
026.            overflow-y: auto;
027.            border: 1px solid red;
028.        }
029.    </style>
030.        <telerik:RadDockLayout ID="RadDockLayout1" runat="server">
031.            <div id="main">
032.                <table style="table-layout: fixed; width: 100%;">
033.                    <tr>
034.                        <td class="td33">
035.                            <telerik:RadDockZone ID="RadDockZone1" runat="server" Width="96%" MinHeight="50px"
036.                                Height="95%">
037.                                <telerik:RadDock ID="RadDock1" runat="server" Width="300px" Title="RadDock-Title">
038.                                    <ContentTemplate>
039.                                        <br />
040.                                        CONTENT
041.                                        <br />
042.                                    </ContentTemplate>
043.                                </telerik:RadDock>
044.                            </telerik:RadDockZone>
045.                        </td>
046.                        <td class="td33">
047.                            <telerik:RadDockZone ID="RadDockZone2" runat="server" Width="96%" MinHeight="50px"
048.                                Height="95%">
049.                                <telerik:RadDock ID="RadDock2" runat="server" Width="300px" Title="RadDock-Title">
050.                                    <ContentTemplate>
051.                                        <br />
052.                                        CONTENT
053.                                        <br />
054.                                    </ContentTemplate>
055.                                </telerik:RadDock>
056.                            </telerik:RadDockZone>
057.                        </td>
058.                        <td class="td33">
059.                            <telerik:RadDockZone ID="RadDockZone3" runat="server" Width="96%" MinHeight="50px"
060.                                Height="95%">
061.                                <telerik:RadDock ID="RadDock3" runat="server" Width="300px" Title="RadDock-Title">
062.                                    <ContentTemplate>
063.                                        <br />
064.                                        CONTENT
065.                                        <br />
066.                                    </ContentTemplate>
067.                                </telerik:RadDock>
068.                            </telerik:RadDockZone>
069.                        </td>
070.                    </tr>
071.                </table>
072. 
073.                <table style="table-layout: fixed; width: 100%;">
074.                    <tr>
075.                        <td class="td50">
076.                            <telerik:RadDockZone ID="RadDockZone5" runat="server" Width="96%" MinHeight="50px"
077.                                Height="95%">
078.                                <telerik:RadDock ID="RadDock5" runat="server" Width="300px" Title="RadDock-Title">
079.                                    <ContentTemplate>
080.                                        <br />
081.                                        CONTENT
082.                                        <br />
083.                                    </ContentTemplate>
084.                                </telerik:RadDock>
085.                            </telerik:RadDockZone>
086.                        </td>
087.                        <td class="td50">
088.                            <telerik:RadDockZone ID="RadDockZone6" runat="server" Width="96%" MinHeight="50px"
089.                                Height="95%">
090.                                <telerik:RadDock ID="RadDock6" runat="server" Width="300px" Title="RadDock-Title">
091.                                    <ContentTemplate>
092.                                        <br />
093.                                        CONTENT
094.                                        <br />
095.                                    </ContentTemplate>
096.                                </telerik:RadDock>
097.                            </telerik:RadDockZone>
098.                        </td>
099.                    </tr>
100.                </table>
101. 
102. 
103.                <table style="table-layout: fixed; width: 100%;">
104.                    <tr>
105.                        <td class="td100">
106.                            <telerik:RadDockZone ID="RadDockZone4" runat="server" Width="96%" MinHeight="50px"
107.                                Height="95%">
108.                                <telerik:RadDock ID="RadDock4" runat="server" Width="300px" Title="RadDock-Title">
109.                                    <ContentTemplate>
110.                                        <br />
111.                                        CONTENT
112.                                        <br />
113.                                    </ContentTemplate>
114.                                </telerik:RadDock>
115.                            </telerik:RadDockZone>
116.                        </td>
117.                    </tr>
118.                </table>
119.            </div>
120.        </telerik:RadDockLayout>
HMPSOLBB
Top achievements
Rank 1
 answered on 18 Jan 2019
1 answer
179 views

Hi,

Would it be possible to page in the LightBox without refreshing the whole page in this demo:

 

https://demos.telerik.com/aspnet-ajax/lightbox/examples/templates/defaultvb.aspx?show-source=true

 

Every time I click Next, the page is refreshed...

 

Marc

Attila Antal
Telerik team
 answered on 18 Jan 2019
2 answers
181 views

Hi,

I'm using RadAsyncUpload in my ASP.NET AJAX project.

Overall this works fine but when filename contains ' sh ' (<blank>sh<blank>) it not work!? It just trying to upload but never get it done

Example filename "Bending sh plate.pdf" did not get uploaded

 

BR,

Auvo

 

 

 

 

 

Auvo
Top achievements
Rank 1
 answered on 18 Jan 2019
4 answers
259 views

 

How do you persist the PageSize combo setting if the user refreshes the page? It seems to always revert to 25.

 

            <telerik:RadGrid ID="RadGrid1" runat="server"
                OnItemCommand="RadGrid1_ItemCommand"
                RenderMode="Lightweight"
                OnNeedDataSource="RadGrid1_NeedDataSource"
                AllowPaging="True"
                PageSize="25"
                AllowSorting="True"
                CellSpacing="-1"
                GridLines="Both"
                >
                <MasterTableView AutoGenerateColumns="true" TableLayout="Fixed" DataKeyNames="Catalog #">
                    <NestedViewTemplate>
                        <div>
                            <div style="float: left;">
                                <%
                                    int catalogId = Convert.ToInt32(RadGrid1.SelectedValue);

                                    List<string> files = GetImageUrlList(catalogId);
                                    if (files != null)
                                    {
                                        foreach (var path in files)
                                        { %>
                                            <img src='<%= path %>' height="400px" />
                                <%      }  
                                    } %>
                            </div>
                            <div style="clear: both">
                            </div>
                        </div>
                    </NestedViewTemplate>
                    <PagerStyle PageSizes="25,50,100" PagerTextFormat="{4}<strong>{5}</strong> rows"
                        PageSizeLabelText="Rows per page:" />
                </MasterTableView>
                <GroupingSettings CollapseAllTooltip="Collapse all groups"></GroupingSettings>
                <ClientSettings EnableRowHoverStyle="true" EnablePostBackOnRowClick="true">
                    <Selecting AllowRowSelect="true" EnableDragToSelectRows="false" />
                    <Scrolling AllowScroll="true" ScrollHeight="" UseStaticHeaders="true" />
                </ClientSettings>
                <FilterMenu RenderMode="Lightweight"></FilterMenu>
                <HeaderContextMenu RenderMode="Lightweight"></HeaderContextMenu>
            </telerik:RadGrid>

 

 

Attila Antal
Telerik team
 answered on 18 Jan 2019
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?