reset() is not work

4 posts, 1 answers
  1. spt
    spt avatar
    36 posts
    Member since:
    Sep 2007

    Posted 29 Apr 2009 Link to this post

    I use Telerik RadControls for Ajax 2008 Q3.

    I have a user control with code something like this:

    <%

    @ Control Language="C#" AutoEventWireup="true" CodeBehind="SettingsDisplay.ascx.cs" Inherits="TA2009.Web.Controls.SettingsDisplay" %>

    <telerik:radformdecorator id="FormDecorator1" runat="server" decoratedcontrols="CheckBoxes" />
    <telerik:radformdecorator id="FormDecorator2" runat="server" decoratedcontrols="RadioButtons" />

     

    <table cellSpacing=1 cellPadding=1 width="100%" border=0 class="formTable">
    <tr><td><asp:Label runat="server" ID="Label1" Text="Text" /></td>
    <td><asp:RadioButtonList ID="rblstTotalTimeFormat" runat="server" SkinID="FormRadio" /></td>
    </tr>
    <tr><td>&nbsp;</td>
    <td>
    <asp:LinkButton ID="btnSubmit" runat="server" SkinID="FormButton" Text="Submit" />
    <asp:LinkButton ID="btnReset" runat="server" SkinID="FormButton" Text="Reset" CausesValidation="false" UseSubmitBehavior="False" OnClientClick="forms[0].reset();return false;"/> </td></tr>
    </table>

    When I click Reset button in th Firefox 3.0.10 nothing occured, forms[0].reset() doesn't work.
    If I remove <telerik:radformdecorator> controls Reset button works right.

    Please help.

  2. Answer
    Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 30 Apr 2009 Link to this post

    Hi spt,

    I tried to reproduce the problem locally by using your code but as you can see from the attached movie - to no avail.
    Please open a support ticket and send me a small sample project where this issue could be reproduced - I will check it and do my best to help.



    All the best,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. spt
    spt avatar
    36 posts
    Member since:
    Sep 2007

    Posted 30 Apr 2009 Link to this post

    Sorry, reset() doesn't work for  <

     

    asp:RadioButtonList> and <asp:CheckBox> controls.
    <telerik:RadTextBox and  RadComboBox works right.

     

     

     

     

     

     

     

     

     

  5. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 04 May 2009 Link to this post

    Hello spt,

    Thank you for bringing this problem to our attention - I reproduced and logged it in our database. For the time being I suggest to use code attached to this thread in order to avoid such problems.

    Kind regards,
    Georgi Tunev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top