Results 1 to 2 of 2

Thread: Any ASP.NET experts out there?

  1. #1
    Join Date
    12th September 2003 - 12:00
    Bike
    Katana 750, VOR 450 Enduro
    Location
    Wallaceville, Upper Hutt
    Posts
    5,521
    Blog Entries
    26

    Any ASP.NET experts out there?

    I have to put a widget on our website - www.micrographics.co.nz to celebrate Records Awareness Week next week.

    Trouble is, our site runs on DotNeNuke, which means its running ASP.NET - and ASP.NET only allows one form per page, which is used for server side control.

    So, it's ignoring the form code for the widget.

    Widget code is:
    HTML Code:
    [B]Search: RAW 2010 - Industrious Kiwis: Archives & Industry[/B]
    
      
    
     [IMG]http://www.digitalnz.org/images/search/powered.gif[/IMG]   
      function DNZOptions() { DNZSearch.APIDomain = 'http://api.digitalnz.org/'; DNZSearch.hostedDomain = 'http://search.digitalnz.org/'; DNZSearch.serverRoot = 'http://www.digitalnz.org/'; DNZSearch.searchSlug = 'recordsandarchivesweek2010'; DNZSearch.APIKey = '2288c852c37ff96859bfea3567af7446';
      DNZSearch.stylesheet = 'http://www.digitalnz.org/content/stylesheets/archives.css';
      DNZSearch.logo = 'http://search.digitalnz.org/content/logos/0000/0284/archives.jpg';
      DNZSearch.numberOfResults = 4;
      }
       
    Now I've tried to get around it by using the "onclick" method described here but damned if I can get it to work.


    Can anyone fix my code for me please?
    And I to my motorcycle parked like the soul of the junkyard. Restored, a bicycle fleshed with power, and tore off. Up Highway 106 continually drunk on the wind in my mouth. Wringing the handlebar for speed, wild to be wreckage forever.

    - James Dickey, Cherrylog Road.

  2. #2
    Join Date
    6th May 2008 - 14:15
    Bike
    She resents being called a bike
    Location
    Wellllie
    Posts
    1,494
    Blog Entries
    3
    So you're calling a javascript function from a webpage? If you're using .Net you can use the onclientclick event in image tags... You might be able to get around it by using IFrames too...
    Last edited by mashman; 3rd May 2010 at 16:19. Reason: added iframes
    I didn't think!!! I experimented!!!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •