tia_kamakshi
asked on
runat="server" is not working when transforming xml and xslt
Hi,
I am working on ASP.net2.0 using c#
I am rendering my form using xml and xslt as follows in aspx page
<asp:Xml runat="server" ID="tblTenderDetail" DocumentSource="~/system/x ml/Procure mentDocume nt_Summary .xml" TransformSource="~/system/ xml/tender Detail.xsl " ></asp:Xml>
The output of xml and xslt also creates form on aspx page and displays good on the browser.
As said the transformation of xml, xslt creates form on the aspx page
In xslt I am creating input text field as below
<input type="text" id="txtCompanyName" name="txtCompanyName" runat="server" class="formText" />
as a result, aspx is not rendering this text field as runat="server" and therefore I am not able to read the html textfield in code behind.
I can see textfield on the browser but i am not able to read its values
Is there anyway to force xml and xslt output to runat server or how we can read these values
Please suggest
Thanks & Regards
I am working on ASP.net2.0 using c#
I am rendering my form using xml and xslt as follows in aspx page
<asp:Xml runat="server" ID="tblTenderDetail" DocumentSource="~/system/x
The output of xml and xslt also creates form on aspx page and displays good on the browser.
As said the transformation of xml, xslt creates form on the aspx page
In xslt I am creating input text field as below
<input type="text" id="txtCompanyName" name="txtCompanyName" runat="server" class="formText" />
as a result, aspx is not rendering this text field as runat="server" and therefore I am not able to read the html textfield in code behind.
I can see textfield on the browser but i am not able to read its values
Is there anyway to force xml and xslt output to runat server or how we can read these values
Please suggest
Thanks & Regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.