.net Web应用程序在Safari浏览器上运行
问题描述:
大家好,
我需要创建一个 C#.Net Web应用程序,该应用程序可以在 Safari浏览器(iPad 2)
上运行
有可能吗?
如果是,请指导我创建一个.
Hi all,
I need to create a C#.Net web application, which can be run on safari browser(IPad 2)
Is it possible?
If yes, please guide me to create one.
答
是的,它毕竟可能只是一个Web应用程序-关于一些限制布局等
阅读此文章 [
Yes it''s possible, it''s just a web application after all - with a few restrictions regarding layout etc
Have a read of this aricle [^]
我可以尝试这样做:
Hi,
I try this if could help:
protected void Page_PreRender(object sender, EventArgs e)
{
HtmlMeta metatag = new HtmlMeta();
metatag.Attributes.Add("http-equiv", "X-UA-Compatible");
metatag.Attributes.Add("content", "ID=EmulateIE7");
metatag.Attributes.Add("content", "IE=8");
metatag.Attributes.Add("content", "IE=edge");
Page.Header.Controls.AddAt(0, metatag);
}
问候,
代数
Regards,
Algem