Re: Setting html button invisible

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Eliyahu

I now know how they make those miserable little popups that refuse to close
on some of those seedy websites. I forgot to set my hidden control that
starts the whole thing, back to null. Anyway fixed it and now its working
beautifully!

Thanks again, your help is very much appreciated.

Kind regards
MW


"Eliyahu Goldin" <removemeegoldin@xxxxxxxxxxxxxx> wrote in message
news:eZnIYlPbFHA.2416@xxxxxxxxxxxxxxxxxxxxxxx
> Call myForm.submit() on the client. This will post back to the server. You
> can communicate any extra information to the server in other hidden
> fields.
> For example, you might want to tell the server that you want it to delete
> items. Allocate a hidden input for "action code" like "delete" etc.
>
> Eliyahu
>
> "MW de Jager" <mwdejager@xxxxxxxxxxxxxxxxx> wrote in message
> news:d89fgp$pcf$1@xxxxxxxxxxxxxxxxxxxxx
>> Correct.
>>
>> I am getting the result on the server side in a hidden component. The
>> problem is, I want server side to do something immediately on receiving
> the
>> result back.
>>
>> Here is the scenario:
>> Say you have a page where the user flags a number of items for deletion.
> If
>> he flags all of them, you popup a dialog to confirm deleting all the
>> items
>> on the page. If he clicks yes, server side needs to know that
> immediately,
>> to start processing.
>>
>> I cannot do this from client side, unless I can find a way to fire the
>> pageload or a refresh of some kind from the client side code.
>> Is there another way to do this that I'm missing?
>>
>> Kind regards
>> MW
>>
>> "Eliyahu Goldin" <removemeegoldin@xxxxxxxxxxxxxx> wrote in message
>> news:%23syGJNPbFHA.2756@xxxxxxxxxxxxxxxxxxxxxxx
>> > MW,
>> >
>> > This time I am not in luck. I don't get what exactly you want to
> achieve.
>> >
>> > Can you elaborate your scenario?
>> >
>> > The calling page client side calls showModalDialog,
>> > The calling page client side gets result back,
>> > You want to get the result in the calling page server-side
>> > ???
>> >
>> > Eliyahu
>> >
>> > "MW de Jager" <mwdejager@xxxxxxxxxxxxxxxxx> wrote in message
>> > news:d89d8c$lib$1@xxxxxxxxxxxxxxxxxxxxx
>> >> Thanks Eliyahu
>> >>
>> >> I knew you would come up with a quick and easy solution.
>> >>
>> >> Now I have a different problem though. I'm using showModalDialog to
>> > display
>> >> my html page and I receive a result back from showModalDialog. I would
>> > like
>> >> to respond to this result immediately in C#, but by the time the user
>> >> pressed a button, the pageload of my initial calling page has already
>> > fired.
>> >>
>> >> Is there any way to refresh my page once the dialog was closed?
>> >>
>> >> Kind regards
>> >>
>> >> MW
>> >>
>> >> "Eliyahu Goldin" <removemeegoldin@xxxxxxxxxxxxxx> wrote in message
>> >> news:uaKXuiObFHA.2444@xxxxxxxxxxxxxxxxxxxxxxx
>> >> > Sure,
>> >> >
>> >> > <input type=button id=myButton value="Press me">
>> >> >
>> >> > myButton.style.display="none";
>> >> >
>> >> > myButton.style.display="inline";
>> >> >
>> >> > Eliyahu
>> >> >
>> >> > "MW de Jager" <mwdejager@xxxxxxxxxxxxxxxxx> wrote in message
>> >> > news:d899ii$f2t$1@xxxxxxxxxxxxxxxxxxxxx
>> >> >> I'm trying to create an html page that will change dynamically. I
>> >> >> need
>> >> >> to
>> >> >> switch html -buttons between visible and invisible.
>> >> >>
>> >> >> Is there any way I can do this with a script?
>> >> >>
>> >> >> Regards
>> >> >> MW
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>>
>>
>
>


.



Relevant Pages

  • Re: Add remote client PC...remotely! (problem)
    ... the eventlogs of that client and the server? ... >> With Netbios name I mean your AD Domain name. ... >>> inbound rules to setup for this to work.The server end is also ... >>> Kind regards ...
    (microsoft.public.windows.server.sbs)
  • Re: Groups nested in groups
    ... that you can contact the server that authenticated you. ... Please post an unedited ipconfig /all from the problem client and the DC/DNS ... The Error comes when i use a cmd and do a net time, ... Kind regards Tom ...
    (microsoft.public.windows.server.active_directory)
  • Re: XML Web Service Client allows at maximum two asynch Requests
    ... Kind Regards, ... > client from overloading the server with connection requests. ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Enabling Active mode on windows 2000 server
    ... The mode of an FTP session is determined by the client not the server. ...
    (microsoft.public.inetserver.iis.ftp)
  • Re: What doesnt lend itself to OO?
    ... >> proxy and instructs the server to constuct the real object. ... rather than client code. ... If 'clock' is instantiated in the server, ... > for the server interface at the OOA level. ...
    (comp.object)