Hello,
I've been working on installing a pre-existing and functioning Telerik-using Sharepoint site from another machine onto a fresh machine, as well as updating from .NET 2.0 to .NET 3.5 Telerik versions. As it would turn out, things went terribly wrong.
I will attach a bunch of screenshots and code files so anyone who attempts to assist me with this issue will at least be armed with a visual depiction of the chaos I'm attempting to reconcile. I have taken the following steps and tutorials in my attempts to make this work:
- Adding various Assembly and Register commands into the .ascx/.aspx files in attempts to have it recognize tags and assemblies required
- Multiple Google search results of similar issues, none of which seemed to have a beneficial effect
- Heavily modifying the web.config based on tutorials and other help issues
- Tutorial: ASP.NET AJAX 1.0 as a precursor to
- Tutorial: ASP.NET AJAX 3.5
- Conferred with multiple other developers on this issue.
Since I began writing this post, I've been attempting to rebuild and deploy the different modifications of the code for screenshot purposes and I am now receiving another error, which is most likely related to and/or caused directly by the web.config modifications I made based off posts and tutorials. So I will have to explain using words.
Phase 1
Initially, the webparts were automatically implemented into the page by the code prior to loading the page, and would display a single line of text error which I can no longer re-create...but said something along the lines of the webpart encountered an error and cannot be displayed. Eventually we remedied this by removing all automatic adding of the webpart, and ended up with a blank page on the initial load as is in the screenshots.
Phase 2
Now that we had the page loading and were just missing the webpart, we would add it manually via the Site Actions > Edit Page and Add a webpart options as are also shown in the screenshots. This would result in one of two errors depending on the code.
- If the Telerik tags were not labelled correctly, (ex. rad:RadTab was called rad:Tab at one deploy) the webpart was added correctly and had a single line of text which stated "Data Not Available:Unknown server tag 'rad:Tab'."
- The other error seemed to occur if all the spelling was correct and everything in the code was correct. That was the generic Sharepoint error as shown in the screenshots. "An Unexpected Error Occurred." which is of course informative and helpful. And yes, the web.config had the settings set such that errors should be very verbose (customErrors=Off, debug=true, etc.)
So it would seem that I was very close to achieving the goal of getting the webpart added correctly... or perhaps not, because as of this morning when I was running through the AJAX tutorials which I had previously not gone through, I encountered something new
Phase 3
Currently upon attempting to add the webpart to the page, I receive an error I've never seen until today which likely means it's related to the web.config modifications I've made based off the noted tutorials. This error is also shown in the screenshots; the dialog about the webpart not being 'safe' ...
So that's the basic story of my last week. I will attach the current .ascx and associated .aspx pages, the web.config... anything else someone needs to see to help with this?
Thanks in advance should you attempt to aid me,
Jon
p.s. Apparently the attachments can only be images... how helpful. Here's a
link to the zip to download the files I wanted to attach to this post...
p.s.s. I will continue on my time to work on this as well and post if I find anything of interest / make progress...