Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
24 views

I have a simple TreeView

    <telerik:RadTreeView ID="radTreeViewIndex" runat="server">
                    </telerik:RadTreeView>

That I am databinding on the page load.

My query returns heirarchical records such as the following

SPOP   TheKey     SYear     Norder

Null        A             Adult          4000
Null        P             Pediatric    3000
A            A2022     2022          2500
A            A2021      2021         2500
A           A2020      2020        2500
P            P2022     2022          2000
P            P2021      2021         2000
P           P2020      2020        2000

On the page load, I call the Oracle query, get back a cursor and construct the treeview by binding a data table to it

        DataTable dt1 =
            new DataTable();
        da1.Fill(dt1);
        RadTreeView radTreeViewIndex = (RadTreeView)FindControl("radTreeViewIndex");
        radTreeViewIndex.NodeDataBound += new RadTreeViewEventHandler(radTVI_click);
        radTreeViewIndex.DataFieldParentID = "SPOP";
        radTreeViewIndex.DataFieldID = "theKey";
        radTreeViewIndex.DataTextField = "sYear";
        radTreeViewIndex.DataValueField = "sYear";

        radTreeViewIndex.DataSource = dt1;
        radTreeViewIndex.DataBind();

The tree expanded would look like

> Adult

      - 2022 

     -  2021

     -  2020

> Pediatric

      - 2022 

     -  2021

     -  2020

The databinding and expanding/collapsing is working fine

That I am trying to now do and figure out how best to do is to navigate and load a grid based upon the click of a year

So clicking on Adult or Pediatric Nodes would only expand or collapse the tree
Clicking on the Year node would then call an event that would pass in the population and the year and then load that grid (to the right of the tree)  So for clicking on (Adult > 2021 ) node - was thinking navigating back to the page witth these values set, the tree expanded to show the selected node and the grid populated to display the records for population = adult and year = 2021

I was thinking I would add the event to the NodeDataBound

    protected void radTVI_click(object sender, RadTreeNodeEventArgs e)
    {
        if (string.IsNullOrEmpty(e.Node.NavigateUrl))
            e.Node.Attributes["onclick"] = "return Redirect(https://myjunkurl.com);";

    }

And then work with it to basically ignore or only have expand or collapse on the clicks of Adult or Pediatric but otherwise generate the URL to call the page and pass in the SPop and Year to then load the tree and grid.

Rumen
Telerik team
 answered on 05 Feb 2026
1 answer
31 views

Hi The following Web resource is not loading with the latest telerik version 2024.****. and affecting pagination.  Can you please help if there is any css or C# code that may affect. 

The application is built on asp.net 4.8 webforms.  Also could you kindly treat it as high priority as its impacting clients.  

Issue :  The height and space margins are varying. 

Kindly let us know if you need further details 

Best Regards, 

Sunil Shankar S R

Rumen
Telerik team
 answered on 05 Feb 2026
3 answers
34 views

I am trying to figure out how to accomplish this.  I am not sure if the RadGrid is best use

I have a data query that will return one or more records

Example - data returned may look like

UserID, User Full Name, User Status, Hire Date, Manager Name, Location, Skill Set, Last Review

And I want to format it as

Record 1

Row - User ID, User Full Name, User Status, Hire Date, Manager Name

Row - Location, Skill Set, Last Review

Next Record

Row - User ID, User Full Name, User Status, Hire Date, Manager Name

Row - Location, Skill Set, Last Review

Etc. 

I no problem filling data adapter, filling data table and then binding to grid in single row to record, but setting up multiple rows per record I am struggling. 

Thanks

Rumen
Telerik team
 answered on 03 Feb 2026
1 answer
31 views
Is there a JQuery version requirement for using the Telerik Web UI Controls in an ASP.Net Web Forms project?  I see the .NET 4.6.2+ but no JQuery version.
Rumen
Telerik team
 answered on 22 Jan 2026
1 answer
40 views

Hello

I have a page that is ajaxed using Ajax Manager.  There is a RadWindow on the page which uses navigateurl rather than contenttemplate to show a page within the site (so not an external URL)

That page also has AjaxManager on it.  When an ajaxed field within the window is changed the page does a partial postback correctly (and updates whatever it needs to do on itself) however the scroll position of the parent page scrolls to the top.

How do I stop that from happening?

I note that I am using this to scroll back to the window on window load because on opening the window it would scroll to the top as well

  function fnRadWindowPageLoad() {
                if (modalPopUpScrollPositionObj != null)
                    window.scrollTo(modalPopUpScrollPositionObj.XCoordinate(), modalPopUpScrollPositionObj.YCoordinate());
            }

 

I'm using this to open the window in the code behind, after I've done some processing

Dim sbScript As New System.Text.StringBuilder()

        'This needs the Sys.Application.Load event, as the button performs a full postback, thus disposes the entire user control, as well as the page
        sbScript.Append("function f(){")
        sbScript.Append("var oWnd = $find('" & RadWindowSearchFilter.ClientID & "');")
        sbScript.Append("oWnd.show();")
        sbScript.Append("Sys.Application.remove_load(f);")
        sbScript.Append("}")
        sbScript.Append("Sys.Application.add_load(f);")
        ScriptManager.RegisterStartupScript(Page, Me.GetType(), "key", sbScript.ToString(), True)
Rumen
Telerik team
 answered on 21 Jan 2026
1 answer
48 views

Hi sir

     I use RadAjaxManager in master page  i call the RadAjaxManager in master.js file. in Grid itemdatabound call the function

 

