我在aspx頁面中有超鏈接。我編輯它是這樣的:如何解決此問題:服務器標記格式不正確
<asp:HyperLink ID="hypDuzenle" runat="server"
NavigateUrl='<%# String.Format("javascript:window.open('~/User/K/KPrintForm.aspx?
CD={0}&CT={1}&W={2}&SN={3}&MNR={4}&PNF={5}&MDT={6}',
'MsgWindow', 'width=200, height=100')", Eval("B_CD"), Eval("B_CZ"),
Eval("B_WE"), Eval("B_SE"), Eval("MAT"), Eval("SAT"), Eval("MAN"))%>'
ImageUrl="~/img/printer.png">
</asp:HyperLink>
不過,我收到此錯誤信息:
Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: The server tag is not well formed.
哪裏是什麼問題?
哪裏這個超鏈接在哪裏?你在使用GridView嗎? – Win
是的,超鏈接位於DevExpress AspxGridView中。 – 1teamsah