[英]Why web controls does not have sufficient events like windows application?
Hai , An asp panel contains only 6 events. Hai,一个asp面板仅包含6个事件。 if they provide a visibilechanged event it may very useful for me.
如果他们提供可见变化的事件,对我来说可能非常有用。 if it is in windows application ,how easy it is.I dont know why thy are not providing all these.This is same as in the case of gridView, button ,etc.
如果它在Windows应用程序中,那是多么容易。我不知道为什么你不提供所有这些。这与gridView,button等相同。
just think , I have an Iframe in an asp panel and two buttons. 试想一下,我在ASP面板中有一个Iframe和两个按钮。 In first time it is invisible .Buttons named first and second respectively.
第一次是不可见的按钮,分别命名为first和second。 Two another pages One.aspx,two.aspx.
另外两个页面One.aspx,two.aspx。 These two pages contains each text box.
这两个页面包含每个文本框。 When you click on the First button .
当您单击第一个按钮时。 I want to set the Iframe src="One.aspx" and display "first" in the textbox on One.aspx.
我想设置Iframe src =“ One.aspx”并在One.aspx的文本框中显示“ first”。 as same in the case , when user clicks Second button.
与情况相同,当用户单击“第二个”按钮时。 How to do this ?
这个怎么做 ?
Web technologies work quite differently than Desktop technologies . Web技术的工作方式与Desktop技术完全不同。
Desktop technologies can directly talk to native OS and hence they are functionally more rich. 桌面技术可以直接与本机操作系统通信,因此它们的功能更加丰富。
In case of web technologies, the application runs on a web-browser which is independant of server-side web technolgy and vice-versa. 对于Web技术,该应用程序在Web浏览器上运行,该浏览器与服务器端Web技术无关,反之亦然。 Both the server and the web-browser talk using Http which is stateless transport service.
服务器和Web浏览器都使用Http进行交谈,Http是无状态传输服务。
Some technolgies like Flex , Silverlight and WPF browser applications have gone beyond the browser limitations and they have become much more rich compared to traditional web-apps. Flex , Silverlight和WPF浏览器应用程序之类的一些技术已经超越了浏览器的限制,并且与传统的Web应用程序相比,它们变得更加丰富。
WPF browser apps and Silverlight are bridging this gap very fast.
WPF浏览器应用程序和Silverlight正在迅速弥合这一差距。
Er, its quite hard to understand your disjointed sentences, but it sounds like you just want to handle the button clicked event. 嗯,很难理解不连贯的句子,但听起来您只想处理按钮单击事件。
In Visual Studio, in design view, double-click the button and it will generate the click handler event for you. 在Visual Studio的设计视图中,双击按钮,它将为您生成单击处理程序事件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.