473,505 Members | 15,626 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Loosing parameters via xml control

Howdy

I have an xslt that accepts parameters. In my code I set these paramaters
and pass them to the xml control to transform and display the xml according
to the xslt.

When I throw the form directly into the response.write it shows my
paramaters just fine. Since I altered the code to use the Xml Control, these
parameters are not received by the Xslt upon transformation via the xml
control.

Here is my code.

'*CTE00 - Throw the Document into a xml navigator.
'*************************************************
NavApproveCondition = DocApproveCondition.CreateNavigator()

'*CTE00 - Load up the Xslt form.
'*******************************
RsvApproveCondition.Credentials = CredentialCache.DefaultCredentials

XslApproveCondition.Load("C:\Inetpub\wwwroot\Credi tEase\xml\ApproveConditions.xslt", RsvApproveCondition)

'*CTE00 - Set the Xslt parmaters.
'********************************
PrmApproveCondition.AddParam("Application_ID", "", Application_ID)
PrmApproveCondition.AddParam("Main_Name", "", GetMain_Name)
PrmApproveCondition.AddParam("Mess", "", Mess)

'*CTE00 - Splash the form onto the browser canvas.
'*************************************************
'XslApproveCondition.Transform(NavApproveCondition ,
PrmApproveCondition, Response.OutputStream)
XmlControl.TransformArgumentList = PrmApproveCondition
XmlControl.Document = DocApproveCondition
XmlControl.Transform = XslApproveCondition

Is there a known issue with XMlControl and paramaters or am I doing
something wrong?

Much thanks
cornelius.
Mar 28 '06 #1
0 884

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1096
by: Peter Zuber | last post by:
Hi NG We want to load controls dynamically and create them on a WinForm. Doing so, we seem to loose type information. The scenario is as follows: The class MANCombobBox inherits from ComboBox...
3
10813
by: Joe Bloggs | last post by:
Does anyone know if its possible to pass parameters or the values of Request.QueryString from a web page to a custom control class? I'm using a C# Web Application. For Example I have Web Page1...
0
1137
by: Ziyad Makki | last post by:
Hello, I have created a Web Composite Control. I have also created a designer class that is used to render the control at design time. All though it dose work, I have been experiencing some...
8
5225
by: Sam Kuehn | last post by:
How do I accomplish the fallowing (is it even possible). Say I write a UserControl "MyControl.ascx". Now I use LoadControl("MyControl.ascx"). But I really want MyControl to require parameters in...
6
4519
by: Gauthier Segay | last post by:
Hello, I've problem on subsequent postbacks after a Server.Transfer was done. In our application framework we have a method that pass parameters (via HttpContext.Items) and navigate to another...
1
8807
by: Mikey G | last post by:
Hi, I created a simple VB.NET 2003 application through Visual Studio that connects to a MySQL database and loads a table into a Dataset, and then displays that table information in a DataGrid on a...
1
1647
by: Owen Richardson | last post by:
I have an asp.net website where i have a quick search facility built into my master page. the search is a web control, with a drop down country box and a list box full of cities. When i select...
0
897
by: c_shah | last post by:
I have a data bound repeater control; in the item template of the repeater I have two checkbox, dropdown list and a button (ASP.net controls). When that button is clicked it goes to another...
1
3493
by: Falcula | last post by:
Hello, I have a treeview control, when i select a item i navigate to url. But selected node is lost, it reset itself, loosing state. I post my code here. Thanks in advance. <script...
0
7303
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7367
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7018
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5613
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5028
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4699
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3187
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1528
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.