ASP.NET: JavaScript object Component for Composite Control

感情迁移 提交于 2019-12-11 10:08:49

问题


I have two doubts:

1. I would like to add some client side support for my server composite control but I can't find the correct way to add JavaScript to him.

2. Another feature I would like to have for the client-side support is to have my JavaScript component object returned through $find(id, parent) (shortcut to findComponent method of the Sys.Application).

Can anyone help me? I'm not finding clear information about this :|

Regards,

Rodrigo S.


回答1:


Actually, the best article I've seen in the matter for beginners is ASP.NET AJAX Control Development




回答2:


For anyone that gets here looking for the same information, I was looking for, precisely, this information:

  • Creating Client Components and Controls
    • Creating Custom AJAX Client Controls (Link: ~/bb398906.aspx)
  • Adding Client Capabilities to a Web Server Control (Link: ~/bb386450.aspx)

Regards,

Rodrigo S.



来源:https://stackoverflow.com/questions/1577859/asp-net-javascript-object-component-for-composite-control

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!