Nileshlulla
asked on
Getting Hyperlink NavigateUrl property set to parameter with value XPath attribute
in my aspx file i am using asp:hyperlink
<asp:HyperLink ID="link" runat="server" Text='<%# XPath("@id") %>' NavigateUrl= 'Sectionlayer.aspx?file= <%# XPath("@Path") %>'
Font-Names="Verdana" Font-Size="X-Small"></asp: HyperLink> |
and getting the error "the server tag is not well formed".
without - Sectionlayer.aspx?file= part i am getting the Xpath value correctly.
there is some problem in quotes can u plz let me know where am i going wrong.
this hyperlink i am using in a repeater control to create a dynamic paging with html files linked to it.
can u also show some good paging samples with numeric pages and previous and next button.with good hover and link visited hyperlink button style. In the format as below:
previous 1 2 3 4 5 6 7 .... 10 20 next.
<asp:HyperLink ID="link" runat="server" Text='<%# XPath("@id") %>' NavigateUrl= 'Sectionlayer.aspx?file= <%# XPath("@Path") %>'
Font-Names="Verdana" Font-Size="X-Small"></asp:
and getting the error "the server tag is not well formed".
without - Sectionlayer.aspx?file= part i am getting the Xpath value correctly.
there is some problem in quotes can u plz let me know where am i going wrong.
this hyperlink i am using in a repeater control to create a dynamic paging with html files linked to it.
can u also show some good paging samples with numeric pages and previous and next button.with good hover and link visited hyperlink button style. In the format as below:
previous 1 2 3 4 5 6 7 .... 10 20 next.
<asp:HyperLink ID="link" runat="server" Text='<%# XPath("@id") %>' NavigateUrl= 'Sectionlayer.aspx?file= <%# XPath("@Path") %>'
Font-Names="Verdana" Font-Size="X-Small"></asp:HyperLink> |
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.