Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
245 views
Hello,

System: ASP.NET AJAX 2012.2.607.40

In previous version of RadRibbonBar, it was possible to let it to follow the width of the parent component, even with the window itself, by setting its Width="100%".
This doesn't work anymore with the new version of RadRibbonBar.
Any workarounds exist?

Best regards,
Alain
Ivan Zhekov
Telerik team
 answered on 23 Jan 2013
8 answers
212 views
Hi, there is a way to hide the hours in the scheduler, from for example 11 pm to 7 am? i want show only the day

Thanks
TT
Top achievements
Rank 1
 answered on 23 Jan 2013
1 answer
90 views

Hi:

I have a a problem; I have a grid with select column , and when a want to select all the records I receive this error: "Stop running this script?", my grid has about 2300 records, when the number of records is less I dont have this problem, I try using the paging but when i want to select all records this accion only select the records from the selected page.

What can I do????

Pavlina
Telerik team
 answered on 23 Jan 2013
2 answers
85 views
Can we develop desktop applications using html5 & telerik ?
Bhuvan
Top achievements
Rank 1
 answered on 23 Jan 2013
3 answers
267 views
In my grid table view, I want to have my last column to take the span of all the rows in the tableview.

In order to do this, I need to be able to loop through all the rows of the gridtableview but when I try the following in my DetailTableDataBind : 

e.DetailTableView.Items.Count

it always returns 0.

What can I do in order to achieve this?

Thanks

Maxime
Top achievements
Rank 1
 answered on 23 Jan 2013
3 answers
101 views
Hello!

I am implementing a TreeList with 2 columns. One is a name and the other one is a SelectColum, with checkboxes. 

This list displays a hierarchy. 

Is that possible to have tri-state checkbox behaviour for the SelectColumn?


Any help will be much appreciated.


Thanks,
Christian
Christian
Top achievements
Rank 1
 answered on 23 Jan 2013
2 answers
69 views
Hello all,

I am using a RadEditor in where I need to enable Edit Mode or Preview Mode based on permissions (Only specific users can edit the content).

So, it is working OK but because of space, I need to use the "Floating" toolbar option.

The issue appears when I set Preview Mode + Floating Toolbar...and it is that the toolbar allows me to edit the content...If I use "Default" Toolbar mode...it appears as "grey out" and I cannot use it...achieving what I need...but if I go back to "Floating" mode, the restriction goes off.

Please let me know if you have any ideas about what could be happening.

This is what I am calling in the "OnLoad" method...

private void SetEditorMode()
       {       
           this.HelpContentRadEditor.ToolbarMode = EditorToolbarMode.Floating;
           this.HelpContentRadEditor.EditModes = EditModes.Preview;
       }


I also tried with JavaScript with no luck...

function OnClientLoad(editor, args) {
    setTimeout(function () {
        editor.set_mode(4);
    }, 150);
}


Thanks all for your help!!!

Christian
Christian
Top achievements
Rank 1
 answered on 23 Jan 2013
1 answer
106 views
Hi,

I followed Grid/NestedViewTemplate Relations demo to bind one grid that has a nested view, everything is working properly.
But when using ObjectDataSource as a DateSource for NestedView and that object datasource uses a server side method to pull data from a Session variable, I'm getting
System.NullReferenceException: Object reference not set to an instance of an object

Here is ObjectDataSource declarative markup
<asp:ObjectDataSource runat="server" ID="MemberSubmissionData" TypeName="FacultyAnnualReview" SelectMethod="BindNestedView">
     <SelectParameters>
        <asp:Parameter Name="SubmissionId" Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource> 

and here is server side method
        public FacultyMemberSubmission BindNestedView(int submissionId)
        {
            return  (
                        from data
                        in GetFacultyMemberSubmissions()
                        where data.SubmissionId == submissionId
                        select data
                    ).SingleOrDefault();            
        } 

GetFacultyMemberSubmissions() method pulls data from a Session variable. When updating it to not use session, everything is working. So is that something that is related to ObjectDataSource or NestedView binding doesn't accept session variables. Any suggestions?
Ahmed
Top achievements
Rank 1
 answered on 23 Jan 2013
4 answers
171 views
When doing a filter in a string field in a RadGrid, is there any way to filter on a multi-word string?

That is, suppose you want to find all string fields in a column that begin with anything between "this is" and "this will"?
Boris
Top achievements
Rank 1
 answered on 23 Jan 2013
2 answers
149 views
I need to know where the caret is in a RadTextBox while an action is occurring in RadComboBox.  For example, somebody selects an item in the combobox, an item's value is to be inserted into the text in the RadTextBox at the position of the caret. As I try to determine the location of the caret by calling "get_caretPosition" on the RadTextBoxm I always get the same value -7341.

This is an incomplete function but enough to determine that I'm not getting the value I expected:

            function CannedNoteSelected(sender, eventArgs) {
                var selectedValue = eventArgs.get_item().get_value();
                var pos = $find('<%= NoteToClientTxt.ClientID %>').get_caretPosition();
... do stuff here to insert merge new text into existing text but pos always contains -7310 no matter where the caret really is ...
                $find('<%= NoteToClientTxt.ClientID %>').set_value(selectedValue);
            }
 What am I doing wrong?
Maria Ilieva
Telerik team
 answered on 23 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?