CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    Join Date
    Mar 2007
    Posts
    238

    Re: <asp:checkbox> vs <input type="checkbox">

    I have another question!
    Is it possible to make only one checkbox click at a time. Say the first checkbox is already checked, the user clicks the second checkbox, then the first one should uncheck itself. Is this possible to do with the checkboxes inside the asp:repeater.

  2. #17
    Join Date
    Jan 2009
    Location
    Cochin, India
    Posts
    40

    Smile Re: <asp:checkbox> vs <input type="checkbox">

    Yes. That is also simple enough. We need to use javascript again. I have changed WebSite80 so that it does what you want and attached it. Open it and find an application that allows only one check box to be checked inside the repeater at a time. The attached application is WebSite80.zip. Download it open it and again you will have to put in the appropriate connection string and field and table name in both Default.aspx and Default.aspx.cs. Run it and you will find what you want.

    Warm Regards,
    Attached Files Attached Files
    Jay
    Support Resort
    http://www.supportresort.com
    Bringing offshore expertise to the world

  3. #18
    Join Date
    Mar 2007
    Posts
    238

    Re: <asp:checkbox> vs <input type="checkbox">

    Thanks sr-jay. That seems to work. You have been very helpful. I appreciate that.

  4. #19
    Join Date
    Mar 2007
    Posts
    238

    Re: <asp:checkbox> vs <input type="checkbox">

    Sr_jay,

    I have created a setup project for my project(even you can try your example projects), and then installed the msi in another server, the tags <input checkbox> etc, doesn't appear in the page. Is this the normal ? If this is the case, i am left with using only <asp> tags then? Is there any work around to this.

    THanks for any help.

    Infact i realised it's not the input html tag, it's actually whatever is there in the repeater tag doesn't get displayed! Any suggestion.
    Last edited by tarunk; March 27th, 2009 at 09:02 AM.

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured