Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
129 views
I have my grid automatically kicked into edit mode for all rows when it loads. I have a dropdown list that is populated successfully for the 1st row but the subsequent rows aren't displayed properly, it only states the name of the object for each value in the dropdown list, please see this image for what i mean. Here is my code for populating the dropdowns:

if (e.Item is GridEditableItem && e.Item.IsInEditMode)
        {
            //for edit mode
            string selectedCommentIndex = "";
            GridEditableItem item = e.Item as GridEditableItem;
            GridEditManager editMan = item.EditManager;
 
            GridDropDownListColumnEditor commenteditor = (GridDropDownListColumnEditor)(editMan.GetColumnEditor("Action"));
            GridDropDownColumn testing = e.Item.OwnerTableView.Columns.FindByUniqueName("Action") as GridDropDownColumn;
 
             
                var comments = (from c in db.Entered_Comments
                                where c.type_id == 2
                                select c).ToList();
 
                 
 
                commenteditor.DataSource = comments;
                commenteditor.DataTextField = "description";
                commenteditor.DataValueField = "comment_id";
                commenteditor.DataBind();
                commenteditor.Visible = true;
                commenteditor.ComboBoxControl.SelectedValue = selectedCommentIndex;
                commenteditor.DropDownListControl.SelectedValue = selectedCommentIndex;
                commenteditor.ComboBoxControl.AllowCustomText = true;
                commenteditor.ComboBoxControl.EmptyMessage = Resources.DataEntry_ResultEntryByTestPracticeResource.commenteditorComboBoxControlEmptyMessage;
                commenteditor.ComboBoxControl.Filter = RadComboBoxFilter.Contains;
                commenteditor.ComboBoxControl.CssClass = "rcbDropDown";
            
}



Johny
Top achievements
Rank 1
 answered on 11 Apr 2012
1 answer
106 views
We are getting an odd intermittent gap on the timeline view calendar.  Take a look at the Thursday column on the attached image.  Notice the empty space at the top.  This sometimes appears between events or at the top.  No apparent pattern.

Peter
Telerik team
 answered on 11 Apr 2012
1 answer
83 views
Hi ,

I want to display the title row like (Name, Email, Phone) at the top (just like a table structure) and corresponding values in the particular time slot.
.
I don't want to repeat the title row in every time slot.

How can i achieve this?

Many thanks
Peter
Telerik team
 answered on 11 Apr 2012
10 answers
220 views
Hi all,

I have been trying run a demo project (the zip file that I downloaded was named as 213914_radschedulerdemo.zip) posted by Telerik support in one of the Telerik forums. The demo work as well, so when telerik release version Q1 2012(2012.1.215.40) I downloaded and try run it on new version of telerik but after making these changes I get following error:

 

Server Error in '/' Application.

Selection out of range
Parameter name: value

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: System.ArgumentOutOfRangeException: Selection out of range
Parameter name: value

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[ArgumentOutOfRangeException: Selection out of range
Parameter name: value]
   Telerik.Web.UI.RadComboBox.PerformDataBinding(IEnumerable dataSource) +173
   Telerik.Web.UI.RadComboBox.OnDataSourceViewSelectCallback(IEnumerable data) +491
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +33
   Telerik.Web.UI.RadComboBox.OnDataBinding(EventArgs e) +1256
   Telerik.Web.UI.RadComboBox.PerformSelect() +37
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +74
   Telerik.Web.UI.RadComboBox.DataBind() +70
   System.Web.UI.Control.DataBindChildren() +201
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +101
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +201
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +101
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +201
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +101
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +201
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +101
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +201
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +101
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +201
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +101
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +201
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +101
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +201
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +101
   System.Web.UI.Control.DataBind() +15
   System.Web.UI.Control.DataBindChildren() +201
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +101
   System.Web.UI.Control.DataBind() +15
   Telerik.Web.UI.RadScheduler.CreateHiddenAdvancedInsertForm(Control container) +487
   Telerik.Web.UI.RadScheduler.CreateHiddenAdvancedForms() +150
   Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource) +322
   Telerik.Web.UI.RadScheduler.CreateChildControls() +34
   System.Web.UI.Control.EnsureChildControls() +102
   System.Web.UI.Control.PreRenderRecursiveInternal() +42
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496