if (gridid.toString().toLowerCase().indexOf("explorergrid") >= 0) {
    $("#ContentPlaceHolder1_ExplorerGridSelectedIndexHidden").val(index);
    var ajaxManager = $find('ctl00_RadAjaxManager1');
    ajaxManager.ajaxRequestWithTarget('ctl00$ContentPlaceHolder1$explorerGridViewLink', '');
}

 

when click the grid i got the error in png 

 

Vasko
Telerik team
 answered on 16 Jan 2026
2 answers
35 views

Hello.
I am using ASP.NET Framework, and in the Telerik.Reporting.Graph section I have a chart that is populated by a stored procedure.
The output of my stored procedure has three columns: DayOfMonth, ProductionType, and Value, and it is structured as follows.

 

DayOfMonthProductionTypeValue
1Staple1244
1SumAll3066.2
1Tow1822.2
2Staple624.9
2SumAll3984.6
2Tow3359.7
3Staple1865.38
3SumAll5126.18
3Tow3260.8

ProductionType has three values: Tow, Staple, and SumAll.

I need SumAll to be displayed as a line chart, and Tow and Staple to be displayed as bar (column) charts within the same chart.
DayOfMonth should be displayed horizontally on the X-axis and represent the days of the month.

No matter how much I tried, I could not limit the ProductionType values in the line chart using the filters in:

  • series < lineSeries1 < GraphGroup < Filters

  • series < SeriesGroup < Filters

so that only ProductionType = SumAll is shown in the line chart.

The only place where I managed to apply this filter was in:

  • Data < SeriesGroup < Filters

but that filters the entire dataset, causing the bar chart to be filtered as well.

Please help me with this issue.
A sample of my code is attached.

Thank you.

Mohamad Javad
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 06 Jan 2026
1 answer
154 views

Scenario

  • The page has a left navigation panel that can be collapsed / expanded

  • On toggle, the main content container width is changed using CSS only (no page refresh)

  • On initial page load or full refresh, the grid renders correctly

  • On toggle of grid button in the expand mode only, the grid suddenly shows a horizontal scrollbar

Observed Behaviour

  • This happens only after clicking toggle ( external button written in C# code)

  • Rebinding the grid (Rebind()) or calling repaint() does not fix the issue

  • A full page refresh always fixes it. 

 

 

How can i prevent the scoll from appearing when the grid has lesser columns. the scrolls appears from _Frozen.

 

Css used for toggle small -> condensed , and condensed -> small 

.small .RadGrid .rgRow td,
.small .RadGrid .rgAltRow td,
.small .RadGrid .rgEditRow td,

.small .gridFillLayoutPanel .RadGrid_Metro .rgHeader th,
.small .gridFillLayoutPanel .RadGrid_Metro .rgGroupHeader th,
.small .RadGrid .rgRow > td,
.small .RadGrid .rgAltRow > td,
.small .RadGrid .rgEditRow > td,
.small .RadGrid .rgFilterRow > td {
    padding-left: 8px !important;
    padding-right: 8px !important;
    line-height: 32px !important;
    height: 32px !important;
    font-family: @font-tab-title;
    font-size: 12px;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    text-align: left;
}

 

.condensed .gridFillLayoutPanel .RadGrid_Metro .rgRow td,
.condensed .gridFillLayoutPanel .RadGrid_Metro .rgAltRow td,
.condensed .gridFillLayoutPanel .RadGrid_Metro .rgEditRow td
.condensed .gridFillLayoutPanel .RadGrid_Metro .rgHeader,
.condensed .gridFillLayoutPanel .RadGrid_Metro .rgGroupHeader td,
.condensed .RadGrid .rgRow > td,
.condensed .RadGrid .rgAltRow > td,
.condensed .RadGrid .rgEditRow > td,
.condensed .RadGrid .rgFilterRow > td,
.condensed .RadGrid .rgHeader th, 
.condensed .RadGrid .rgGroupHeader th {
    padding-left: 7px !important;
    padding-right: 7px !important;
    line-height: 24px !important;
    height: 24px !important;
    font-family: @font-tab-title;
    font-size: 11px !important;
    padding-top: 3px !important;
    padding-bottom: 3px !important;
    text-align: left;
}

 

Best Regards,

Sunil Shanakr S R

 

Vasko
Telerik team
 answered on 25 Dec 2025
1 answer
100 views

I downloaded the trial version of DevCraft and am using the license key in my .NET application. Tried adding the license both ways -

- NuGet Telerik license

- Copy the script to .cs file

But I see the same error on running the application.

Could not load file or assembly 'Telerik.Licensing.Runtime, Version=1.6.31.0, Culture=neutral, PublicKeyToken=98bb5b04e55c09ef' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Rumen
Telerik team
 answered on 16 Dec 2025
1 answer
45 views

RadWindow is a great control and it's very usefull.

The issues start when the UI inside gets more complex, and requires javascript to deal with interactions on client side instead of server side.

The RadWindow control is placed inside a parent element but when it opens, all the contents get relocated into the DOM root causing a problem with event listeners, element finding among other headaches.

Testing with your Telerik Web UI Window Content Template Demo | Telerik UI for ASP.NET AJAX demo, moving the generated window element "RadWindowWrapper_ctl00_ContentPlaceholder1_UserListDialog" inside its original element  "demo-container", kept the demo working perfectly with no side effects.

So, the question is, why are you moving the contents of a RadWindow to the DOM root causing so many problems for those who need to create complex UIs inside the window? Can't you at least let the developer decide that with a parameter? 

Is there any way to avoid this behaviour, maybe using javascript?

Thank you.

 

Rumen
Telerik team
 answered on 11 Dec 2025
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?