Telerik Forums
UI for ASP.NET AJAX Forum
11 answers
328 views
Hi,

I have a grid and it works OK.
Then I had the idea that it would look better if I remove the headers when no data is displayed.
The problem - when I set 

ShowHeadersWhenNoRecords

 

="False"

 

it does allways show the NoRecordsTemplate (even if data is present) - and no data is displayed.
Data is bound to a linq datasource.

When I remove my GridClientDeleteColumn it works like expected.
But this column seems to break the thing.

To reproduce - buil a simple grid, set ShowHeadersWhenNoRecords="False".
Should work as expected.
Add a GridClientDeleteColumn -- it displays always "No records to display"


Regards

Manfred
Attila Antal
Telerik team
 answered on 23 Jun 2021
1 answer
180 views

What is the easiest and fastest way to go back to the previous version of the controls.  I see a folder where it backed everything up in my project.  I am on a tight window for this project so don't want to spend the time figuring out the new errors after updating.  The update was made through the window that pops up in Visual Studio 2019 indicating there is a new version of the controls.

Thanks!

Doncho
Telerik team
 answered on 23 Jun 2021
1 answer
554 views

HI, 
I'm using rad grid with grouping, i've grouped two columns.

Now i want to give two different colors to those two grouped (App Type, Status) columns.

I need Black color font for Status and Blue color font for App Type.

How to achieve this, please help.

Thanks

Doncho
Telerik team
 answered on 23 Jun 2021
2 answers
176 views

I have a radgrid with several rows.  I want to allow the user to edit specific rows but not others.  The other rows I need to calculate based on users input.  I have all this working but I need to figure out how to keep the user from having access to edit the rows that I am editing client-side based on there input.

Example (ASP.Net AJAX):
Rows 1-5 are editable by the user

Rows 6 and 7 are calculated based on 1-5 and I am doing the calculation client-side via OnBatchEditCellValueChanged event.

I need to some how disable the ability of the user to edit rows 6 and 7 without loosing the ability to to calculate and update via the event.

Can I use the event OnBatchEditOpening and set args.get_cancel(true) based on the user clicking in rows 6 or 7?  I have tried this but failed to get it to work.  If this is possible?  Please provide a sample of the script if so.

Thanks,

Jerry

Jerry
Top achievements
Rank 2
Iron
Iron
 answered on 22 Jun 2021
1 answer
422 views

<p>Hi,</p><p>After introducing the Telerik Library and adding Telerik grid to the existing .Net Web application, it causing to load the web page slow compared to the old application( without telerik library and telerik grid). Web page is taking almost 30s to render and the DB returning the data within 3s.&nbsp;</p><p>Please provide us the performance improvement steps to introduce telerik to old web application.</p><p>Thanks.</p>

Below are the few additional details on the Light House Report:

Report when RenderMode="Light Weight"

Performance score.

Avoid an excessive DOM size 5,611 elements

 

Report when RenderMode="Classic"

Avoid an excessive DOM size 5,608 elements

 

Below is the screenshot of the execution time taken with telerik grid in the page.

 

Doncho
Telerik team
 answered on 22 Jun 2021
1 answer
765 views

Hi,

After introducing the Telerik Library and adding Telerik grid to the existing .Net Web application, it causing to load the web page slow compared to the old application( without telerik library and telerik grid). Web page is taking almost 30s to render and the DB returning the data within 3s. 

Please provide us the performance improvement steps to introduce telerik to old web application.

Thanks.

Doncho
Telerik team
 answered on 22 Jun 2021
0 answers
220 views

Migarted  Classic RadTabstrip to Ajax Suite, after that not able to view tabstrips.Using Telerik R32020 version with .Net Framework 4.8.


<telerik:RadAjaxPanel runat="server">
            <div style="float: left">
                <telerik:RadTextBox runat="server" EmptyMessage="Enter Tag" ID="TagName" MaxLength="255" ClientEvents-OnKeyPress="AddTag">
                </telerik:RadTextBox>
               
        </telerik:RadAjaxPanel>
    </div>
    <div class="bds_section clear">
        <telerik:RadTabStrip ID="RadTabStrip1" Skin="MyCustomSkin" EnableEmbeddedSkins="False" CausesValidation="False" MultiPageID="RadMultiPage1" SelectedIndex="0" runat="server" >
            <Tabs>
                <telerik:RadTab PageViewID="SummaryPageView" meta:resourceKey="ChangeSummaryTab" runat="server"></telerik:RadTab>
                <telerik:RadTab PageViewID="DetailPageView" Visible="false" meta:resourceKey="CurrentRecordTab" runat="server"></telerik:RadTab>
                <telerik:RadTab PageViewID="DuplicatesPageView" ForeColor="Red" Visible="false" meta:resourceKey="DuplicatesTab" runat="server"></telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>
        <telerik:RadMultiPage id="RadMultiPage1" runat="server" SelectedIndex="0">
            <telerik:RadPageView ID="SummaryPageView" runat="server">
               
            </telerik:RadPageView>
        <telerik:RadPageView id="DetailPageView" runat="server">

         </telerik:RadPageView>
            <telerik:RadPageView id="DuplicatesPageView" runat="server">
            </telerik:RadPageView>
        </telerik:RadMultiPage>

RadTabstrip is not rendered in the Page and no data is shown related to the control .No errors in the console.

Attached screenshot(TabStrip.png) is the Expected view when using Classic RadTabstrip.

But its not working in Ajax suite Controls.

Can anyone please help what is causing issue?

Sachita
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 21 Jun 2021
1 answer
178 views

Hello

I'm using a RadStrip with a Multipage that conatins two PageViews. (version 2020.1.219.45)

I'm loadig a PDF file on RadPageView2 and it works fine. However, when I switch to RadPageView1 and switch back to RadPageView2, the PDF disapears. It keeps the dark grey backcolor like an empty PDF document. If I resize the browser the PDF is visible again.

It seems this only happends with PDF Files, If I load an Internet Web Page there is no problem at all.

Not shore if you already face this issue with PDF.

Meanwhile I'm trying a workaroud for force a window resize by code.

Please let me know if you have any idea about this.

 

Regards

 

Vessy
Telerik team
 answered on 21 Jun 2021
1 answer
635 views

Hi Guys

I have a quick question, I have created a page with to RadTextBoxes

1 is set as a Input Field, second one is a multiline and read only. What I try is

I load some text into the readonly RadTextBox, then i search for a text I type into the first RadTextBox, I get back the index of the Textstart I was looking for. So far so good

Now I would like to place the Cursor to the text I am serching for in the readonly textBox and mark the text.

how can I go this?

 

Many thanks for all who van help

 

Attila Antal
Telerik team
 updated answer on 21 Jun 2021
4 answers
328 views

Hello

I've created a simple project with Telerik editor in page. I've added a dropdown that on SelectedIndexChanged would update a label's text on page through ajax.

While EnableHandlerEncryption is enabled in web.config, Editor's font dropdowns will get unresponsive after ajax update.

I've created a simple project to demonstrate the issue. since the compressed project size is 59MBs I'll post each part in separate replies.

am I missing something that causes this issue to happen?

maral
Top achievements
Rank 1
Iron
 answered on 21 Jun 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?