Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
255 views
Hi!
I use a RadScheduler in a project but I have a problem on delete appointments.
This is my aspx:

<telerik:RadScheduler ID="RadScheduler1" runat="server" SelectedView="MonthView" FirstDayOfWeek="Monday" LastDayOfWeek="Sunday"
       Width ="100%" Height="100%" Skin="Web20" DayStartTime="00:00:00" DayEndTime="00:00:00" AllowInsert="true" AllowEdit="false"
        DataKeyField="ID" DataStartField="Start" DataEndField="End" DataSubjectField="Subject" onappointmentinsert="schedular_AppointmentInsert" onappointmentdelete ="schedular_AppointmentDelete" DisplayDeleteConfirmation="false">

and this is my code behind:

protected void schedular_AppointmentDelete(object sender, SchedulerCancelEventArgs e)
        {
        }

When I hit delete button on an appointment, the page refresh and nothing else; the method schedular_AppointmentDelete doesn't fire and so I can't do nothing inside it.
Instead, when I use the insert appointment it works perfectly and I reach my goal.

Here is the code for the insert, that, as I say previously, works:

protected void schedular_AppointmentInsert(object sender, AppointmentInsertEventArgs e)
       {
          
       }

It works also with SchedulerCancelEventArgs.

I' ve tried to change into:

protected void schedular_AppointmentDelete(object sender, AppointmentDeleteEventArgs e)        {                  }

but nothing appens.
Any help would be appreciate.

Thanks in advance.
Bozhidar
Telerik team
 answered on 10 Dec 2014
1 answer
154 views
Radbutton is not displaying properly after clicking. Recently Telerik released an update. After updating locally we're facing this issue. Please find the screen shot in the attachment. Before clicking the button looks fine. It is named as first.png in the attachment. And after clicking the button, we're facing the problem.It is named as second.png in the attachment. Please reply ASAP. It's an production issue.
Danail Vasilev
Telerik team
 answered on 10 Dec 2014
1 answer
96 views
Hello,

I am using your 2014 q3 release for asp.net ajax and on my Rad editot a color picker tool is availabe but there are a lot of EXTRA color available in it which i do not require . How can i limitize these color for example i only want to show White black red green Yellow and Blue colors.

How can i do it?

is there any other way so that only limited color option is given to user. 
Ianko
Telerik team
 answered on 10 Dec 2014
10 answers
1.0K+ views
Howdy!

In the course of developing the validation for user input in the website I am working on, I believe I have found a bug in the behavior of RadTextBoxes.  My website's design calls for the user to be notified of invalid inputs by changing the color of the RadTextBox to red when the input is invalid.  When the user corrects the input, the RadTextBox is supposed to turn white.  However, after the second validation, the RadTextBox seems to retain a memory of the previous color and change to that color when the user mouses over the RadTextBox, despite no mouse-over behavior being defined.

For example, let us say that the RadTextBox is first loaded onto the page with white BackColor and no text.  The user then enters some valid text, so the color stays white.  If the user enters invalid text, the RadTextBox turns red (like it is supposed to).  However, when the user mouses over the red RadTextBox, it turns white. 

Now let us say that the RadTextBox is first loaded onto the page with white BackColor and some default text.  The user then enters invalid text and the RadTextBox turns red (like it is supposed to).  If the user then changes the text to something valid, the RadTextBox turns white, but when the user mouses over it, it turns red. 

By playing around with how many valid inputs/invalid inputs are entered, it is possible to get the mouse over color to flash either the valid or invalid color.  Note that this behavior DOES NOT occur with regular TextBoxes

I have included some sample HTML and C# below that demonstrates the issue.  I would greatly appreciate some assistance in getting my RadTextBoxes to stay the proper color.

Thanks!

-----------------------------------------------------------------------------------------------------------------------------------------------------
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RadTextboxExample.aspx.cs"
    Inherits="RadTextboxExample" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <asp:Label ID="Label1" runat="server" Text="RadTextBox - Start Empty"></asp:Label>
        <telerik:RadTextBox ID="RadTextBox1" runat="server" AutoPostBack="True" CausesValidation="True"
            OnTextChanged="RadTextBox1_TextChanged">
        </telerik:RadTextBox>
        <br />
        <br />
        <asp:Label ID="Label2" runat="server" Text="RadTextBox - Start Full"></asp:Label>
        <telerik:RadTextBox ID="RadTextBox2" runat="server" AutoPostBack="True" CausesValidation="True"
            OnTextChanged="RadTextBox2_TextChanged" Text="Default Input">
        </telerik:RadTextBox>
        <br />
        <br />
        <asp:Label ID="Label3" runat="server" Text="TextBox"></asp:Label>
        <asp:TextBox ID="TextBox1" runat="server" AutoPostBack="True" CausesValidation="True"
            OnTextChanged="TextBox1_TextChanged"></asp:TextBox>
    </div>
    </form>
