WebControl的 [英] WebControl

查看:64
本文介绍了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.com>在消息中写道

新闻:uD ************** @ TK2MSFTNGP12.phx.gbl ...

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

提前致谢



为什么ASP中的一切都是很难?


谢谢


Mr Newbie <他** @ now.com>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...

如果你正在询问如何制作Web用户控件,然后简单。在项目中添加一个新项目,然后选择Web用户控制模板。将控件添加到设计区域,然后就可以了。有几点需要注意,但你应该做一些阅读。

但是,如果你指的是一个Web渲染的Web自定义控件
(你可以完全控制可视UI)然后你需要创建其中一个并覆盖基类的Render成员函数。
这些控件比简单的Web更难处理用户
控制,因为你必须完成代码中的大部分工作。

我建议你先把这个主题搞定,先做一些阅读,然后再回答具体的问题在询问像
这样的广义问题时,你的回复方式往往很少,因为你几乎要求某人给你一个关于这个主题的完整教程。

然而,我希望我至少能指出你在正确的方向给我一些帮助,我自己也是一个新手,对
主题知之甚少。我可能会在学习曲线上走低,但我每天都在努力学习更多。

-
最好的问候

独特的Mr Newbie o?o

Henrry Pires < Nelson@Don''tuse.com>在消息中写道
新闻:uD ************** @ TK2MSFTNGP12.phx.gbl ...

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

提前致谢



这是ASP.NET,而不是ASP。它并不难,它只是与众不同,而且有时它可能像许多新事物一样压倒性。但是如果你坚持使用

它就会没问题。


-

最好的问候


独特的新手先生o?o


Henrry Pires < Nelson@Don''tuse.com>在消息中写道

新闻:%2 **************** @ TK2MSFTNGP15.phx.gbl ...

为什么一切都在ASP太难了吗?

新手先生 <他** @ now.com>在消息中写道
新闻:%2 **************** @ TK2MSFTNGP12.phx.gbl ...

如果你问怎么样制作Web用户控件,然后简单。在项目中添加一个新项目,然后选择Web用户控制模板。将控件添加到设计区域,然后就可以了。有几点需要注意,但你应该做一些阅读。

但是,如果你指的是一个Web渲染的Web自定义控件
(你可以完全控制可视UI)然后你需要创建其中一个并覆盖基类的Render成员函数。
这些控件比简单的Web更难处理用户
控制,因为你必须完成代码中的大部分工作。

我建议你先把这个主题搞定,先做一些阅读,然后再回答具体的问题在询问像
这样的广义问题时,你的回复方式往往很少,因为你几乎要求某人给你一个关于这个主题的完整教程。

然而,我希望我至少能指出你在正确的方向给我一些帮助,我自己也是一个新手,对
主题知之甚少。我可能会在学习曲线上走低,但我每天都在努力学习更多。

-
最好的问候

独特的Mr Newbie o?o

Henrry Pires < Nelson@Don''tuse.com>在消息中写道
新闻: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.com> 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.com> 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.com> 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.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...

Why everythingin ASP is so hard?

Thanks

"Mr Newbie" <he**@now.com> 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.com> 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的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