WebControl的

编程入门 行业动态 更新时间:2024-10-27 21:23:33
本文介绍了WebControl的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好。 我正在尝试进行网络控制。我需要穿上4个butons和一个标签 但是我没有idia如何制作它。我已经写了一些windowsformrs 控件,它与webcontrols非常不同。任何人都可以给我一个 idia如何制作它? 提前致谢

解决方案

如果你问如何制作Web用户控件,那么它很简单。在项目中添加一个新的项目,然后选择Web用户控制模板。将 控件添加到设计区域,然后就可以了。有几件事需要注意,但你应该为此做一些阅读。 但是,如果你指的是Web自定义控件渲染( 您完全控制可视UI)然后您需要创建一个这样的b $ b b并覆盖基类的Render成员函数。这些 控件比简单的Web用户控件要好得多,因为你必须完成代码中的大部分工作。 我建议你谷歌这个主题并先做一些阅读然后来回 回来提出具体问题,因为要求像你这样的广义问题 倾向于回复的方式很少,因为你几乎要求某人给你一个关于这个主题的完整教程。 但是,我希望我至少在你指向正确方向的时候给你一些帮助,我自己也是新手,并且对 主题知之甚少。我可能在学习曲线上走得很低但是我每天都要努力学习更多。 - 最好的问候 无与伦比的Mr Newbie o?o " Henrry Pires" < Nelson@Don''tuse>在消息中写道 新闻:uD ************** @ TK2MSFTNGP12.phx.gbl ...

大家好/> 我正在尝试进行网络控制。我需要穿上它4个butons和一个标签,但我没有idia如何制作它。我已经写了一些 windowsformrs控件,它与webcontrols非常不同。可以任何一个给我一个idia如何制作它? 提前致谢

为什么ASP中的一切都是很难? 谢谢 Mr Newbie <他** @ now>在消息中写道 新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...

如果你正在询问如何制作Web用户控件,然后简单。在项目中添加一个新项目,然后选择Web用户控制模板。将控件添加到设计区域,然后就可以了。有几点需要注意,但你应该做一些阅读。 但是,如果你指的是一个Web渲染的Web自定义控件(你可以完全控制可视UI)然后你需要创建其中一个并覆盖基类的Render成员函数。这些控件比简单的Web更难处理用户控制,因为你必须完成代码中的大部分工作。 我建议你先把这个主题搞定,先做一些阅读,然后再回答具体的问题在询问像这样的广义问题时,你的回复方式往往很少,因为你几乎要求某人给你一个关于这个主题的完整教程。 然而,我希望我至少能指出你在正确的方向给我一些帮助,我自己也是一个新手,对主题知之甚少。我可能会在学习曲线上走低,但我每天都在努力学习更多。 - 最好的问候 独特的Mr Newbie o?o Henrry Pires < Nelson@Don''tuse>在消息中写道新闻:uD ************** @ TK2MSFTNGP12.phx.gbl ...

大家好, 标签,但我没有idia如何制作它。我已经写了一些 windowsformrs控件,它与webcontrols非常不同。任何一个人能给我一个idia如何制作它? 提前致谢

这是ASP.NET,而不是ASP。它并不难,它只是与众不同,而且有时它可能像许多新事物一样压倒性。但是如果你坚持使用 它就会没问题。 - 最好的问候 独特的新手先生o?o Henrry Pires < Nelson@Don''tuse>在消息中写道 新闻:%2 **************** @ TK2MSFTNGP15.phx.gbl ...

为什么一切都在ASP太难了吗? 新手先生 <他** @ now>在消息中写道新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...

如果你问怎么样制作Web用户控件,然后简单。在项目中添加一个新项目,然后选择Web用户控制模板。将控件添加到设计区域,然后就可以了。有几点需要注意,但你应该做一些阅读。 但是,如果你指的是一个Web渲染的Web自定义控件(你可以完全控制可视UI)然后你需要创建其中一个并覆盖基类的Render成员函数。这些控件比简单的Web更难处理用户控制,因为你必须完成代码中的大部分工作。 我建议你先把这个主题搞定,先做一些阅读,然后再回答具体的问题在询问像这样的广义问题时,你的回复方式往往很少,因为你几乎要求某人给你一个关于这个主题的完整教程。 然而,我希望我至少能指出你在正确的方向给我一些帮助,我自己也是一个新手,对主题知之甚少。我可能会在学习曲线上走低,但我每天都在努力学习更多。 - 最好的问候 独特的Mr Newbie o?o Henrry Pires < Nelson@Don''tuse>在消息中写道新闻:uD ************** @ TK2MSFTNGP12.phx.gbl ...

大家好, 标签,但我没有idia如何制作它。我已经写了一些 windowsformrs控件,它与webcontrols非常不同。任何一个人能给我一个idia如何制作它? 提前致谢

