Re: WebControl

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Why everythingin ASP is so hard?

Thanks

"Mr Newbie" <here@xxxxxxx> wrote in message
news:%2338XWST4FHA.1396@xxxxxxxxxxxxxxxxxxxxxxx
> 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 º¿º
>
>
>
> "Henrry Pires" <Nelson@Don'tuse.com> wrote in message
> news:uDembwS4FHA.1184@xxxxxxxxxxxxxxxxxxxxxxx
>> 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
>>
>
>


.



Relevant Pages

  • Re: Efficient site maintenance with VS.NET
    ... codebehind files of one webapp project is impossible without creating ... I have to wonder what exactly you mean by "web user ... If you're talking about controls that draw their own HTML ... we have a Data Class that is in its own DLL. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: click events no longer work on dynamically loaded web user control
    ... of web user controls dynamically with page.loadcontrol. ... OnInit/Page_load!Postback, load the usercontrols ... OnInit/Page_load Postback, load the usercontrols that were loaded before the postback occured. ...
    (microsoft.public.dotnet.framework.aspnet)
  • IsPostBack Sequencing problem in dynamically created controls on web page.
    ... Scenario:- My requirement is to load the web user controls on the web ... PostBack of this control and should execute NotPostBack of all the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Validators wont let me leave aspx form using web user controls!
    ... Validation controls work great for scenarios where you fill everything in ... Scrap the validation controls in this exercise. ... > If I have got 2 web user controls on my aspx form, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Event Handler for button click in Custom WebControl
    ... I am trying to write a custom WebControl - at some point this WebControl ... How should I be creating and outputting multiple controls (buttons, ... output all the panels in the Render method)? ... Why does the event handler get "lost" when I put the event handler ...
    (microsoft.public.dotnet.framework.aspnet)