This is a migrated thread and some comments may be shown as answers.

Disable autocomplete

5 Answers 1053 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tia
Top achievements
Rank 1
Tia asked on 25 Mar 2013, 08:34 AM
Hi 

I have a requirement like I want to disable the autocomplete feature for a particular textbox. Also is it possible to restrict the cut copy and paste operation?

Thanks,
Tia.

5 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 25 Mar 2013, 09:43 AM
Hi Tia,

Please check the following mark-up to achieve your scenario.

ASPX:
<telerik:RadTextBox ID="RadTextBox1" runat="server" Label="UserName : " oncontextmenu="return false"
    onpaste="return false" oncut="return false" oncopy="return false" autocomplete="off">
</telerik:RadTextBox>

Thanks,
Princy.
0
Tia
Top achievements
Rank 1
answered on 26 Mar 2013, 08:14 AM
Thanks it helps. Is there any way to disable complete for all the textboxes in my login form?
0
Accepted
Princy
Top achievements
Rank 2
answered on 26 Mar 2013, 09:29 AM
Hi,

If you want to disable the auto-complete feature for all the RadTextBoxes, then you may set the form AutoComplete property to off. Please check the following mark-up.

ASPX:
<form id="form1" runat="server" autocomplete="off">
</form>

Thanks,
Princy.
0
Dhamodharan
Top achievements
Rank 1
answered on 13 Mar 2015, 10:08 AM
Hi Princy,

I want to set autocomplete=off in whole website. if i added for textbox in skin file its accepted.<asp:TextBox Font-Name="segoe ui" Font-Size="12px" Font-Weight="500" Font-Bold="False" runat="server" autocomplete="off" />

but Telerik
<telerik:RadTextBox Font-Name="segoe ui" Font-Size="12px" Font-Weight="500" Font-Bold="False" runat="server" AutoCompleteType="Disabled"/></telerik:RadTextBox>

i got the following error message
The 'AutoCompleteType' property of a control type Telerik.Web.UI.RadTextBox cannot be applied through a control skin.

Please give your suggestion for add Autocomplete=off in entire application. Please note there are no master page in this website

Thanks in Advance,
Dhamu
0
Dhamodharan
Top achievements
Rank 1
answered on 25 Mar 2015, 08:14 AM
Hi All,

Is this possible above my post. or else please help me how we can execute this concept in my website.

Thanks,
Dhamu
Tags
General Discussions
Asked by
Tia
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Tia
Top achievements
Rank 1
Dhamodharan
Top achievements
Rank 1
Share this question
or