I am new to using Umbraco.I am trying to add a new custom user control to a umbraco website. I created the user control and uploaded it to user controls folder, created a macro using the user control and uploaded the dll file to the bin folder but when i tryto populate it on one of the pages it does not show up. I am trying to insert it using the text editor. It is a basic user control which just has a textbox and a button. The textbox and the button showup when i insert the macro but as soon as i save the content the macro dissapears or does not render. Can you guys please guide me in doing it the right way?
Just a thought - have you tried putting the macro within a template to see if it renders on the page ?
Appreciate it may not completely solve your problem, but it may help track down what is going wrong.
Another thought is that you may not have a form tag wrapping your user control. This normally creates a nasty error message on the front end, but I did experience asp form fields disappearing myself last week and it was due to a lack of the form tag.
Adding a custom user control to Umbraco Site
Hello All,
I am new to using Umbraco.I am trying to add a new custom user control to a umbraco website. I created the user control and uploaded it to user controls folder, created a macro using the user control and uploaded the dll file to the bin folder but when i tryto populate it on one of the pages it does not show up. I am trying to insert it using the text editor. It is a basic user control which just has a textbox and a button. The textbox and the button showup when i insert the macro but as soon as i save the content the macro dissapears or does not render. Can you guys please guide me in doing it the right way?
Thanks
Naren
Hey
Just a thought - have you tried putting the macro within a template to see if it renders on the page ?
Appreciate it may not completely solve your problem, but it may help track down what is going wrong.
Another thought is that you may not have a form tag wrapping your user control. This normally creates a nasty error message on the front end, but I did experience asp form fields disappearing myself last week and it was due to a lack of the form tag.
Hope this helps.
Cheers
Nigel
Thanks a lot for the reply Nigel. That was exactly what happend. I had a form tag but did not have runat server on the tag. Thanks again.
Naren
Wicked
Don't forget to mark topic as solved (and high five if desired - hehe)
Cheers
Nigel
is working on a reply...