Telerik Forums
UI for ASP.NET AJAX Forum
12 answers
400 views
Hi,

I'm trying to fix this error for days now.

I have got a radscheduler control in my web form and of course RadAjaxManager with radAjaxLoadingPanel.

Since i have replaced my Q1 radcontrols with Q2, my nightmare began.
With Q1 controls, when I clicked twice on an appointment, the advanced edit form was shown immediately after Ajax was loaded. With Q2 controls, when I click on an appointment twice, the advanced edit form should appear. It appears, but there is no form...only the buttons to save and to cancel editing are shown. ???

If I disable RadAjaxManager, everything works normal.

Does someone have a clue what is going on?

I am about to conclude my project, and I really don't know what to do with this any more.

Please help.

LP, Luka
Helen
Telerik team
 answered on 18 Jan 2011
3 answers
316 views
Hi,

In my editform (itemDatabound) I am trying to populate a dropdownlist thusly:

if

 

(e.Item is GridEditFormItem && e.Item.IsInEditMode)

 

{

 

GridEditFormItem item = (GridEditFormItem)e.Item;

 

 

GridEditableItem editedItem = e.Item as GridEditableItem;

 

 

GridEditManager editMan = editedItem.EditManager;

 

 

GridDropDownListColumnEditor editor = editMan.GetColumnEditor("NumericGrade") as GridDropDownListColumnEditor;

 

 

DropDownList ddlist = editor.DropDownListControl;

 


here is the error, I'm not sure what to do?

The current EditFormType does not support the requested editing capabilities.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: Telerik.Web.UI.GridBindingException: The current EditFormType does not support the requested editing capabilities.

Source Error:

Line 103:
Line 104:            GridEditableItem editedItem = e.Item as GridEditableItem;
Line 105: GridEditManager editMan = editedItem.EditManager;
Princy
Top achievements
Rank 2
 answered on 18 Jan 2011
1 answer
58 views
The titles of heading in Radgrid is not visible in chrome.
Refer image attached.
Pavlina
Telerik team
 answered on 18 Jan 2011
1 answer
70 views
Hello,
I'm trying to customize LinkManager.ascx and I have been able to change it jsut fine but I can't get c# code inside Page_Load to fireup inside LinkManager.ascx. I Already added  AutoEventWireup="true" but sitll nothing.
<script runat="server">
     protected void Page_Load(object sender, EventArgs e)
    {
 
       //CODE
         
    }
</script>

Any suggestions?
Thank you
Rumen
Telerik team
 answered on 18 Jan 2011
7 answers
425 views
We are having an issue with the rad editor showing $0 in google chrome.

I looked through the forums regarding this issue and i came accross this:

http://www.telerik.com/community/forums/aspnet/editor/radeditor-classic-custom-build-v7-3-5-with-fix-for-the-chrome-browser.aspx

It has a hotfix to download and such.

Is this what i need? i looked in my admin account and couldnt find anything about upgrading or updating the editor so i just need some direction on what i should do in this instance.

Thanks
Rumen
Telerik team
 answered on 18 Jan 2011
1 answer
108 views
Hi

I have a ComboBox with items. when I select a specific item, I want some controls to become disable, and when I select other items I want those controls to become enable.

what I did is this :

<

 

telerik:RadComboBox ID="cmbFormStatus" CssClass="RadComboBox_rtl" Skin="Office2007"

 

 

DropDownCssClass="RadComboBox_rtl" runat="server"

 

 

onselectedindexchanged="cmbFormStatus_SelectedIndexChanged" AutoPostBack ="true" />

 


and in the code behind, i wrote :

...
 i_Enabled = true/false

 

this.cmbDecisionType.Enabled = i_Enabled;

 

 

this.rdpDecisionStart.Enabled = i_Enabled;

 

 

this.rdpDecisionEnd.Enabled = i_Enabled;

....
it works. but, it looks weird.(attached file).



i checked, and found that what does it is the 'AutoPostBack'.
so, i tried doing it at the Client Side, with JavaSript, with no success.

what do you suggest me to do?

(Somebody told me something about Attribute in PageLoat, but I'm not familiar with it...)

p.s.
it happens only in Explorer 8

Thanks in advance
yoni 

 

Yoni
Top achievements
Rank 1
 answered on 18 Jan 2011
1 answer
98 views

Hi,
I am working on Scheduler / Resource Availability. Facing problem while editing appointment.
Description :
My scheduler contains 3 rooms "Room1,Room2,Room3", In that "Room2" contains two appointments "Schedule Lesson1" and "Schedule Lesson2", Now when I edit "Schedule Lesson1" appointment,it show me correct information such Subject,StartTime,EndTime etc. But when I try to edit "Schedule Lesson2" appointment it show Incorrect Information (same information as first "Schedule Lesson1" Appointment).

Please check attached screen shots...

Here is my code :

protected void Page_Load(object sender, EventArgs e)
    {
        DataTable tblTest = new DataTable();
        tblTest.Columns.Add("ID");
        tblTest.Columns.Add("RoomID");
        tblTest.Columns.Add("startdate");
        tblTest.Columns.Add("enddate");
        tblTest.Columns.Add("Subject");      
        DataRow drTest;
        drTest = tblTest.NewRow();
        drTest["ID"] = 2;
        drTest["RoomID"] = 2;
        drTest["startdate"] = "2011-01-11 10:00:00.000";
        drTest["enddate"] = "2011-01-11 12:00:00.000";
        drTest["Subject"] = "Scheduled Lesson1";     
        tblTest.Rows.Add(drTest);
  
        drTest = tblTest.NewRow();
        drTest["ID"] = 2;
        drTest["RoomID"] = 2;
        drTest["startdate"] = "2011-01-11 14:00:00.000";
        drTest["enddate"] = "2011-01-11 16:00:00.000";
        drTest["Subject"] = "Scheduled Lesson2";       
        tblTest.Rows.Add(drTest);
  
        drTest = tblTest.NewRow();
        drTest["ID"] = 3;
        drTest["RoomID"] = 3;
        drTest["startdate"] = "2011-01-11 12:00:00.000";
        drTest["enddate"] = "2011-01-11 14:00:00.000";
        drTest["Subject"] = "Scheduled Lesson3";      
        tblTest.Rows.Add(drTest);
  
        drTest = tblTest.NewRow();
        drTest["ID"] = 4;
        drTest["RoomID"] = 4;
        drTest["startdate"] = "2011-01-11 12:00:00.000";
        drTest["enddate"] = "2011-01-11 14:00:00.000";
        drTest["Subject"] = "Scheduled Lesson4";      
        tblTest.Rows.Add(drTest);
  
  
        DataTable RoomDataSource = new DataTable();
        RoomDataSource.Columns.Add("ID");
        RoomDataSource.Columns.Add("RoomName");   
      
        DataRow drRoom1;
        drRoom1 = RoomDataSource.NewRow();
        drRoom1["ID"] = 1;
        drRoom1["RoomName"] = "Room 1";       
        RoomDataSource.Rows.Add(drRoom1);
  
        DataRow drRoom2;
        drRoom2 = RoomDataSource.NewRow();
        drRoom2["ID"] = 2;
        drRoom2["RoomName"] = "Room 2";
        RoomDataSource.Rows.Add(drRoom2);
  
        DataRow drRoom3;
        drRoom3 = RoomDataSource.NewRow();
        drRoom3["ID"] = 3;
        drRoom3["RoomName"] = "Room 3";
        RoomDataSource.Rows.Add(drRoom3);
  
        RadScheduler2.ResourceTypes[0].DataSource = RoomDataSource;
        RadScheduler2.DataSource = tblTest;
        RadScheduler2.DataBind();
    }

Please reply as soon as possible.It's very urgent.


Thanks,
Rahul



Veronica
Telerik team
 answered on 18 Jan 2011
2 answers
82 views
please help me
charuka
Top achievements
Rank 1
 answered on 18 Jan 2011
2 answers
76 views
Hi  

I have 20 columns to display in grid , i want to make a link more so that only 5 columns will be displayed in the grid other 15 columns will be shown as popup when clicked on "more"

Can anyone help pls, its urgent?

Thanks in advance
Veli
Telerik team
 answered on 18 Jan 2011
1 answer
78 views
Hi Guys,

I am using a radgrid with two GridButton Columns and Filtering by column enabled. I tried to add an attribute "onclick" to one of the button columns in the following way in the RadGrid DataBound event
Button button = radGridItem["Create"].Controls[0] as Button;
button.Attributes["onclick"] = "form1.target = '_blank';";

I did this so that once the user clicks on the button (of the column with UniqueName= "Create"), he can be redirected to another page in another window.

Now the PROBLEM is , both the button column buttons AND the Filter buttons in the header when clicked open the page in a new window.

How do I  add the above attribute to only one Button Column?(and not to other buttons and Filter buttons)

Please help!!!!

Iana Tsolova
Telerik team
 answered on 18 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?