Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
1.7K+ views
Hi,
 we are using rad numeric text box for taking numeric value from user. but when i enter 1234 it automatically convertes into 1,234 like but i dont need comma or any thing in that
any help much appreciated
Fabio
Top achievements
Rank 1
 answered on 30 Apr 2012
1 answer
72 views
Hi,

I use telerik rad grid control to display data from my database,
and I found out that the data field property value of the column is exposed on the client side.

I consider this issue as a security issue. I don't want to expose my database scheme to my clients.
Is there a way to prevent this data from being exposed??

Thank you.

Jayesh Goyani
Top achievements
Rank 2
 answered on 30 Apr 2012
3 answers
158 views
I have a radTreeView like this.

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1">
<telerik:RadTreeView ID="RadTreeView1" CheckBoxes="true" Runat="server"
    OnContextMenuItemClick= "menuClicked" OnClientContextMenuItemClicking="clientMenuClicking"
    OnNodeEdit="RadTreeView1_NodeEdit">
 
<ContextMenus>
        <telerik:RadTreeViewContextMenu ID="ctxMenuAdd" runat="server">
            <Items>
                <telerik:RadMenuItem Value="addNode" Text="Add Node">
                </telerik:RadMenuItem>
                <telerik:RadMenuItem Value="delNode" Text="Delete Node">
                </telerik:RadMenuItem>
                <telerik:RadMenuItem Value="renNode" Text="Rename Node">
                </telerik:RadMenuItem>                 
            </Items>
         </telerik:RadTreeViewContextMenu>
</ContextMenus>
 
</telerik:RadTreeView>
</telerik:RadAjaxPanel>

This is the ContextMenuClicking javascript in client side.

function clientMenuClicking(sender, args)
        {
            var menuItem = args.get_menuItem();
            var treeNode = args.get_node();
            menuItem.get_menu().hide();
 
            switch (menuItem.get_value())
            {
                case "addNode":
                    var windowResult = window.showModalDialog("newNode.html", "Enter Value", "dialogHeight: 300px; dialogWidth: 300px;");                   
                    document.getElementById("HiddenField1").value = windowResult;
                    break;
                case "renNode":
                    treeNode.startEdit();                   
                    break;
            }
                         
        }

finally this is the server side code for onNodeEdit

protected void RadTreeView1_NodeEdit(object sender, RadTreeNodeEditEventArgs e)
    {
        e.Node.Text = e.Text;
    }

The problem is, when I right click on the node and select "Rename" the node turns into a text box only for a split second, then it goes back to normal mode.

It seems when I click the rename option, the client side code is firing and the node is turning into a text box. but then somehow a page postback is occurring which is removing the textbox. 

How can I get rid of the issue?

Marbry
Top achievements
Rank 1
 answered on 30 Apr 2012
5 answers
305 views
Hi Telerik Team,

 I have More than one RadMenus in my application. After update the latest telerik 2011 (Telerik.Web.UI), the RadMenus are behave in a different manner. When I click/open one RadMenu without selecting the its item, click/Open the another RadMenu causes the problem (the first RadMenu items are not collapsing, it remains open). Please see the screenshot attached herewith. I need to collapse the First RadMenu items, if I click/Open the another Radmenu.


Please help me regarding  this.


Thanks,

V. Raguraman.
Kate
Telerik team
 answered on 30 Apr 2012
1 answer
123 views
How can I achieve custom behavior, when postback will only occur upon specific tabs being selected?
Say, there are 3 tabs and I would like to do nothing with the first, do client-js modifications with the 2, and process the click on the 3d button on the server.
Generic solution is requiered in order to support any amount of tabs.
Dimitar Terziev
Telerik team
 answered on 30 Apr 2012
3 answers
346 views
How to hide the horizontal scroll bar in a rad combo box. All the items in the combo box are shorter than the dropdown width of the control, yet a horizontal scroll bar turns up and seems unnecessary.
TonyG
Top achievements
Rank 1
 answered on 30 Apr 2012
7 answers
234 views
Hi, I'm currently in the process of evaluating the RadControls to see if it meets our needs for a project we're working on.

I have a RadComboBox that is created at runtime and added (via a Template) to a cell in the RadGrid.

Currently, at runtime I set:

combo.OnClientDropDownOpening = "OnClientDropDownOpening"

which fires the:

    function OnClientDropDownOpening(sender, args)  
    { 
    }    

javascript function.

How do I go about initiating a server callback that passes back the current control and its value, performs a custom query based on that value, and populates the Item collection of the RadComboBox without posting back the entire page?

I've explored the RadComboBox.EnableLoadOnDemand property, but it appears that it makes callbacks when the text is changed, which is not what we want.

If there are alternative methods to handling the event client-side, I'm open to them.

Thank you.
Dimitar Terziev
Telerik team
 answered on 30 Apr 2012
3 answers
145 views
Hello

My problem is this. I upload a file to my system and then update my RadFileExplorer. I want to set the initialPath, but if the file is not on the first page, when the pager is enabled, it is not selected.

You can actually try this for yourself on the RadFileExplorer demo page (http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/default/defaultcs.aspx). Set "" to true and copy as many files as you can into the Flowers directory and then refresh.

The initialPath does work if you turn the pager off. However, the strength of the pager is that I don't have to, time consumingly, read every file in a directory.

One thing that might help, is moving to the last page before calling InitialPath (or loadFolder) as the files aren't ordered until you tell the RadFileExplorer to, but I'm at a loss as to how to achieve this.

Thank you for your help in this matter.

Paul Herzberg

PS. Also the filter doesn't remember the entry if you try to move to another page
Dobromir
Telerik team
 answered on 30 Apr 2012
1 answer
95 views
Hi All

I'm working on RadGrid with bounding TextBox for each rows of column.

I need to get the client id for Textbox, but i'm not getting the 'ClientIDRowSuffix' property to set the ID to Textbox.

Can you tell me why telerik Radgrid not supporting the 'ClientIDRowSuffix' property.
 
Please help me on this

Thanks


Nitin
Richard
Top achievements
Rank 1
 answered on 30 Apr 2012
0 answers
99 views
Hello,

I am using Rad Ajax panel in my page. I have a grid and that grid is having expand all link that expand and collapse all the rows.

Before using Rad Ajax panel, it is working fine. After using this panel, That expand all link is not working.

Any Suggestions.

TIA
Atchut
Top achievements
Rank 1
 asked on 30 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?