473,397 Members | 1,949 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

xslt, xml, and web controls

I have a little predicamnet. I have two xml controls on my page. Both
are menus for my site. The first (Category) needs to set the data
source of the other xml control. To do this I created an xslt file
that generates the value of each item in the first xml file as
hyperlink. Easy enough. Next I needed the hyperlink to execute C#
code in order to load the second xml control with the appropriate xml
file. I placed a hidden button on the page and used the javascript
onclick to click the button. This worked for html controls but not for
..net web controls. The reason I need a .net control is because I have
to pass a command arg to the event so the code knows which xml file to
load based on the selection the user makes in the category xml menu.
Anyway, it seems like I am trying to traverse across four different
technologies to accomplish this, html, xslt/xml, javascript, and
finally .Net. I can get it close, but without being able to pass a
parameter from the xslt-generated hyperlink to the c# code it won't
work for me. Any suggestions?

Nov 19 '05 #1
2 1410
Well. It turned out that instead of using the xml web control for my
first (category) xml menu, I opted for a datalist bound to the xml
file, which gave me much more control...

Nov 19 '05 #2
Well. It turned out that instead of using the xml web control for my
first (category) xml menu, I opted for a datalist bound to the xml
file, which gave me much more control...

Someday it would be nice if this control (xml) could mimic some of the
properties of the datagrid and datalist, with column selection,
templates, etc... But then again why not just use the datagrid?

oh well.

Nov 19 '05 #3

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

Similar topics

0
by: Mike | last post by:
I'm generating an XSLT document programatically in VB.Net. I'm then trying to apply that XSLT against a cXML document to generate my own internally developed XML document. I'm using RichTextBox...
5
by: Fred | last post by:
Not much expertise on XSLT and trying to understand it's uses when creating apps in VS.NET? If I wanted flexibility on the UI (View aspect of M.V.C.): - How does it compare with creating...
0
by: suzy | last post by:
hi, i am new to .net. Currently i am writing a page that needs to contain several controls. i am using a place holder to add controls to the page one-by-one. is this the best way? i have a...
0
by: nospam | last post by:
I am looking for some feedback, experiences, or design patterns with respect to implementing a branding system (or at least a brandable web application) in ASP.NET. Some questions that arose in my...
1
by: Felipe Garcia | last post by:
how can i use asp.net web server controls with xslt ? the problem is that we have an solution that was built with asp + xslt, and we need to convert the solution to asp.net therefore all of the...
0
by: CJ de Vos | last post by:
Hi, I'm using XML and XSLT to format my HTML. After a postback I recreate all controls as soon as possible (OnInit and after the LoadViewstate). After the recreation all events are handled...
6
by: Scott Zabolotzky | last post by:
I have the following XML sample: <Component Name="A"> <Param Name="OptionEnabled" DataType="boolean"> <Default>true</Default> </Param> <Param Name="Size" DataType="unsignedInt"/> <Param...
9
by: daph4ntom | last post by:
Right, I need some some views on the pros and cons of using XSLT versus ASP.NET 2.0 for the Presentation layer of an app. My company are looking at creating multiple sites and multi lingual...
2
by: MichaelRKramer | last post by:
Hi, I'm new to dotnet 2.0, but I'm an expert in asp 3 or classic asp. Most of my sites are all done with XSLT and ASP which basically writes XMLs. Now I'm reading about the new cool stuff in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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
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...
0
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
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,...
0
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...

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.