08 Mar 2006
Link to this post
13 May 2013
in reply to
The button is on the masterpage and I do have ResourceLink tags referencing some .js/jQuery files, along with a couple link references to .css files.
I got it to finally work by creating a new masterpage file, adding the ResourceLinks and .css file links and the code in the page_load. I don't know what the problem was with the original masterpage file's page_load not firing was but one thing I did notice was the RadButton1 declaration in the designer.cs file was missing. I closed the project and created a new one(normal asp.net web project), created a test page and dragged the RadButton from the toolbox onto the page, copied the RadButton1 declaration in it's designer.cs file.
Then opened my Sitefinity project back up and pasted the declaration into my new masterpage's designer.cs file and my intellesense started working on the RadButton1 object. If you drag the RadButton from the VS toolbox onto the design view of the page everything works, but if you try to copy and paste a RadButton statement into source view of the page it doesn't want to add the declaration to the designer.cs file. So it seemed like I had two issues overall.
Have you ever seen issues with css/js files referenced in masterpages effect things like this before?