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

Hi there,

I couldn't find any answer in the forum regarding my issue to I decided to ask for help. I have some custom html with css class and I simply use the return key to add new text, the whole ul list is deleted( see attached file).

To use it select HTML mode as the file is in HTML. Then change to text mode to be able to edit it. Put the curser at the end of the last bullet of the list then enter. The whole UL will be deleted.

Does anybody knows why this is happening?

Thank you,

Gilles

Rumen
Telerik team
 answered on 03 May 2022
1 answer
118 views

Hi all,

I display in a bar chart really small value in milli Bar.

Since these valeus are smaller than zero, but not negative .. the bar are displayed from the top ... ??

How to changed that ? (to start from the bottom).

If i reverse the YAxis, is not correct since the smallest value is represented by a bigger bar ?


Regards,

Didier

Didier
Top achievements
Rank 2
Iron
Iron
 answered on 28 Apr 2022
1 answer
187 views

Hi guys,

We are using the Telerik RadFileExplorer tool in our UI and we are getting a consistent bug where every-other sub-folder that gets created generates the following error:

System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.Web.UI.RadFileExplorer.CreateFolder(String currNodeValue, String newDirName)
   at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
   at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

For example: I create a parent folder with no issues, I then create a child folder and error gets generated, I then create a grandchild folder successfully, I then create a great-grandchild folder and error gets generated, and so on.

There are a few weird things about this: A) the folders are still getting created even when error is thrown (which makes me think it could be a postback event where the error occurs), B) we use different testing environments, and when testing on the smaller-scale environments including localhost this issue is non-reproducible. However, using the same workflow in our larger-scale test environments, as well as in production, this error is reproducible.

Telerik version 2021.2.511.45, .NET version 4.8, Application reads and writes to a network drive.

I'm hoping to get some help with this as there isn't a lot of documentation on the internet for this specific tool, and I only found one article where this same issue was occurring, but the solution of removing some Telerik RFE code in the page load event handler wasn't applicable as we don't use that specific line of Telerik code.

Thanks so much for any help with this issue.

3 answers
277 views

We're using RadScheduler for scheduling, which allows users to move around scheduled services. However, occasionally, we receive this error. 

 