</body>
</html>
-----------------------------------------------------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.Web.UI;

public partial class RadTextboxExample : System.Web.UI.Page {
    protected void Page_Load(object sender, EventArgs e) {

    }

    protected void RadTextBox1_TextChanged(object sender, EventArgs e) {
        if (RadTextBox1.Text == "" || RadTextBox1.Text == null) {
            RadTextBox1.BackColor = System.Drawing.Color.Red;
        } else {
            RadTextBox1.BackColor = System.Drawing.Color.White;
        }
    }

    protected void RadTextBox2_TextChanged(object sender, EventArgs e) {
        if (RadTextBox2.Text == "" || RadTextBox2.Text == null) {
            RadTextBox2.BackColor = System.Drawing.Color.Red;
        } else {
            RadTextBox2.BackColor = System.Drawing.Color.White;
        }
    }

    protected void TextBox1_TextChanged(object sender, EventArgs e) {
        if (TextBox1.Text == "" || TextBox1.Text == null) {
            TextBox1.BackColor = System.Drawing.Color.Red;
        } else {
            TextBox1.BackColor = System.Drawing.Color.White;
        }
    }
}
-----------------------------------------------------------------------------------------------------------------------------------------------------
Vasil
Telerik team
 answered on 10 Dec 2014
5 answers
185 views
Hello, I am attempting to automate file upload using a third party site. The site is using AsyncUpload. I am able to manually click on the Telerik control to activate the Dialog. But unable to activate the Dialog using VB.Net and the WebBrowser control (See screen shot attachment).

Thank you very much for help!

3rd Party HTML Section:
<tr align="top"> 
    <td nowrap="nowrap" align="right"><font color="#ff0000">*</font> File:</td> 
    <td> 
    <div id="ctl00_ContentPlaceHolder1_SendFile" class="RadAsyncUpload RadUpload RadUpload_Default"> 
        <input id="ctl00_ContentPlaceHolder1_SendFile_ClientState" name="ctl00_ContentPlaceHolder1_SendFile_ClientState" type="hidden" /> 
    </div> 
    </td>
</tr>
<tr> 
    <td align="right" colspan="2"><input type="image" name="ctl00$ContentPlaceHolder1$ibSendBatchSubmit" id="ctl00_ContentPlaceHolder1_ibSendBatchSubmit" class="ibBatchSendSubmit" src="images/btn_send.gif" alt="Send Batch" style="border-width:0px;" /></td>
</tr>

vb.net logic:

WebBrowser.Document.GetElementById("ctl00_ContentPlaceHolder1_SendFile_ClientState").InvokeMember(

 

"click")

I also tried using the <div> ID "ctl00_ContentPlaceHolder1_SendFile" class without success

 



Plamen
Telerik team
 answered on 10 Dec 2014
3 answers
62 views
We have a RadMenu that is worked perfectly all pages, except this one page.  On this one page we have a WPF form (i.e. XBAP file) being loaded in a iframe.  On this page, the RadMenu stops working.  I am able to see the parent buttons, but all of the drop down areas no longer appear.

How can the RadMenu co-exist with this WPF component?

Thanks
Scott Manning
Top achievements
Rank 1
 answered on 09 Dec 2014
9 answers
422 views
I just  want to do a caps lock is on tooltip before hitting any key and on key press.
Mehmet
Top achievements
Rank 1
 answered on 09 Dec 2014
3 answers
100 views
Hi,
I am using VS2013 with Q3 2014 controls, setting a textbox label property works fine at runtime but in the designer the width has no effect. Not sure if this is a bug bug?
Maria Ilieva
Telerik team
 answered on 09 Dec 2014
8 answers
103 views
I have a Scheduler bind to a datasource that is linked to a SQL-server.
When I have a schedule with a reminder, I want to save the response to the reminder (Snooze or Dismiss).  When I now Snooze or Dismiss and I close my website and restart the Snooze or Dismiss are gone.

I have set the DataReminderField to my field in the database, I use AppointUpdate and appointsInsert events.  This all works fine.

How can I save the Snooze selection and the Dismiss to the Reminder field in the database?

​
Boyan Dimitrov
Telerik team
 answered on 09 Dec 2014
1 answer
194 views
I am building a datable from Active Directory data and using this as datasource for my grid but I get the error:

"Cannot find any bindable properties in an item from the datasource "

The error is because I am using: dt.Columns.Add(new DataColumn(property, typeof(Object)));

I don't know if this is a bug or not but I can use that same datable as datasource for winforms DataGridView just fine.
Konstantin Dikov
Telerik team
 answered on 09 Dec 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?