Hello to all I''m trying to make a webcontrol. I need to put on it 4 butons and one label but i have no idia how to make it. I already wrote some windowsformrs controls and it is very diferent from webcontrols. Can any one give me an idia how to make it? Thanks in advance

解决方案

If you are asking how to make Web User Controls, then its simple. Add a New Item to your project and choose the Web User Control Template. Add your controls to the design area and there you go. There are a few things to watch out for, but you should do some reading for that. If however, you are referring to a Web Custom Control which is rendered ( You are in complete control of the visual UI ) then you need to create one of those and override the Render member function of the base class. These controls are far more tricky to get right than a simple Web User Control because you have to do most of the work in the code. I suggest you google the subject up and do some reading first and then come back with specific questions as asking generalised questions like you have tend to illicit little in the way of replies, because you are almost asking someone to give you a complete tutorial on the subject. However, I hope that I have been of some help to you in at least pointing you in the right direction, Im a novice myself and know little about the subject. Im probably way down low on the learning curve but Im striving each day to learn more. -- Best Regards The Inimitable Mr Newbie o?o "Henrry Pires" <Nelson@Don''tuse> wrote in message news:uD**************@TK2MSFTNGP12.phx.gbl...

Hello to all I''m trying to make a webcontrol. I need to put on it 4 butons and one label but i have no idia how to make it. I already wrote some windowsformrs controls and it is very diferent from webcontrols. Can any one give me an idia how to make it? Thanks in advance

Why everythingin ASP is so hard? Thanks "Mr Newbie" <he**@now> wrote in message news:%2****************@TK2MSFTNGP12.phx.gbl...

If you are asking how to make Web User Controls, then its simple. Add a New Item to your project and choose the Web User Control Template. Add your controls to the design area and there you go. There are a few things to watch out for, but you should do some reading for that. If however, you are referring to a Web Custom Control which is rendered ( You are in complete control of the visual UI ) then you need to create one of those and override the Render member function of the base class. These controls are far more tricky to get right than a simple Web User Control because you have to do most of the work in the code. I suggest you google the subject up and do some reading first and then come back with specific questions as asking generalised questions like you have tend to illicit little in the way of replies, because you are almost asking someone to give you a complete tutorial on the subject. However, I hope that I have been of some help to you in at least pointing you in the right direction, Im a novice myself and know little about the subject. Im probably way down low on the learning curve but Im striving each day to learn more. -- Best Regards The Inimitable Mr Newbie o?o "Henrry Pires" <Nelson@Don''tuse> wrote in message news:uD**************@TK2MSFTNGP12.phx.gbl...

Hello to all I''m trying to make a webcontrol. I need to put on it 4 butons and one label but i have no idia how to make it. I already wrote some windowsformrs controls and it is very diferent from webcontrols. Can any one give me an idia how to make it? Thanks in advance

This is ASP.NET , not ASP. It''s not hard, it''s just different, and sometimes it can be overwhelming like many new things. But if you stick with it, you will be ok. -- Best Regards The Inimitable Mr Newbie o?o "Henrry Pires" <Nelson@Don''tuse> wrote in message news:%2****************@TK2MSFTNGP15.phx.gbl...

Why everythingin ASP is so hard? Thanks "Mr Newbie" <he**@now> wrote in message news:%2****************@TK2MSFTNGP12.phx.gbl...

If you are asking how to make Web User Controls, then its simple. Add a New Item to your project and choose the Web User Control Template. Add your controls to the design area and there you go. There are a few things to watch out for, but you should do some reading for that. If however, you are referring to a Web Custom Control which is rendered ( You are in complete control of the visual UI ) then you need to create one of those and override the Render member function of the base class. These controls are far more tricky to get right than a simple Web User Control because you have to do most of the work in the code. I suggest you google the subject up and do some reading first and then come back with specific questions as asking generalised questions like you have tend to illicit little in the way of replies, because you are almost asking someone to give you a complete tutorial on the subject. However, I hope that I have been of some help to you in at least pointing you in the right direction, Im a novice myself and know little about the subject. Im probably way down low on the learning curve but Im striving each day to learn more. -- Best Regards The Inimitable Mr Newbie o?o "Henrry Pires" <Nelson@Don''tuse> wrote in message news:uD**************@TK2MSFTNGP12.phx.gbl...

Hello to all I''m trying to make a webcontrol. I need to put on it 4 butons and one label but i have no idia how to make it. I already wrote some windowsformrs controls and it is very diferent from webcontrols. Can any one give me an idia how to make it? Thanks in advance

更多推荐

WebControl的

本文发布于:2023-11-11 17:00:36,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1579036.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:WebControl

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!