|
-
Jun 17th, 2010, 02:06 AM
#18
Addicted Member
Re: please help
The runat=server attribute is definitely required, as this indicates that the button control is an ASP.Net Control, and will be treated as such when the page is parsed by the ASP.Net engine. Without it, the button will not function.
Yep, I know. That's why I suggested he could try changing the <asp:Button> control with the <input> tag. I have the exact problem with JavaScript recently. I keep on reviewing and re-typing my script but I still found no errors, the function won't execute. Changing the ASP.NET control to a HTML tag solves it since I don't need any server side scripts.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|