Hi,
When I looked into this demo,
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/manual-crud-operations/defaultcs.aspx
I found if I input a long enough product name such as
')aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
The text will be split into two lines in the text box.
The first line only has a single character ( , and other characters are placed in the second line.
Please see the attached screen shot.
What I expect is that the produce name should be in a single line.
This error only reproduce in IE but not in Chrome.
Thanks.
Best regards
Zhang Rui
Hi!
I do somes verification on the codeBehind on the event "RadWizard_ActiveStepChanged(object sender, EventArgs e)".
I need to show or not the finishbutton on c#. How i can do?
thanks
I have a ASP.Net page with a RadGrid that has a Master and Detail Table views. The code-behind is VB.Net.
This is the first time I used the RadGrid with the Master and Detail Table views.
I am using the NeedDataSource event to bind data to the RadGrid.
Once I got it to work, I am finding that the first parent item on the first page is always being expanded. I would like to configure the RadGrid so none of the parent items are being expanded. How do I do that?
Please help!
Sincerely,
Keith Jackson
Hello Everyone,
My requirement below :
When user selects multiple checkbox it will appear in Combo Box itself. When we select options in Radcombobox and close the drop down and open it again, the selected items should be on top position in display order (Change position) and once it is deselected, it should set at same position as it was earlier. The requirement behind this is when there is long drop down, user does not have to scroll till bottom, they can see what he has selected once they open the drop down.
Thank you for your help.
I have a RadCombox box on an aspx page. when the combobox is first on the page it shows the items in it correctly but when i put a div above it the items in the dropdown open somewhere etc please see the screen shot of the error could you please suggest.
Thanks,
Akaash.
Hi,
Will appreciate some help please.
I have started using the pivotgrid and need to implement custom range such as
0-100
101-200
201-300
301-400 and so forth.
How do I do that?
Thanks
Hello,
I have a page that has a radEditor control on it. I was trying to copy and paste an imige into the editor or to drag and drop the image into the editor. It works just fine when using FireFox v45.4.0 but will not work at all when using Cgrome v54.0.2840.99
Can anyone explain why this functionality will not work while using Chrome?
Is there any work around?
Thanks,
Gary
I have an array of paths separated by a delimiter:
Dim
paths =
New
List(Of
String
)() From {
"C:\WINDOWS\AppPatch\MUI\040C"
,
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"
,
"C:\WINDOWS\Microsoft.NET\Framework\addins\MUI"
,
"C:\WINDOWS\addins"
,
"C:\WINDOWS\AppPatch"
,
"C:\WINDOWS\AppPatch\MUI"
,
"C:\WINDOWS\Microsoft.NET\Framework\MUI\MUI\0409"
}
And I want to create a RadTreeView that will look something like this:
+C:
+Windows
+AppPatch
+addins
+Microsoft.NET
+Framework
...
This is what I have managed to do until now but there's something I'm missing:
Protected
Sub
Page_Load(
ByVal
sender
As
Object
,
ByVal
e
As
System.EventArgs)
Handles
Me
.Load
Dim
paths =
New
List(Of
String
)() From {
"C:\WINDOWS\AppPatch\MUI\040C"
,
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"
,
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MUI"
,
"C:\WINDOWS\addins"
,
"C:\WINDOWS\AppPatch"
,
"C:\WINDOWS\AppPatch\MUI"
,
"C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\MUI\0409"
}
If
Not
Page.IsPostBack
Then
Dim
subPathAgg
As
String
Dim
pathSeparator
As
String
=
"\"
' For each complete individual path
For
Each
path
As
String
In
paths
subPathAgg =
String
.Empty
' Fill array of strings with each delimited part
Dim
arrFolders
As
List(Of
String
) = (path).Split(pathSeparator).ToList
Dim
lastNode
As
RadTreeNode =
Nothing
Dim
iCount
As
Integer
= 0
'For each one of the folders
For
Each
folder
As
String
In
path.Split(pathSeparator)
subPathAgg += folder & pathSeparator
Dim
foundNode
As
RadTreeNode = RadTreeView1.Nodes.FindNodeByValue(subPathAgg,
True
)
If
foundNode
Is
Nothing
Then
If
lastNode
Is
Nothing
Then
lastNode =
New
RadTreeNode(folder, subPathAgg)
RadTreeView1.Nodes.Add(lastNode)
Else
Dim
otherNode =
New
RadTreeNode(folder, subPathAgg)
lastNode.Nodes.Add(otherNode)
lastNode = otherNode
End
If
Else
If
foundNode.Text <> folder
Then
Dim
otherNode =
New
RadTreeNode(folder, subPathAgg)
foundNode.Nodes.Add(otherNode)
lastNode = otherNode
End
If
End
If
Next
lastNode =
Nothing
Next
End
If
End
Sub
This is how the RadTreeView looks like right now:
We have a problem with RadScheduler when an appointment is dragged.
The attached RadScheduler1.jpg shows our screen before a drag/drop is done. The appointment to be moved is highlighted in red.
The intention is that we drag this appointment over to 12 December.
RadScheduler2.jpg shows what happens while the drag is in progress. The mouse NSEW cursor is actually located over the 12 December cell, yet the appointment position is way out of step with the mouse position and appears on 29 November. In fact, most dragging seems to want to put the appointment on the top row. If we scroll up a bit and move the mouse down, the dragged appointment can go to the next row, but the mouse cursor is off the bottom of the scheduler cells, although it is still within the scheduler.
Upon dropping, the appointment drops where the mouse is, so it appears that it is out of place during the drag. When it has dropped, it looses its background colour (which we set in OnAppointmentDataBound) and appears grey.
This is some of our code:
protected void radScheduler_OnAppointmentDataBound(object sender, SchedulerEventArgs e) {
CustomEvent customEvent = (CustomEvent)e.Appointment.DataItem;
e.Appointment.BackColor = System.Drawing.Color.FromArgb( Convert.ToInt32("0x" + customEvent.Colour, 16));
e.Appointment.ToolTip = customEvent.Description.Replace("<br/>", "\n");
}
protected void radScheduler_OnAppointmentUpdate(object sender, AppointmentUpdateEventArgs e) {
var modifiedAppointment = e.ModifiedAppointment;
DiaryEvent diaryEvent = omDb.FindDiaryEvent(Convert.ToInt32(modifiedAppointment.ID));
if (diaryEvent == null) {
SetRecordError("DiaryEvent", Convert.ToInt32(modifiedAppointment.ID));
e.Cancel = true;
} else {
// Check for conflicts with the new date
bool bGotConflicts = false;
...........
if(!bGotConflicts) {
// No conflicts or not checking for conflicts, so update the appointment
diaryEvent.StartDateTime = modifiedAppointment.Start;
diaryEvent.EndDateTime = modifiedAppointment.End;
omDb.InsertOrUpdateDiaryEvent(diaryEvent);
radScheduler.Rebind();
}
}
}
Note that we Rebind() after updating the database. This is not causing radScheduler_OnAppointmentDataBound to be called, so this probably explains why the colour is being lost.
The above is the month view.
The week view also seems to be full of bugs - RadScheduler3.jpg shows the 'before' with the event to be dragged marked. We drag the event across to Tue, 13 and nothing happens - the appointment does even get 'picked up' !
These issues occur in both Edge and Chrome. We are using Telerik 2016.2.607.40.
Our RadScheduler is defined as follows:
<telerik:RadScheduler ID="radScheduler" runat="server" RenderMode="Lightweight"
Height="800"
OnAppointmentUpdate="radScheduler_OnAppointmentUpdate"
OnAppointmentDataBound="radScheduler_OnAppointmentDataBound"
OnAppointmentContextMenuItemClicked="radScheduler_OnAppointmentContextMenuItemClicked"
OnClientAppointmentContextMenuItemClicked="ShowProgress"
OnNavigationComplete="radScheduler_OnNavigationComplete"
OnClientAppointmentDoubleClick="OnClientAppointmentDoubleClick"
OnClientAppointmentEditing="OnClientAppointmentEditing"
RowHeight="40px"
OverflowBehavior="Auto"
SelectedView="WeekView"
ShowFooter="false"
DayStartTime="00:00:00" DayEndTime="23:59:59"
FirstDayOfWeek="Sunday"
LastDayOfWeek="Saturday"
EnableDescriptionField="true"
AppointmentStyleMode="Default"
DataKeyField="Id"
DataStartField="Start"
DataEndField="End"
DataSubjectField="Title"
DataDescriptionField="Description"
AllowInsert="false"
AllowDelete="false"
DayView-SlotWidth="70" DayView-HeaderDateFormat="ddd dd MMM yyyy"
WeekView-SlotWidth="150" WeekView-HeaderDateFormat="ddd dd/M yyyy"
MonthView-SlotWidth="200" MonthView-HeaderDateFormat="ddd dd MMM yyyy" MonthView-AdaptiveRowHeight="true"
YearView-SlotWidth="250" YearView-HeaderDateFormat="MMM yyyy">
<DayView UserSelectable="true" />
<MultiDayView UserSelectable="true" />
<WeekView UserSelectable="true" />
<MonthView UserSelectable="true" />
<YearView UserSelectable="true" />
<TimelineView UserSelectable="false" />
<TimeSlotContextMenuSettings EnableDefault="true" />
<AppointmentContextMenuSettings EnableDefault="true" />
<AppointmentTemplate>
<div><%#Eval("Subject") %></div>
<div><%#Eval("Description") %></div>
</AppointmentTemplate>
<AppointmentContextMenus>
<%--The appointment context menu interaction is handled on the client in this example--%>
<%--See the JavaScript code above--%>
<telerik:RadSchedulerContextMenu runat="server" ID="SchedulerAppointmentContextMenu">
<Items>
<telerik:RadMenuItem Text="Edit" Value="EditSchedule"></telerik:RadMenuItem>
<telerik:RadMenuItem IsSeparator="True"></telerik:RadMenuItem>
<telerik:RadMenuItem Text="Resources" Value="CourseResources"></telerik:RadMenuItem>
<telerik:RadMenuItem Text="Course Info" Value="CourseInfo"></telerik:RadMenuItem>
<telerik:RadMenuItem Text="Course Instructors" Value="PanelInstructors"></telerik:RadMenuItem>
<telerik:RadMenuItem Text="Course Trainees" Value="PanelTrainees"></telerik:RadMenuItem>
<telerik:RadMenuItem Text="Support Material" Value="SupportMaterial"></telerik:RadMenuItem>
<telerik:RadMenuItem Text="Course News" Value="CourseNews"></telerik:RadMenuItem>
<telerik:RadMenuItem Text="Trainee Progress" Value="ViewProgress"></telerik:RadMenuItem>
<telerik:RadMenuItem IsSeparator="True"></telerik:RadMenuItem>
<telerik:RadMenuItem Text="Duplicate" Value="DuplicateSchedule"></telerik:RadMenuItem>
</Items>
</telerik:RadSchedulerContextMenu>
</AppointmentContextMenus>
</telerik:RadScheduler>
Can someone please advise what might be causing this ?
There seems to be a serious bug with the mouse and dragged cell being completely out of step with each other. Coupled with appointments not even getting picked up by drag, and other appointments which won't seem to drag where we want them, this makes RadScheduler a rather buggy showstopper for delivering to our client. We don't appear to have any control over the functionality which is failing.
Additional suggested improvements:
- Display rotator wheel when changing between views
- Display rotator wheel when appointment is dropped (to cover scenario of back-end server processing delay)
- Allow HTML is tooltips and/or make it properly template-driven
Graham Plowman