<telerik:RadGrid ID="TenantGrid" runat="server" AutoGenerateDeleteColumn="True"
AutoGenerateEditColumn="True" CellSpacing="0" DataSourceID="LinqDataSource2"
GridLines="None">
<ClientSettings>
<Selecting CellSelectionMode="None" />
</ClientSettings>
<MasterTableView AutoGenerateColumns="False" DataKeyNames="ID"
DataSourceID="LinqDataSource2">
<CommandItemSettings ExportToPdfText="Export to PDF" />
<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column"
Visible="True">
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column"
Visible="True">
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField="Name"
FilterControlAltText="Filter Name column" HeaderText="Name"
SortExpression="Name" UniqueName="Name">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Location"
FilterControlAltText="Filter Location column" HeaderText="Location"
SortExpression="Location" UniqueName="Location">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Phone"
FilterControlAltText="Filter Phone column" HeaderText="Phone"
SortExpression="Phone" UniqueName="Phone">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Email"
FilterControlAltText="Filter Email column" HeaderText="Email"
SortExpression="Email" UniqueName="Email">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField="Contact"
FilterControlAltText="Filter Contact column" HeaderText="Contact"
SortExpression="Contact" UniqueName="Contact">
</telerik:GridBoundColumn>
<telerik:GridCheckBoxColumn DataField="Active" DataType="System.Boolean"
FilterControlAltText="Filter Active column" HeaderText="Active"
SortExpression="Active" UniqueName="Active">
</telerik:GridCheckBoxColumn>
<telerik:GridBoundColumn DataField="ID" DataType="System.Int32"
FilterControlAltText="Filter ID column" HeaderText="ID" ReadOnly="True"
SortExpression="ID" UniqueName="ID">
</telerik:GridBoundColumn>
</Columns>
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column">
</EditColumn>
</EditFormSettings>
</MasterTableView>
<FilterMenu EnableImageSprites="False">
</FilterMenu>
</telerik:RadGrid>
<asp:LinqDataSource ID="LinqDataSource2" runat="server"
ContextTypeName="FrontDesk.FrontDeskDataContext" EnableDelete="True"
EnableInsert="True" EnableUpdate="True" EntityTypeName="" TableName="Tenants">
</asp:LinqDataSource>
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
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
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.
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.
VS2022 /Framework 4.7.2 / Vb.net / WebSite / Telerik 2022.1.119.45
Context :
Page1 contains :
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
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?
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
;
}
}