protected void Page_Load(object sender, EventArgs e)
{}
public void RadGridLegalEntities_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
List<OM.LegalEntity> entities = new DA.LegalEntity().GetLegalEntities();
RadGridLegalEntities.DataSource = entities;
}
<telerik:RadGrid ID="RadGridLegalEntities" runat="server" AllowSorting="True" AutoGenerateColumns="False" GridLines="None" Skin="Office2007"OnNeedDataSource="RadGridLegalEntities_NeedDataSource" Width=95% Height="465px"
OnInsertCommand="RadGridLegalEntities_InsertCommand"
OnUpdateCommand="RadGridLegalEntities_UpdateCommand"
OnDeleteCommand="RadGridLegalEntities_DeleteCommand"
AllowMultiRowEdit="false" ShowStatusBar="True" >
<
MasterTableView EditMode=InPlace DataKeyNames="LegalEntityID" CurrentResetPageIndexAction="SetPageIndexToFirst" Dir="LTR" Frame="Border" TableLayout="Auto" CommandItemDisplay="Top">
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
</ClientSettings>
| try |
| { |
| if (eventEnd >= eventStart) |
| { |
| UserEventHelper.ArrangeAppraisal(doctor, eventStart, location, label, eventEnd, user.ID); |
| litStatus.Text = string.Empty; |
| } |
| else |
| { |
[Exception: Appointment is invalid: Start time must be before the End time.]
Telerik.Web.UI.Appointment.Validate() +162
Telerik.Web.UI.Scheduling.AppointmentController.InsertAppointmentThroughProvider(Appointment appointment) +17
Telerik.Web.UI.RadScheduler.InsertAppointmentInline() +106
Telerik.Web.UI.RadScheduler.OnBubbleEvent(Object source, EventArgs args) +326
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
System.Web.UI.WebControls.ImageButton.OnCommand(CommandEventArgs e) +111
System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument) +176
System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
Hi,
I'd like to know if there is an option to apply mixed font color in the same event in the scheduler.
For example, if the event states: "Meeting with DR. Monroe"
have "Meeting with" colored in blue and "Dr. Monroe" in red.
Thanks!
Dear Guru's,
New here and I've been trying to implement the radcombobox to replace a lot of my current listboxes. That all seemed to go quite well, but I ran into an issue that I can't seem to solve with either documentation, google or this forum.
Our webapplication is used in multiple large companies and it should work under any browser the client chooses to use. I found out that the vertical alignment of the text in IE is lower than in, for example Google Chrome. I can't seem to figure out how to resolve this.
Please see that attached image for an example. It's the exact same page, left is IE, right is Chrome. I used the "j" because you can clearly see the difference at the bottom.
Thank you for your time!
Best regards,
-Rem

Hi,
I want to be able to open the RadGrid headercontextmenu on left click instead of right. Currently when I left click, it just changes the sorting, but the sorting can already be accomplished in the context menu. This is the same issue as this thread: https://www.telerik.com/forums/how-to-show-the-radgrid-context-menu-on-left-click-instead-of-right-click but that was a while ago and currently when I implement, the context menu flashes but then disappears. Is there anyway to achieve the appropriate functionality? Here is my code that implements it:
<script type="text/javascript"> function OnColumnClick(sender, args){ args.get_gridColumn().showHeaderMenu(args.domEvent); }</script>
… In the RadGrid …
<ClientEvents OnColumnClick="OnColumnClick" />I'm currently updating a chart from asp.net chart to telerik htmlchart.
I have a line series chart and for one of the series I would like to add a +/- range at each marker to replicate an ErrorBar series from traditional .net chart control.
If I set the + and - line series as having Fillstyle.BackgroundColor as transparent (hide the line) and set the MarkersAppearance.BackgroundColor to black, I was hoping that the marker appearance would overwrite the series color and display only the marker. however this is not working as the fillstyle appears to be the master.
Is there any way of showing only the marker or will I have to re-write and go with a scatter and scatterline chart? Is there any equivalent to the ErrorBar type?
Thanks in advance.
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
ValidateRequest="false"

Hi,
I am trying to read the value of the radtext box. It comes out empty.
Anything wrong with this code?
var addr1Text, addr2Text; var Addr1 = $find("<%= txtAddr1.ClientID %>");addr1Text = Addr1.get_value();alert("Addr1Text: " + addr1Text ); <telerik:RadTextBox ID="txtAddr1" runat="server" OnTextChanged="txtAddr1_TextChanged" AutoPostBack="false"> </telerik:RadTextBox>
