I have tried searching for a solution on the forum but with no success. I have an form but it fails to submit, it just reloads the current page it is on. I have the following code for button submit (Which I have compiled as a DLL and added to the umbraco bin folder.)
Protected Sub Btn_Search_Click(ByVal sender As Object, ByVal e As EventArgs) Tx_PClass.Text = "Hello" Response.Redirect("~\ErrorPage.aspx", False) End Sub
usercontrol form not submitting
Hi All,
I have tried searching for a solution on the forum but with no success. I have an form but it fails to submit, it just reloads the current page it is on. I have the following code for button submit (Which I have compiled as a DLL and added to the umbraco bin folder.)
On page load - I load some xml into the forms.
The usercontrol file contain the following.
I then create a macro in my form, and then I added it to my master template.(I will post most the master template to see if you can see the error)
Does anyone have any idea why the submit button does not work?
Thanks for all your help - James
Shouldn't the button have an OnClick attribute?
Can't believe I missed that.
Thank you :)
Haha, happens to me all the time! :-)
is working on a reply...