Iron Speed Technical Forums
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
Rexxrally

Registered:
Posts: 244
Reply with quote  #1 
I'm upgrading an old app from ISD 6.1.1 to 9.0.1.

Somewhere along the way (between ISD 6 and 9), HTML files went away. Consequently, my code didn't compile as VS2010 complained about the lack of client side Javascript in my app.

I copied the client side Javascript from the abandoned HTML file into the ASPX file, compiled, and now I get this error:

Only Content controls are allowed directly in a content page that contains Content controls

I have 2 functions in the Javascript:
function submitbutton_click
function CuteWebUI_AjaxUploader_OnPostback

both functions handle events for page controls, obviously.

Has anybody seen this problem? What do I do now?
How and where do you put client side Javascript into an ISD 9.0.1 app?

Thanks


SamHughes

Avatar / Picture

Registered:
Posts: 9
Reply with quote  #2 
Dave,
Try right clicking on the page and selecting PAGE DIRECTIVES. Here you can add links to external files or even JavaScript code blocks. If it is a change you want globally, add it to the master page, if it is only for specific pages, then do this just on these pages.
Hope this helps.


__________________
Samantha
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.

Download Iron Speed Designer

Terms of Service Privacy Statement