2014-09-05 130 views
0

我有本地版本和由IIS承载到服务器上的版本。刷新页面时CSS样式出错

当我点击链接加载了我的页面中的所有造型精美,它suppost是它在哪里:

enter image description here

我选择我的所有数据,并提交我的网页和运行这个C#码。

newRecord.NumberofItems = Convert.ToInt32(totalitems); 

cPostFunctions test = new cPostFunctions(); 

test.InsertNewRecord(newRecord); 

//Add Message 
Response.Write("<script langauge=\"javascript\">alert(\"Entry Submitted\");</script>"); 

Page_EntrySubmitted(null, EventArgs.Empty); 

在Page_EntrySubmitted方法它是所有设置文本框,下拉框和标签为NULL。

当页面刷新警报之后出现这种情况:

enter image description here

我所有的款式越来越挺了过来,但似乎因为它是拉伸的一切。

这只是发生在服务器不是我的本地版本

+0

你能分享一个链接到你的服务器,以便我们可以尝试调试它吗? – 2014-09-05 09:35:07

+0

您可以分享完整的代码。它可能会丢失一些css文件 – masum7 2014-09-05 09:45:06

回答

0

,当你再次创建页面,你需要清除以前的HTML内容,我认为。