Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
telerik
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  XML Module [Lea...  getting a form list from XSL to post
Previous Previous
 
Next Next
New Post 11/29/2006 11:37 AM
User is offline Tom Van Wynen
28 posts
www.wycliffe.net
10th Ranked


getting a form list from XSL to post 

Hi Colin and all on this forum,

glad to hear of the plans / progress on the XML module. I can hardly wait to be able to use them.

One thing that isn't really XML related, but I can't find any other place on the DNN Forums to post it because it is unique to the output of the XML / XSLT process: how to get a form list element to post to a new page.

A similar problem includes an AJAX call back to get specific data from an XML file that was used for produce a list of items in the first call.

for the first problem:
I read an XML feed with a parameter (using Simon's modified module for now) to get one of several hundred possible lists of items (languages and language codes in this case). Now I want to use the list to pass a language code parameter to another page so that the modified XML modules on that page can request the XML with the parameter to get results limited by that parameter as a filter.

I can't just use a form submit button, since that doesn't function in the DNN environment. So I need a javascript postback. I think that the core API has this, but it doesn't look like I can use it without being able to register it on the server side, and I can't do that since I am not writing the module code. Right now I am using a small postback javascript that I insert into a text module on the page. I can put it into a .js file on the server and just use a script call, and I can have the XSLT write that all out dynamically to avoid the extra text module.

so my question is: is it possible to use the core API postback scripts directly without registering them in the serverside module? After trying to understand the Client API docs the past few days, it looks like it may not be possible, since the scripts only communicate through settings on the serverside.

My AJAX solution is similar, since I could not figure out how to use the DNN Ajax code directly.

I guess if I use my own js code I need to come up with some kind of namespace convention so my variables don't step on any others.

Any thoughts on this topic would be appreciated,

thanks,  tomvw

 
New Post 11/30/2006 8:09 AM
User is offline Tom Van Wynen
28 posts
www.wycliffe.net
10th Ranked


Re: getting a form list from XSL to post 

sorry, got the wrong name at the top of the above post; that's what comes of writing too many emails at once.

so Stefan and possibly Simon, any thoughts on getting a form list box generated by the XSLT to submit? In this case I need to submit to a new page, with parameters.

thanks, tomvw

 
New Post 11/30/2006 12:50 PM
User is offline Stefan Cullmann
1553 posts
5th Ranked








Re: getting a form list from XSL to post 
I don't know, never done this, but this might help: http://www.codeproject.com/aspnet/jsnopostback.asp
Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com
form and List will be the successor of the User Defined Table module.
----------------------------------------------------------------------
Do you want to import external data to form and List /User Defined Table?
Check out http://www.codeplex.com/Csv2UDTImport
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  XML Module [Lea...  getting a form list from XSL to post
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


OnyakTech
Modules for Help Desks, Live Chat, Project Management, CRM, Charting, Reporting, Scrolling Text/Images, Portal Community tools and much more.
www.OnyakTech.com
IHostASP.NET Provides the Ideal DNN Hosting
We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet.
www.ihostasp.net
$7.16/mo - Powerful DotNetNuke / DNN Hosting
Powerful DotNetNuke / DNN Hosting on Windows 2008 and 2003 servers, starting at under $8/mo with FREE SQL 2008 on certain plans and FREE SQL 2005 on all plans with FREE Installation and expert support.
www.re-invent.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP