本文介绍了如何创建webusertag或非英语的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨代码项目团队,





我有一个疑问在asp.net中我使用c#创建了一个asp.net web应用程序,在此我创建了一个webuser控件我的页面名称是Usercontrol.ascx。

我使用注册标记名,Tagprefix我调用了在asp.net页面即Myusercontrol.aspx



我可以这样打电话吗



< %@注册TagPrefix =వTagName =విSrc =〜/ ROPA / WebuserControllers / Feedback.ascxCulture =te-IN%>





TagPrefix以外的英语Tagname也不是英语。

目前我正在使用泰卢固语来调用这个我已经用Google搜索了这个问题没有解决方案。





<%@ Page Language =C#AutoEventWireup =trueCodeFile =FeedBackUsingWebUSer.aspx.csInherits =ROPA_FormsUsing_WebuserControllers_FeedBackUsingWebUSerUICulture =teCulture =te-IN%>



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



< html xmlns =http://www.w3.org/1999/xhtml>

< head runat =server>



< meta http-equiv =Content-Typecontent =text / html; charset = utf-8/>

< title>< / title>





< ;%@注册TagPrefix =వTagName =విSrc =〜/ ROPA / WebuserControllers / Feedback.ascx%>







< / head>

< body>

< form id =form1runat =server>

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 =sandruant =serverculture =te-INxmlns:వ=#unknown/>





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









< asp:按钮ID =lgoutbttnrunat =serverText =Logoutonclick = lgoutbttn_Click/>




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



< / form>

< /身体>

< / html>

你能帮助我解决这个问题。


</form>
</body>
</html>
Can you guys any one help me slove this.

推荐答案



这篇关于如何创建webusertag或非英语的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-19 01:13