Telerik Forums
UI for ASP.NET AJAX Forum
34 answers
3.4K+ views

This sticky thread lists known issues and breaking changes introduced in the UI for ASP.NET AJAX releases.


Q3 2011 (Version number: 2011.3.1115)

Problem: When adding items to OData enabled controls (RadMenu, RadTreeView, RadListBox, RadComboBox) through design time erroneous markup is applied to the control:

<telerik:RadListBox runat="server" ID="RadListBox1">
        <Items>
        </Items>
        <WebServiceSettings>
            <ODataSettings InitialContainerName="">
            </ODataSettings>
        </WebServiceSettings>
    </telerik:RadListBox>

Please note the added ODataSettings section. It will cause JavaScript errors on the page.

Solution: Remove the ODataSetting section and the issue will vanish. The problem is also fixed in the Q3 SP1 release, version number 2011.3.1305
Peter Milchev
Telerik team
 updated question on 17 Nov 2021
1 answer
49 views

When I run my project I'm getting this error

Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

In my web.config I checked that the version in the web.config is the same as the version I'm using in references

<assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" culture="neutral" />
        <bindingRedirect oldVersion="0.0.0.0-2020.2.617.45" newVersion="2020.2.617.45" />

 

Vessy
Telerik team
 answered on 22 Oct 2021
1 answer
3 views

My Radgrid is in EditMode="Batch" . When I click on the AddNewRecord I need to create a record in the DB. The ItemCommand event does not fire. 

 

Is there a way to get it to fire.

I did see this? https://stackoverflow.com/questions/31816599/overriding-the-telerik-radgrid-addnewrecordbutton-functionality-to-redirect-the 

Is there a better way to do it so the batch mode stays intact? 

Attila Antal
Telerik team
 answered on 19 Jan 2022
0 answers
2 views

I'm getting this error whenever I click a button on the page.

This only happens when you're running the aspx page through a windows forms application that has a browser control.
If I load this page directly from any normal browser it works fine.

Page is running:

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" type="text/javascript"></script>
    <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js" type="text/javascript"></script>
    <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js" type="text/javascript"></script>

 

Any suggestions?

Ian
Top achievements
Rank 1
 asked on 19 Jan 2022
0 answers
3 views

Hi

Is there a way UI can be rendered asynchronously (ASP.NET ajax way) Lets say i get data like 10MB or more and the getting data part is async. However I can see that the blazor page freezes as it needs to bind the data to grid/list. Is there way to do this just like background thread concept in Winforms? Or asp.net ajax way?

BettyRejoy
Top achievements
Rank 1
 asked on 18 Jan 2022
0 answers
2 views

Hi,

When using RadTab - RadMultiPage - RadPageView the content url for the page view loads twice on the initial load.

What am I doing wrong?

 

Thanks

 

Scott
Top achievements
Rank 1
 asked on 17 Jan 2022
0 answers
2 views

Hello!

I am trying to configure my updatecommand for a RadGrid dropdownlist edit entry. I have attached the code for the dropdownlist and my current update command below 

DropDownList

if (e.Item is GridEditableItem && e.Item.IsInEditMode && !(e.Item is GridEditFormInsertItem))
        {
            SqlConnection connection = new SqlConnection(ConfigurationManager.ConnectionStrings["DBConnectionString"].ConnectionString);
            SqlDataAdapter da = new SqlDataAdapter("SELECT * FROM [ExampleDB].[dbo].[Status]", connection);
            DataSet ds = new DataSet();
            da.Fill(ds);

            GridEditableItem edit = (GridEditableItem)e.Item;
            TextBox txt = (TextBox)edit["Status"].Controls[0];
            txt.Visible = false;
            DropDownList droplist = new DropDownList();
            droplist.DataSource = ds;
            droplist.DataTextField = "Name";
            droplist.DataValueField = "ID";
            droplist.DataBind();
            edit["OrderStatus"].Controls.Add(droplist);
        }

 

Update Command

protected void RadGrid1_UpdateCommand(object sender, GridCommandEventArgs e)
    {
        GridEditableItem editableItem = ((GridEditableItem)e.Item);
        Hashtable values = new Hashtable();
        editableItem.ExtractValues(values);
        string query = "UPDATE [MSIMM].[dbo].[Order] SET OrderStatusID=@OrderStatusID";
        DataAccess(Command: RadGrid.UpdateCommandName, Query: query, OrderStatusID: values["ID"].ToString());

    }
IT
Top achievements
Rank 1
 asked on 17 Jan 2022
0 answers
6 views

We have migrated to Telerik.Web.UI from Telerik.WebControls ,Telerik Version - 2021.3.914.45,.Net-4.8

Tried with get_allNodes() instead of AllNodes but no luck.

 function getNodes() {
				
				return this.getTree().AllNodes;                          //AllNodes is not returning Array

            }
 return {
                getTree: function() {
                    if (!this.elements["tree"]) { this.elements["tree"] = window[this.element.getAttribute("tree")]; }
                    return this.elements["tree"];
                },
                getHiddenFieldEl: function() {
                    if (!this.elements["hidden"]) { this.elements["hidden"] = $(this.element.getAttribute("hf")); }
                    return this.elements["hidden"];
                },
                toString: function() { return "Simple Tree"; },
                init: function() {
                    this.hasCheckBoxes = (this.element.getAttribute("checkmode") === "true");

                    Test.Controls.attachSubmitEvent(onSubmit, this, true);
                },
validate: function(source, args) {
                    var isValid = false;
                   var allNodes = getNodes.call(this);                                     //allNodes as Undefined
                    for(var i = 0, len = allNodes.length; i < len; i++) { 
					
                        var node = allNodes[i];
                        if(!node.Checked) { continue; }
                        
                        isValid = true;
                        break;
                    }
                    
                    args.IsValid = isValid;
                }

Can anyone please help to resolve this issue? what should be changed in the above code after migration?

 

Sachita
Top achievements
Rank 1
Iron
Iron
Iron
 updated question on 17 Jan 2022
0 answers
5 views

Hi, when I provide an XML file through web service to the scheduler and the dayview is displayed, the UTC times appear to be displayed in the server/local browser time zone. For example if the <Start>2022-01-14 07:00</Start> tag is provided, it is shown in  the browser view at 1:1:00 (which corresponds to the server time and my time zone).

I have set the timezoneoffset for the scheduler to be -1:00:00 so what should be shown in the dayview should be 08:00,

There is no documentation that suggests that the dayview is using a different mechanism for showing the times so what is happening here and how to correct it?

Matt Smith
Top achievements
Rank 1
 asked on 14 Jan 2022
1 answer
11 views
Is there a way to print a radgrid across multiple sheets when it has horizontal scrolling, i.e. has more columns than can be rendered on the screen at one time or on a single page when rendered to print even in landscape mode? 
Attila Antal
Telerik team
 answered on 14 Jan 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Richard
Top achievements
Rank 2
Iron
Iron
Iron
Bernd
Top achievements
Rank 3
Iron
Iron
Iron
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Benedikt
Top achievements
Rank 3
Iron
Iron
Iron
CHIHPEI
Top achievements
Rank 1
Iron
Iron
Iron
Top users last month
Richard
Top achievements
Rank 2
Iron
Iron
Iron
Bernd
Top achievements
Rank 3
Iron
Iron
Iron
Matthias
Top achievements
Rank 5
Bronze
Bronze
Iron
Benedikt
Top achievements
Rank 3
Iron
Iron
Iron
CHIHPEI
Top achievements
Rank 1
Iron
Iron
Iron