System.ArgumentOutOfRangeException: Insertion index was out of range. Must be non-negative and less than or equal to size.  Parameter name: index     

       at System.Web.UI.StateManagedCollection.System.Collections.IList.set_Item(Int32 index, Object value)     
       at Telerik.Web.StronglyTypedStateManagedCollection`1.set_Item(Int32 index, ItemType value)     
       at Telerik.Web.UI.RadScheduler.Telerik.Web.UI.IScheduler.HandleMove(Appointment appointmentToMove, DateTime start, DateTime end, Boolean editSeries, ResourceUpdateInfo resourceUpdateInfo)     
       at Telerik.Web.UI.Scheduler.Views.Week.GroupedByResource.Model.HandleMove(Appointment appointment, ISchedulerTimeSlot sourceSlot, ISchedulerTimeSlot targetSlot, Boolean editSeries)     

       at Telerik.Web.UI.Scheduler.Views.SchedulerModel.ProcessPostBackCommand(SchedulerPostBackEvent postBack)     

       at Telerik.Web.UI.RadScheduler.ProcessPostBackCommand(SchedulerPostBackEvent postBack)     

       at Telerik.Web.UI.RadScheduler.RaisePostBackEvent(String eventArgument)     

       at Telerik.Web.UI.RadScheduler.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)     

       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)     

       at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)     

       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

It's been going on for years, and we don't have a clue how it happens. We have not been able to replicate it. I'm wondering if somebody could give us a clue how it might happen from the error message. 

Thank you. 

 

Matt
Top achievements
Rank 1
Iron
 answered on 27 Apr 2022
1 answer
218 views

VS2022 /Framework 4.7.2 / Vb.net / WebSite / Telerik 2022.1.119.45

Context :

Page1 contains :

  • RadAjaxLoadingPanel Modal (Id=RALP)
  • RadAjaxPanel (Id= RAP1 associate to RALP)
  • 1 button to go Page2
  • 1 button to call a job (and after job, reload page with new elements)
  • and other things...

    Page2 contains :
  • forms and elements for a reunion.
  • return button to page1
  • valid button to update writting during reunion in database before run job. (Set session to say to refresh data to page1)

Page1, if i click on different buttons (including button for call job) and elements, is good i've got RadAjaxLoadingPanel 
Page2 to page1 by return button : Good
Page2 to page1 by valid button :  i've got problem with RadAjaxLoadingPanel :

simulate click button (see code), RadAjaxLoadingPanel not showing (user can click), after treatment content was refreshed. all elements clicked in page not display  RadAjaxLoadingPanel 

no javascript error in Chrome.

Code Behind :

Page1 :

Private Sub Planning_Load(sender As Object, e As EventArgs) Handles Me.Load
    If IsPostBack = False Then
            If Session("Planning_RunJob") = 1 Then
                PrepareRunJob()
            End If
       '... other treatement
   End If
End Sub


Private Sub PrepareRunJob()

	Session.Remove("Planning_RunJob")
	Dim btRefresh as string = btJobOperation.UniqueID
	
	'Simulate click button for run run after page load, for user to inform is in update
	
	
	Dim sc As String = $"setInterval(__doPostBack('{btRefresh}',''), 10000);"
    ClientScript.RegisterStartupScript(Page.GetType, "refresh", $"{sc}", True)

End Sub

Private sub Runjob()

  'Simulate job
  Threading.Thread.Sleep(10000)
  litE4.Text = "REFRESHED !"

End Sub

Private Sub btJobOperation_Click(sender As Object, e As EventArgs) Handles btJobOperation.Click
        RunJob()
End Sub
Thanks for your help !
Attila Antal
Telerik team
 answered on 26 Apr 2022
1 answer
140 views

I'm trying to divide a content area into 4 equal quadrants.  so I have it setup like this:

<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="Server">
    <telerik:RadSplitter RenderMode="Lightweight" ID="rsMain" runat="server" Height="100%" Width="100%" BorderStyle="None" BorderSize="1" CssClass="Center">
        <telerik:RadPane ID="Radpane10" runat="server" Scrolling="none" RenderMode="Lightweight">
            <telerik:RadSplitter RenderMode="Lightweight" ID="Radsplitter6" runat="server" Orientation="Horizontal">
                <telerik:RadPane ID="Radpane11" runat="server" Height="50%" RenderMode="Lightweight">
                    <telerik:RadSplitter RenderMode="Lightweight" ID="Radsplitter2" runat="server">
                        <telerik:RadPane ID="Radpane3" runat="server" CssClass="Round" Width="50%" Height="50%"  BackColor="Red">
                            Map
                        </telerik:RadPane>
                        <telerik:RadPane ID="Radpane4" runat="server" CssClass="Round" Width="50%" Height="50%">
                            Pie Chart
                        </telerik:RadPane>
                    </telerik:RadSplitter>
                </telerik:RadPane>
                <telerik:RadPane ID="Radpane5" runat="server" Height="50%" RenderMode="Lightweight">
                    <telerik:RadSplitter RenderMode="Lightweight" ID="Radsplitter1" runat="server">
                        <telerik:RadPane ID="Radpane1" runat="server" CssClass="Round" Width="50%" Height="50%">
                            Line Chart
                        </telerik:RadPane>
                        <telerik:RadPane ID="Radpane2" runat="server" CssClass="Round" Width="50%" Height="50%" BackColor="Green">
                            Grid
                        </telerik:RadPane>
                    </telerik:RadSplitter>
                </telerik:RadPane>
            </telerik:RadSplitter>
        </telerik:RadPane>
    </telerik:RadSplitter>
</asp:Content>

When it 1st comes up it looks like this:

 

After I resize the browser it looks like this which is what I was going for:

Thoughts or suggestions on how to have it look like the second screen shot all the time?

Vessy
Telerik team
 answered on 25 Apr 2022
1 answer
144 views
Why would you include a FindNodeByText function, but not include a FindNodeByID function?  You allow an ID to be assigned to a NavigationNode...logic dictates you should be able to find it by the ID.
Peter Milchev
Telerik team
 answered on 25 Apr 2022
2 answers
363 views

I jump to RadPageView11 successfully. When I click Tab Button linked to RadPageViewMenu0 again, and then jump to RadPageView11 is still successful. But now the Tab Button linked to RadPageViewMenu0's status is clicked. I cannot click the button again. Does somebody know how to solve this problem?

for (int index = 0; index < RadTabStripMenu.Tabs.Count ; index++)
{
    if (RadTabStripMenu.Tabs[index].Text == "Admission Note")
    { 
        RadMultiPageMenu.SelectedIndex = 11;
        RadPageViewMenu11.Selected = true;
        RadPageViewMenu0.Selected = false;
 
        Page11Submit();
        break;
    }
}

 

Carlos
Top achievements
Rank 1
Iron
 answered on 25 Apr 2022
1 answer
181 views

In my maps ItemDataBound event I'm building the markers tooltip.  The tooltip has an image in it that also acts as a hyperlink.  So this works:

Dim TOOLTIP_TEMPLATE As String = "<a href=""Reports.aspx"" target=""_self""><img src=""Images/inventory.png"" /></a>"

This does not:

Dim TOOLTIP_TEMPLATE As String = "<asp:HyperLink runat=""server"" ImageUrl=""Images/inventory.png"" NavigateUrl=""~/Reports.aspx"" ToolTip=""To Inventory""></asp:HyperLink>"
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 22 Apr 2022
1 answer
90 views
Pretty much the title. Trying to decide whether or not to stick with Telerik or move to the new AJAX Control Toolkit.
Rumen
Telerik team
 answered on 18 Apr 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?