简体   繁体   English

为什么Web控件没有Windows应用程序之类的足够事件?

[英]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. FlexSilverlightWPF浏览器应用程序之类的一些技术已经超越了浏览器的限制,并且与传统的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.

相关问题 Windows就像Web应用程序中的外观 - Windows like look and feel in web application 当我创建Windows Azure负载平衡VM时,我的Web应用程序无法正确呈现Ajax控件 - When I create Windows Azure Load Balanced VM's my web application does not render the Ajax Controls correctly Web服务器控件中控件上的事件 - Events on controls in web server control 就像Web表单一样,asp.net Mvc 4应用程序中的Web用户控件 - web user controls in asp.net Mvc 4 application just like web forms 使用控件上的事件保存Web配置元素 - Saving web configuration elements with events on controls 在网页(HTML)上具有与Windows窗体等效的丰富窗体控件的最佳机制 - Best mechanism to have rich form controls on web page (HTML) equivalent to windows forms 如何在Windows应用程序和Web窗体应用程序中使用dll,即使它引用Web内容(如nUnit)? - How to use a dll in both windows application and web forms application even if it references web stuff (like nUnit)? ASP.NET Web应用程序不允许Default.aspx.cs文件中的控件选项,为什么? - ASP.NET Web Application not allowing Option for Controls in Default.aspx.cs file, why? Web应用程序未订阅NServiceBus事件 - Web application not subscribing to NServiceBus events Visual Studio 2013.您没有足够的权限访问计算机上的IIS网站 - Visual Studio 2013. You do not have sufficient privilege to access IIS web sites on your machine
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM