473,378 Members | 1,512 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,378 software developers and data experts.

Embed UserControls into XSLT

Hi all

I am trying to embed a user control into an XSLT.. Can something like be
done?? If not, any other better alternative?

Thanks
Sekhar

Mar 27 '06 #1
3 1386
It depends on whether the XSL Transform is being done on the server or the
client.
On the server, you could emit ASP.NET control declarative markup and it
should be processed correctly by the runtime.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Sekhar" wrote:
Hi all

I am trying to embed a user control into an XSLT.. Can something like be
done?? If not, any other better alternative?

Thanks
Sekhar

Mar 27 '06 #2
Hi
Thanks for your reply... When you "On Server Side emit ASP.NET control
MarkUp", could you give me sample code. I am going thru your article.

I woudl like to look at that sample code

Thanks
Sekhar
"Peter Bromberg [C# MVP]" wrote:
It depends on whether the XSL Transform is being done on the server or the
client.
On the server, you could emit ASP.NET control declarative markup and it
should be processed correctly by the runtime.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Sekhar" wrote:
Hi all

I am trying to embed a user control into an XSLT.. Can something like be
done?? If not, any other better alternative?

Thanks
Sekhar

Mar 27 '06 #3
Hello

I want to do that on the client side.. how would i do it

Thanks
Sekhar
"Peter Bromberg [C# MVP]" wrote:
It depends on whether the XSL Transform is being done on the server or the
client.
On the server, you could emit ASP.NET control declarative markup and it
should be processed correctly by the runtime.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"Sekhar" wrote:
Hi all

I am trying to embed a user control into an XSLT.. Can something like be
done?? If not, any other better alternative?

Thanks
Sekhar

Mar 30 '06 #4

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

Similar topics

2
by: D. Alvarado | last post by:
Hello, I am outputting HTML from an XSLT and I am having trouble setting the value of a form-action field based on certain conditions. Here is the non-working code: <xsl:template...
2
by: Greg Merideth | last post by:
I have an XSL file that I am using to transform some XML data using this method below. The problem is that if I use an embedded .XSL file in the .NET assembly, I get an error indicating that the...
4
by: Anders K. Jacobsen [DK] | last post by:
Hi I have some common UserControls i want to share between to sites (on the same mashine but on diffrent virtual paths). right now i have on solution file with aprox 10 projects. 2 of these is...
5
by: pjfarley3 | last post by:
Hi all, First-timer here, with a question about composing XML and XSL. I have a need to send one XML file with NO external server references to an end-user browser window; i.e., I would like to...
9
by: johkar | last post by:
I would like to embed some XML within my XSL as either a param or a global variable. Is this possible? If so, what is the syntax to access it? <xsl:call-template name="securetemplate">...
4
by: Nathan Sokalski | last post by:
In several of my UserControls I add properties. If I access these properties in the CodeBehind of the pages that use the controls, I recieve an error when compiling. The reason for this is because...
6
by: qualitychecker | last post by:
Hello thanks for your help.. I try to reference a PHP module from within a HTML file, see below ---------------------------------------- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">...
4
by: csgraham74 | last post by:
Ok - i was wondering if someone could help me. im basically trying to embed an html string in piece of XML. i created an xsl and added the CDATA into the xml around the html i wish to render....
7
by: Nathan Sokalski | last post by:
I have a page which I dynamically add several usercontrols (*.ascx files) to using the following code: Public Sub Refresh() For Each section As DataRow In Me.GetSections().Rows...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.