locked
Response url in thai language RRS feed

  • Question

  • User-1335484650 posted

    Please help

    I am. try response url from hyperlink control.

    Hyperlink1.NavigateUrl= ~/สวัสดีครับ.aspx  but hyperlink response

    http://localhost:1231/BlogazineCMSweb/%E0%B8%AA%E0%B8%A7%E0%B8%B1%E0%B8%AA%E0%B8%94%E0%B8%B5%E0%B8%84%E0%B8%A3%E0%B8%B1%E0%B8%9A.aspx

     

    but I want to response http://localhost:1231/BlogazineCMSweb/สวัสดีครับ.aspx

     

    I setting web.config  :

    <globalization fileEncoding="windows-874" requestEncoding="utf-8" responseEncoding="utf-8" responseHeaderEncoding="utf-8" culture="en-US" uiCulture="en-US"/>

     

    in .aspx

     <body>
        <form id="form1" runat="server">
        <div>
            <asp:HyperLink ID="HyperLink1" runat="server">สวัสดีครับ--hyperlink</asp:HyperLink>
            <p>สวัสดีครบ</p>
            <asp:Label ID="Label1" runat="server"></asp:Label>
            <a href="สวัสดีครับ.aspx">สวัสดีครับ--href</a><br />
            <asp:HyperLink ID="HyperLink2" runat="server" NavigateUrl="~/สวัสดีครับ.aspx">สวัสดีครับ--hyperlink</asp:HyperLink>
        </div>
        </form>
    </body>

     

    in .cs :

     

    protected void Page_Load(object sender, EventArgs e)
        {
            HyperLink1.NavigateUrl = "~/สวัสดีครับ.aspx";
            Label1.Text = "สวัสดีครับ";
        }

     

     

    Thank you for answer

    Tuesday, June 15, 2010 4:54 AM

All replies

  • User-1200560727 posted

    Please provide culture of thai language in web.config "th-TH" insted of "en-US".

    Tuesday, June 15, 2010 7:16 AM