Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
49 views
I'm using q3 2010 controls.  I am using the Fade animation on a modal window. The first time I do a window.show(), it flashes the form quickly, and then it does my animation.  Any subsequent window.show() animates without this initial flashing.
Svetlina Anati
Telerik team
 answered on 18 Jan 2011
3 answers
50 views
Greetings folks,
I'm using the client side exportToExcel function like so: gridView().exportToCsv().
The csv that gets generated doesn't contain all of the expected data I see on the grid. 
The problem is I'm using column renderers on these fields to interpret numerical values and display them as text in english.
For some reason the exportToCsv only includes the underlying numerical data.

Is there anyway around this?
Or do I just have to bind the text data to the grid...

thanks
Marin
Telerik team
 answered on 18 Jan 2011
1 answer
111 views
I'm trying to set checkboxes as checked on a radtreeview with tristatecheckboxes set to true. Using the code below works when there is only one level, but having trouble where there are 3 levels (passing in a comma delimted string of checkbox values).

protected void selectCheckedNodes(RadTreeView treeView, string val)
        {
            if (!string.IsNullOrEmpty(val))
            {
                string[] cbarray = new string[] { "" };
                cbarray = val.Split(',');

                foreach (string i in cbarray)
                {
                    
                    RadTreeNode obj = treeView.Nodes.FindNodeByValue(i);
                    if (obj != null)
                        obj.Checked = true;
                }
            }
        }

Can someone show me how to iterate thru the treeview to check the approriate nodes? I am not passing in the parent categories, just the specific nodes I want checked. Thanks!
Shinu
Top achievements
Rank 2
 answered on 18 Jan 2011
12 answers
361 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
282 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
50 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
54 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
400 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
93 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
71 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
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?