I have form tags in a master page. In some place holders I have aspx files which have textboxes, dropdowns, and buttons and everything works-like they inherit the form tags from the master page.
In ascx files, buttons do not seem to inherit the master page form tags-I get an error saying the button type needs to be inside form tags. If I put the tags there, I get an error saying there are 2 many form tags.
There is another button type the Expression Web menu called advanced button.
<button id="button1" text="button" onclick="testsub">
button
</button>
By clicking this button, instead of running testsub, I get an error in a gray box saying "testsub not defined". It will run a javasccript function fine though.
Is there a way I can get button1 to run a vb function?
In ascx files, buttons do not seem to inherit the master page form tags-I get an error saying the button type needs to be inside form tags. If I put the tags there, I get an error saying there are 2 many form tags.
There is another button type the Expression Web menu called advanced button.
<button id="button1" text="button" onclick="testsub">
button
</button>
By clicking this button, instead of running testsub, I get an error in a gray box saying "testsub not defined". It will run a javasccript function fine though.
Is there a way I can get button1 to run a vb function?