is there any change within new version telerik that make impacted on it??
Note: I only change reference to dlls (Telerik.Web.UI, Telerik.Web.Design)

Thanks,
Peter
Telerik team
 answered on 11 Apr 2012
2 answers
85 views
Hi ,

I Recently upgraded my Telerik's DLLs from version 2010.3.1215.40 to 2012.1.215.40 version.
On successful upgrade of the Dll's I found below Properties are missing at the Asp.net Ajax RadGrid 2012.1.215.40 's 'GridSelecting'
class.

AllowCellSelect
AllowColumnSelect
AllowMultiCellSelect
AllowMultiColumnSelect

I would like to know whether these properties are removed intentionally or these provided some where else in the Latest Dll's.

Please comment on this.

Thanks,
Srinivas
Martin
Telerik team
 answered on 11 Apr 2012
2 answers
183 views
Hi,
Is there a way to cause radeditor to scroll to the misspelled word automatically?
I have a radeditor with in radwindow. The content of the radeditor sometimes is too long causing the vertical scroll bar to appear.
When user selects spell check and if the word appears too down in the content, it shows the suggestions popup in the center of the content and does not scroll down to the wrong highlighted word.  This causes confusion for the end user as they don't see the wrong word unless they scroll down.
In such scenario, it would be helpful to have automatic scrolling so that suggestion popup appears right beside the wrong word.

Thanks,
Manisha
Manisha Shivjiani
Top achievements
Rank 1
 answered on 11 Apr 2012
1 answer
80 views
Hello,

Is it possible to vertically center a SlidingZone, so the icons of the panes are shown in the middle of the page? The content of the sliding panes should still open on top of the page, only the icons should be centered.
I guess I probably have to do this in CSS, but I can't figure out how to do this without centering the sliding panes as well. Or is there any easier way to realize this? Could someone help me?

Thanks in advance
Rebekka
Dobromir
Telerik team
 answered on 11 Apr 2012
1 answer
95 views
Hi,

I am facing a weird issue in Rad editor related to browsers.

In my project we have a rad editor, on page load content of this rad editor are set using a HTML file.

When we check the content of this rad editor in HTML view in Firefox, we have found that character "{" and "}" are replaced by "%7B" and "%7D" respectively. These caharcters are used to set querysting values of a href in the content.

In Chrome and IE, "{" & "}" are recognised correctly while in Firefox these characters are replaced by "{" and "}" respectively.

Can you please look into this and guide us.

A code sample will be of great help to solve this issue.
Rumen
Telerik team
 answered on 11 Apr 2012
2 answers
352 views
Quick question from a Newbie.

When using RadAjaxManager or RadAjaxPanel they both fire events in "If Page.IsPostBack then......" and do not fire events in "If Page.IsCallBack then.....".  So I am not fully understanding the meaning of PostBack and CallBack.  I thought the RadAjaxManager was making CallBacks to the server and not PostBacks.  Is this by design?

What am I missing here?

A quick reply from an experienced programmer would be much appreciated.

Cheers

Ian.
Ian
Top achievements
Rank 1
 answered on 11 Apr 2012
1 answer
237 views
Hi,
  I have Question related to RadComboBox with multiple checkBox option

I have a RadComboBox in which it has Multiple Items with Multiple Check Box.I want that when "All " checkbox is selected from the dropdown it should display "All" as Selected Value as a text and when "All" is not selected other items are selected it should display all the items(selected ones) instead of  displaying "3 items checkd or 2 items cheked" message.

Following is my code:

 

 

<telerik:RadComboBox ID="rdVacantBu" Skin="Web20Ext" CheckBoxes="true"

 

 

 

CheckedItemsTexts="DisplayAllInInput" EnableCheckAllItemsCheckBox="true" EmptyMessage="Please Select" ForeColor="Black"

 

 

 

Localization-CheckAllString="All" Visible="false" Font-Italic="false" EnableEmbeddedSkins="false"

 

 

 

BackColor="White" runat="server"> </telerik:RadComboBox>

 



Please helps us as soon as possible.

Thanks,
Neha
Ivana
Telerik team
 answered on 11 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?