Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
118 views
Hi All,

The problem.
When i click on the Insert of the Detail table, it does not go into "Insert Mode", ie no New Grid Row is provided (inline mode) to capture data into.
Is there a requirement I'm missing??

Scenario:
  • I am not using the <ParentTableRelation> . (I mention it because I don't know if this could cause the issue).
  • The Insert/refresh are customised (link button and Image) by use of the CommandItemTemplate.
  • DataBinding
  • occurs in the DetailTableDataBind event.(MainGrid uses OnNeedDataSource).
  • The ItemCommand determines a few Parameters which are required (just hiding or getting certain keys).

    In the insert command (updt+del, similarly)
    I differentiate between views/tables as per examples, eg if ("Detail1".Equals(e.Item.OwnerTableView.Name))....etc

Thanks
Neal

 

Georgi Krustev
Telerik team
 answered on 12 Aug 2009
2 answers
85 views
I'm doing a page that have one radmenu and two radcomboboxes. One of the radcomboboxes does autopostback, and refresh the other's datasource. I use the radajaxmanager to refresh only the second radcombobox.

Well, when I change the index selected in the first radcombobox, the datasource of the second is refreshed, but the radmenu disappears too! ¿What am I doing wrong?

Thank you very much ;)
John McNamara
Top achievements
Rank 1
 answered on 12 Aug 2009
1 answer
125 views
I'm testing out the Flexile and everything works fine but It like to use a different upload control then the Telerik provided one. How can I override the functionality of the Telerik upload in the FileExplorer?

Specifically, I'd like to display a 3rd party upload control (Cutesoft's Ajax Uploader) when the Upload button is clicked from the FileExplorer Toolbar or context menu when a right click is made.
Fiko
Telerik team
 answered on 12 Aug 2009
1 answer
130 views
Hi,

Can you tell me how to re-render radcalendar without changing current month view? Because I need to redraw the radcalendar with new data from wcf.

thank you,
omar
Georgi Krustev
Telerik team
 answered on 12 Aug 2009
3 answers
166 views
Here is my input manager

        <telerik:NumericTextBoxSetting BehaviorID="NumericSettings"  EnabledCssClass="numeric" FocusedCssClass="numeric" InitializeOnClient="true" Type="Number" DecimalDigits="0" GroupSizes="3" GroupSeparator="," PositivePattern="n" NegativePattern="-n">  
            <TargetControls> 
                <telerik:TargetInput ControlID="dummy1" /> 
            </TargetControls> 
        </telerik:NumericTextBoxSetting> 
        <telerik:NumericTextBoxSetting BehaviorID="DecimalSettings" EnabledCssClass="decimal" FocusedCssClass="decimal"  InitializeOnClient="true" Type="Number" DecimalDigits="1"  GroupSizes="3" GroupSeparator="," PositivePattern="n" NegativePattern="-n">  
            <TargetControls> 
                <telerik:TargetInput ControlID="dummy2" /> 
            </TargetControls> 
        </telerik:NumericTextBoxSetting> 
        <telerik:TextBoxSetting BehaviorID="TextSettings" EnabledCssClass="ascii" FocusedCssClass="ascii" InitializeOnClient="true"  > 
            <TargetControls> 
                <telerik:TargetInput ControlID="dummy3" /> 
            </TargetControls> 
        </telerik:TextBoxSetting> 
    </telerik:RadInputManager>

When I press the enter key in my numeric and decimal text boxes, I get the invalid character warning.
The ascii text box doesn't complain. The enter key doesn't do anything though. I'm not sure if it's supposed to do a commit or not. Anyway I don't think pressing enter in a numeric text box should give me a warning. Thanks.
Daniel
Telerik team
 answered on 12 Aug 2009
1 answer
102 views
Hi i have an ajax manager on my page and it seems make my google maps item fail when it tries to load the key
is there anything i can do to get it to work
Pavlina
Telerik team
 answered on 12 Aug 2009
1 answer
61 views
I am using a master page and i have radscriptmanager in the masterpage.
I drag rad ajax manager to a content page and
when i click on configre ajax manager option it comes up with an empty list of controls.

I think the reason behind this may be due to the fact that the radscript manager is in the masterpage.
Is it a bad practice to have radscript manager in master page ?


note:My masterpage uses RadMenu and thats the reason i have RadScriptManager on the masterpage.
Vlad
Telerik team
 answered on 12 Aug 2009
2 answers
185 views
Hello everyone, I am having a problem with some code here.  From everything I read this code should work so I don't really know whats going on.  The code highlighted in bold is what is giving me errors.  Can anyone help?  Thanks

Imports

 

System.IO

 

Imports

 

Telerik.Web.UI

 

Imports

 

System.Collections

 

Imports

 

System

 

Imports

 

System.ComponentModel

 

Imports

 

System.Data

 

Imports

 

System.Drawing

 

Imports

 

System.Web

 

Imports

 

System.Web.SessionState

 

Imports

 

System.Web.UI

 

Imports

 

System.Web.UI.WebControls

 

Imports

 

System.Web.UI.HtmlControls

 




 

Protected Sub RadTreeView1_NodeExpand(ByVal o As Object, ByVal e As RadTreeNodeEventArgs)

 

 

If e.NodeClicked.Nodes.Count = 0 Then

 

BindDirectory(e.NodeClicked.Value, e.NodeClicked.Nodes)

 

End If

 

 

End Sub

 

 

Protected Sub RadTreeView1_NodeClick(ByVal o As Object, ByVal e As RadTreeNodeEventArgs)

 

SelectNode(e.NodeClicked)

 

End Sub

 

Bryan Davis
Top achievements
Rank 1
 answered on 12 Aug 2009
1 answer
230 views
Hi All

I want to disable any editing in textarea of RadEditor control anonly the text  should be visible.
I tried to implement following function on "OnClientLoad"

function

 

OnClientLoad(editor, args)

 

{

editor.add_modeChange(

function(editor, args)

 

{

 

var mode = editor.get_mode();

 

 

if (mode == 2)

 

{

 

var htmlMode = editor.get_textArea(); //get a reference to the Html mode textarea

 

htmlMode.disabled =

"true";

 

}

});

}


But I recieved the error:
Exception while executing client event OnClientLoad Error:Object doesn't support this property or method.

Please tell me how to keep the textarea disabled.

Thanks in advance !!
Rumen
Telerik team
 answered on 12 Aug 2009
1 answer
93 views
Hello,

I've been trying to add the grid item through stored procedures, and I am having hard time getting the user input from RadGrid.

    Protected Sub MyConditions_ItemInserted(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) 
        Dim editedItem As GridEditableItem = CType(e.Item, GridEditableItem) 
        Dim test As GridEditableItem = editedItem.OwnerTableView.GetInsertItem() 
 
        Dim test2 As String = test.GetDataKeyValue("Condition").ToString 
 
    End Sub 
This is giving me this error: Index was out of range. Must be nonnegative and less than the size of the collection. Parameter name: index 

I am trying to get the dataKeyValue called "Condition", which was given by user input during onItemInserted event..
Vlad
Telerik team
 answered on 12 Aug 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?