Click here to Skip to main content
16,021,209 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Code project Team,


I have one doubt in asp.net I have created one asp.net web applicaition using c#, In this I have created one webuser control My page name is "Usercontrol.ascx".
My using Registration Tagname , Tagprefix I called in asp.net page i.e "Myusercontrol.aspx"

Can I call like this

<% @ Register TagPrefix="వ" TagName="వి" Src="~/ROPA/WebuserControllers/Feedback.ascx" Culture="te-IN" %>


TagPrefix other than English language Tagname also other than english language.
Currently I am using Telugu language for calling this I have googled for this problem No solution for this.


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FeedBackUsingWebUSer.aspx.cs" Inherits="ROPA_FormsUsing_WebuserControllers_FeedBackUsingWebUSer" UICulture="te" Culture="te-IN" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">

<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title></title>


<% @ Register TagPrefix="వ" TagName="వి" Src="~/ROPA/WebuserControllers/Feedback.ascx" %>



</head>
<body>
<form id="form1" runat="server">


<వ:వి id="sand" ruant="server" culture="te-IN" xmlns:వ="#unknown" />




<asp:Button ID="lgoutbttn" runat="server" Text="Logout" onclick="lgoutbttn_Click" />


</form>
</body>
</html>
Can you guys any one help me slove this.
Posted
Comments
Sergey Alexandrovich Kryukov 28-Nov-13 13:38pm    
"Other then non-English" means English. Do you need help in creation of UI in English?
—SA
I guess this is not possible.

Parsing characters other than English used as TagPrefix and TagName is not supported by compiler.
vanisandeep 28-Nov-13 13:54pm    
Can you please share me url for compiler Regrading this

Please see my comment to the question. Anyway, it looks like you need to start here: http://msdn.microsoft.com/en-us/library/c6zyy3s9%28v=vs.100%29.ASPX[^].

This CodeProject article can also be useful: Using Globalization and Localization in ASP.NET[^].

—SA
 
Share this answer
 
No I want tag name must be in other than english names

Genrally
<myusertag:tagprefix runat="server" xmlns:myusertag="#unknown">

<teluguwordhere:teluguwordhere runat="server" xmlns:teluguwordhere="#unknown" />
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900