How to call the specific page's control? | | |
Hi all,
Have any ideas for the above question?
for example, in pageA, i call pageB's buttonA.visible=false.
thank you in advance.
best regards,
GL | | | | re: How to call the specific page's control?
Daniel wrote:[color=blue]
> Hi all,
> Have any ideas for the above question?
> for example, in pageA, i call pageB's buttonA.visible=false.
>
> thank you in advance.
>
> best regards,
> GL
>[/color]
pageB doesnt exist yet most likely. You will have to pass a param to
pageB when its called to open/show.
--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com | | | | re: How to call the specific page's control?
Unless you put pageA and pageB in separate frames/iframes, they don't live
in the same time. When the server is busy with PageA, there is no PageB and
vice versa. You can pass info from one page to another in a number of ways,
but you can't call another page's property directly. If you do put the pages
in separate frames, you can call one page from another on client side with
javascript.
Eliyahu
"Daniel" <Daniel@discussions.microsoft.com> wrote in message
news:09AC122C-9354-4B34-9761-735EBC6B5297@microsoft.com...[color=blue]
> Hi all,
> Have any ideas for the above question?
> for example, in pageA, i call pageB's buttonA.visible=false.
>
> thank you in advance.
>
> best regards,
> GL
>[/color] | | | | re: How to call the specific page's control?
thanks for reply.
my major concern is:
i have user control that content link button.
while i mouse over the link button, the sub list of buttons will be visible
in the pageA and under the mouseover link button.
the problem is, i am using the Grid Layout Panel to store the sub list of
button.
So, how to call the sub list button to be visible/hide?
Or have other ideas to show the sublist button.
The reason i dont wan to put the sublist button in the same user control
because the user control i put on the page A have a limited space.
"Eliyahu Goldin" wrote:
[color=blue]
> Unless you put pageA and pageB in separate frames/iframes, they don't live
> in the same time. When the server is busy with PageA, there is no PageB and
> vice versa. You can pass info from one page to another in a number of ways,
> but you can't call another page's property directly. If you do put the pages
> in separate frames, you can call one page from another on client side with
> javascript.
>
> Eliyahu
>
> "Daniel" <Daniel@discussions.microsoft.com> wrote in message
> news:09AC122C-9354-4B34-9761-735EBC6B5297@microsoft.com...[color=green]
> > Hi all,
> > Have any ideas for the above question?
> > for example, in pageA, i call pageB's buttonA.visible=false.
> >
> > thank you in advance.
> >
> > best regards,
> > GL
> >[/color]
>
>
>[/color] | | | | re: How to call the specific page's control?
To hide and show these list of buttons on Mouse Over, you gonna have to use
JavaScript.
What you hiding and showing, however, doesn't need to be in the same
control.
They could be in seperate controls, but on the same page.
You would then hide the second control in a Div Tag for example, and you
could set its visibility property on mouse over.
"Daniel" <Daniel@discussions.microsoft.com> wrote in message
news:F20C66F9-757F-4F74-A619-79AEF0603C38@microsoft.com...[color=blue]
> thanks for reply.
> my major concern is:
> i have user control that content link button.
> while i mouse over the link button, the sub list of buttons will be
> visible
> in the pageA and under the mouseover link button.
> the problem is, i am using the Grid Layout Panel to store the sub list of
> button.
>
> So, how to call the sub list button to be visible/hide?
>
> Or have other ideas to show the sublist button.
>
> The reason i dont wan to put the sublist button in the same user control
> because the user control i put on the page A have a limited space.
>
> "Eliyahu Goldin" wrote:
>[color=green]
>> Unless you put pageA and pageB in separate frames/iframes, they don't
>> live
>> in the same time. When the server is busy with PageA, there is no PageB
>> and
>> vice versa. You can pass info from one page to another in a number of
>> ways,
>> but you can't call another page's property directly. If you do put the
>> pages
>> in separate frames, you can call one page from another on client side
>> with
>> javascript.
>>
>> Eliyahu
>>
>> "Daniel" <Daniel@discussions.microsoft.com> wrote in message
>> news:09AC122C-9354-4B34-9761-735EBC6B5297@microsoft.com...[color=darkred]
>> > Hi all,
>> > Have any ideas for the above question?
>> > for example, in pageA, i call pageB's buttonA.visible=false.
>> >
>> > thank you in advance.
>> >
>> > best regards,
>> > GL
>> >[/color]
>>
>>
>>[/color][/color] | | | | re: How to call the specific page's control?
There is only one page in the scenario you are describing. Anyway, it's a
client-side task. You need to write javascript event handlers for mouseover
and mouseout events. In the handlers you need to find the panel or the other
buttons and to set their style attributes "display" or "visibility".
Eliyahu
"Daniel" <Daniel@discussions.microsoft.com> wrote in message
news:F20C66F9-757F-4F74-A619-79AEF0603C38@microsoft.com...[color=blue]
> thanks for reply.
> my major concern is:
> i have user control that content link button.
> while i mouse over the link button, the sub list of buttons will be[/color]
visible[color=blue]
> in the pageA and under the mouseover link button.
> the problem is, i am using the Grid Layout Panel to store the sub list of
> button.
>
> So, how to call the sub list button to be visible/hide?
>
> Or have other ideas to show the sublist button.
>
> The reason i dont wan to put the sublist button in the same user control
> because the user control i put on the page A have a limited space.
>
> "Eliyahu Goldin" wrote:
>[color=green]
> > Unless you put pageA and pageB in separate frames/iframes, they don't[/color][/color]
live[color=blue][color=green]
> > in the same time. When the server is busy with PageA, there is no PageB[/color][/color]
and[color=blue][color=green]
> > vice versa. You can pass info from one page to another in a number of[/color][/color]
ways,[color=blue][color=green]
> > but you can't call another page's property directly. If you do put the[/color][/color]
pages[color=blue][color=green]
> > in separate frames, you can call one page from another on client side[/color][/color]
with[color=blue][color=green]
> > javascript.
> >
> > Eliyahu
> >
> > "Daniel" <Daniel@discussions.microsoft.com> wrote in message
> > news:09AC122C-9354-4B34-9761-735EBC6B5297@microsoft.com...[color=darkred]
> > > Hi all,
> > > Have any ideas for the above question?
> > > for example, in pageA, i call pageB's buttonA.visible=false.
> > >
> > > thank you in advance.
> > >
> > > best regards,
> > > GL
> > >[/color]
> >
> >
> >[/color][/color] | | | | re: How to call the specific page's control?
Do you know where have the sample solution to review?
best regards,
gin lye
"Grant Merwitz" wrote:
[color=blue]
> To hide and show these list of buttons on Mouse Over, you gonna have to use
> JavaScript.
> What you hiding and showing, however, doesn't need to be in the same
> control.
> They could be in seperate controls, but on the same page.
>
> You would then hide the second control in a Div Tag for example, and you
> could set its visibility property on mouse over.
>
> "Daniel" <Daniel@discussions.microsoft.com> wrote in message
> news:F20C66F9-757F-4F74-A619-79AEF0603C38@microsoft.com...[color=green]
> > thanks for reply.
> > my major concern is:
> > i have user control that content link button.
> > while i mouse over the link button, the sub list of buttons will be
> > visible
> > in the pageA and under the mouseover link button.
> > the problem is, i am using the Grid Layout Panel to store the sub list of
> > button.
> >
> > So, how to call the sub list button to be visible/hide?
> >
> > Or have other ideas to show the sublist button.
> >
> > The reason i dont wan to put the sublist button in the same user control
> > because the user control i put on the page A have a limited space.
> >
> > "Eliyahu Goldin" wrote:
> >[color=darkred]
> >> Unless you put pageA and pageB in separate frames/iframes, they don't
> >> live
> >> in the same time. When the server is busy with PageA, there is no PageB
> >> and
> >> vice versa. You can pass info from one page to another in a number of
> >> ways,
> >> but you can't call another page's property directly. If you do put the
> >> pages
> >> in separate frames, you can call one page from another on client side
> >> with
> >> javascript.
> >>
> >> Eliyahu
> >>
> >> "Daniel" <Daniel@discussions.microsoft.com> wrote in message
> >> news:09AC122C-9354-4B34-9761-735EBC6B5297@microsoft.com...
> >> > Hi all,
> >> > Have any ideas for the above question?
> >> > for example, in pageA, i call pageB's buttonA.visible=false.
> >> >
> >> > thank you in advance.
> >> >
> >> > best regards,
> >> > GL
> >> >
> >>
> >>
> >>[/color][/color]
>
>
>[/color] | | | | re: How to call the specific page's control?
Other than Javascript..no other solution?
Usually how to create personal toolbar user control with submenu?
for example button A in toolbar may have button A1,button A2 after mouseover
the button A.
Any ideas?
thank you in advance.
best regards,
GL
"Eliyahu Goldin" wrote:
[color=blue]
> There is only one page in the scenario you are describing. Anyway, it's a
> client-side task. You need to write javascript event handlers for mouseover
> and mouseout events. In the handlers you need to find the panel or the other
> buttons and to set their style attributes "display" or "visibility".
>
> Eliyahu
>
> "Daniel" <Daniel@discussions.microsoft.com> wrote in message
> news:F20C66F9-757F-4F74-A619-79AEF0603C38@microsoft.com...[color=green]
> > thanks for reply.
> > my major concern is:
> > i have user control that content link button.
> > while i mouse over the link button, the sub list of buttons will be[/color]
> visible[color=green]
> > in the pageA and under the mouseover link button.
> > the problem is, i am using the Grid Layout Panel to store the sub list of
> > button.
> >
> > So, how to call the sub list button to be visible/hide?
> >
> > Or have other ideas to show the sublist button.
> >
> > The reason i dont wan to put the sublist button in the same user control
> > because the user control i put on the page A have a limited space.
> >
> > "Eliyahu Goldin" wrote:
> >[color=darkred]
> > > Unless you put pageA and pageB in separate frames/iframes, they don't[/color][/color]
> live[color=green][color=darkred]
> > > in the same time. When the server is busy with PageA, there is no PageB[/color][/color]
> and[color=green][color=darkred]
> > > vice versa. You can pass info from one page to another in a number of[/color][/color]
> ways,[color=green][color=darkred]
> > > but you can't call another page's property directly. If you do put the[/color][/color]
> pages[color=green][color=darkred]
> > > in separate frames, you can call one page from another on client side[/color][/color]
> with[color=green][color=darkred]
> > > javascript.
> > >
> > > Eliyahu
> > >
> > > "Daniel" <Daniel@discussions.microsoft.com> wrote in message
> > > news:09AC122C-9354-4B34-9761-735EBC6B5297@microsoft.com...
> > > > Hi all,
> > > > Have any ideas for the above question?
> > > > for example, in pageA, i call pageB's buttonA.visible=false.
> > > >
> > > > thank you in advance.
> > > >
> > > > best regards,
> > > > GL
> > > >
> > >
> > >
> > >[/color][/color]
>
>
>[/color] | | | | re: How to call the specific page's control?
Daniel wrote:[color=blue]
> Other than Javascript..no other solution?
> Usually how to create personal toolbar user control with submenu?
> for example button A in toolbar may have button A1,button A2 after mouseover
> the button A.
>[/color]
All the stuff you are talking about is clientside activity, that's why
the javascript method is pushed. Otherwise you would need a postback to
do your stuff, not really a good way for menu's, etc.
--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com | | | | re: How to call the specific page's control?
Attached is a basic example
If you do not want to use JacaScript, you'll have to do this ServerSide,
which will invole a postback
"Daniel" <Daniel@discussions.microsoft.com> wrote in message
news:83DCBEB2-F369-4A63-B91C-4FD33D64D281@microsoft.com...[color=blue]
>
> Do you know where have the sample solution to review?
>
> best regards,
> gin lye
>
> "Grant Merwitz" wrote:
>[color=green]
>> To hide and show these list of buttons on Mouse Over, you gonna have to
>> use
>> JavaScript.
>> What you hiding and showing, however, doesn't need to be in the same
>> control.
>> They could be in seperate controls, but on the same page.
>>
>> You would then hide the second control in a Div Tag for example, and you
>> could set its visibility property on mouse over.
>>
>> "Daniel" <Daniel@discussions.microsoft.com> wrote in message
>> news:F20C66F9-757F-4F74-A619-79AEF0603C38@microsoft.com...[color=darkred]
>> > thanks for reply.
>> > my major concern is:
>> > i have user control that content link button.
>> > while i mouse over the link button, the sub list of buttons will be
>> > visible
>> > in the pageA and under the mouseover link button.
>> > the problem is, i am using the Grid Layout Panel to store the sub list
>> > of
>> > button.
>> >
>> > So, how to call the sub list button to be visible/hide?
>> >
>> > Or have other ideas to show the sublist button.
>> >
>> > The reason i dont wan to put the sublist button in the same user
>> > control
>> > because the user control i put on the page A have a limited space.
>> >
>> > "Eliyahu Goldin" wrote:
>> >
>> >> Unless you put pageA and pageB in separate frames/iframes, they don't
>> >> live
>> >> in the same time. When the server is busy with PageA, there is no
>> >> PageB
>> >> and
>> >> vice versa. You can pass info from one page to another in a number of
>> >> ways,
>> >> but you can't call another page's property directly. If you do put the
>> >> pages
>> >> in separate frames, you can call one page from another on client side
>> >> with
>> >> javascript.
>> >>
>> >> Eliyahu
>> >>
>> >> "Daniel" <Daniel@discussions.microsoft.com> wrote in message
>> >> news:09AC122C-9354-4B34-9761-735EBC6B5297@microsoft.com...
>> >> > Hi all,
>> >> > Have any ideas for the above question?
>> >> > for example, in pageA, i call pageB's buttonA.visible=false.
>> >> >
>> >> > thank you in advance.
>> >> >
>> >> > best regards,
>> >> > GL
>> >> >
>> >>
>> >>
>> >>[/color]
>>
>>
>>[/color][/color] | | | | re: How to call the specific page's control?
The only way out is to find a third party control. It will do all
javascripting for you. As Curt said, a server-side solution is not a good
idea. Too slow.
Eliyahu
"Daniel" <Daniel@discussions.microsoft.com> wrote in message
news:1B2EDE68-3A90-4A83-851E-89F5AE05F1C3@microsoft.com...[color=blue]
> Other than Javascript..no other solution?
> Usually how to create personal toolbar user control with submenu?
> for example button A in toolbar may have button A1,button A2 after[/color]
mouseover[color=blue]
> the button A.
>
> Any ideas?
> thank you in advance.
>
> best regards,
> GL
>
> "Eliyahu Goldin" wrote:
>[color=green]
> > There is only one page in the scenario you are describing. Anyway, it's[/color][/color]
a[color=blue][color=green]
> > client-side task. You need to write javascript event handlers for[/color][/color]
mouseover[color=blue][color=green]
> > and mouseout events. In the handlers you need to find the panel or the[/color][/color]
other[color=blue][color=green]
> > buttons and to set their style attributes "display" or "visibility".
> >
> > Eliyahu
> >
> > "Daniel" <Daniel@discussions.microsoft.com> wrote in message
> > news:F20C66F9-757F-4F74-A619-79AEF0603C38@microsoft.com...[color=darkred]
> > > thanks for reply.
> > > my major concern is:
> > > i have user control that content link button.
> > > while i mouse over the link button, the sub list of buttons will be[/color]
> > visible[color=darkred]
> > > in the pageA and under the mouseover link button.
> > > the problem is, i am using the Grid Layout Panel to store the sub list[/color][/color][/color]
of[color=blue][color=green][color=darkred]
> > > button.
> > >
> > > So, how to call the sub list button to be visible/hide?
> > >
> > > Or have other ideas to show the sublist button.
> > >
> > > The reason i dont wan to put the sublist button in the same user[/color][/color][/color]
control[color=blue][color=green][color=darkred]
> > > because the user control i put on the page A have a limited space.
> > >
> > > "Eliyahu Goldin" wrote:
> > >
> > > > Unless you put pageA and pageB in separate frames/iframes, they[/color][/color][/color]
don't[color=blue][color=green]
> > live[color=darkred]
> > > > in the same time. When the server is busy with PageA, there is no[/color][/color][/color]
PageB[color=blue][color=green]
> > and[color=darkred]
> > > > vice versa. You can pass info from one page to another in a number[/color][/color][/color]
of[color=blue][color=green]
> > ways,[color=darkred]
> > > > but you can't call another page's property directly. If you do put[/color][/color][/color]
the[color=blue][color=green]
> > pages[color=darkred]
> > > > in separate frames, you can call one page from another on client[/color][/color][/color]
side[color=blue][color=green]
> > with[color=darkred]
> > > > javascript.
> > > >
> > > > Eliyahu
> > > >
> > > > "Daniel" <Daniel@discussions.microsoft.com> wrote in message
> > > > news:09AC122C-9354-4B34-9761-735EBC6B5297@microsoft.com...
> > > > > Hi all,
> > > > > Have any ideas for the above question?
> > > > > for example, in pageA, i call pageB's buttonA.visible=false.
> > > > >
> > > > > thank you in advance.
> > > > >
> > > > > best regards,
> > > > > GL
> > > > >
> > > >
> > > >
> > > >[/color]
> >
> >
> >[/color][/color] |  | | | | Forums
Visit our community forums for general discussions and latest on Bytes
/bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 231,831 network members.
|