-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Register DNN Web Controls like the TextEditor ? #62
Comments
In terms of referencing, nothing should change on that front. However if you want design time support (i.e in the VS designer) then the designer needs to be able to resolve the Dnn controls at design time. WARNING: It's been a while since I have tried this, but you should be able to copy the control (i.e TextEditor.ascx) from the Dnn website controls folder, into a local folder with the same relative path inside your project. Then the tag registration that you showed i.e:
Should resolve to the local ascx file within your project. I seem to remember perhaps having to do some more work around this to get this to work - it's been such a long time since I developed Dnn WebForms style that I forget! |
Any joy with this? |
Thanks, no I wasn't able to get it work and didn't have a lot of time to spend on it. |
Of note, I did find and example that looked like you could register the controls via namespace instead of pointing to an actual control like shown above. That would work great using DNNPackager. However, I wasn't able to get that to work either, but that may have had something to do with the specific instance of DNN and again I didn't have a lot of time to track down what the issues were. But it looked promising. see docs link: |
How would one reference a DNN user control like TextEditor that normally is registered by referencing DNN controls folder like so:
The text was updated successfully, but these errors were encountered: