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.
1 Attachment(s)
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,
Re: <asp:checkbox> vs <input type="checkbox">
Thanks sr-jay. That seems to work. You have been very helpful. I appreciate that.
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.