How to call the specific page's control?

Discussion in 'ASP .Net' started by =?Utf-8?B?RGFuaWVs?=, Aug 9, 2005.

  1. 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
     
    =?Utf-8?B?RGFuaWVs?=, Aug 9, 2005
    #1
    1. Advertising

  2. =?Utf-8?B?RGFuaWVs?=

    Curt_C [MVP] Guest

    Daniel wrote:
    > 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
    >


    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
     
    Curt_C [MVP], Aug 9, 2005
    #2
    1. Advertising

  3. 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" <> wrote in message
    > news:...
    > > 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
    > >

    >
    >
    >
     
    =?Utf-8?B?RGFuaWVs?=, Aug 9, 2005
    #3
  4. 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" <> wrote in message
    news:...
    > 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" <> wrote in message
    >> news:...
    >> > 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
    >> >

    >>
    >>
    >>
     
    Grant Merwitz, Aug 9, 2005
    #4
  5. Do you know where have the sample solution to review?

    best regards,
    gin lye

    "Grant Merwitz" wrote:

    > 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" <> wrote in message
    > news:...
    > > 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" <> wrote in message
    > >> news:...
    > >> > 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
    > >> >
    > >>
    > >>
    > >>

    >
    >
    >
     
    =?Utf-8?B?RGFuaWVs?=, Aug 9, 2005
    #5
  6. 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:

    > 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" <> wrote in message
    > news:...
    > > 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" <> wrote in message
    > > > news:...
    > > > > 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
    > > > >
    > > >
    > > >
    > > >

    >
    >
    >
     
    =?Utf-8?B?RGFuaWVs?=, Aug 9, 2005
    #6
  7. =?Utf-8?B?RGFuaWVs?=

    Curt_C [MVP] Guest

    Daniel wrote:
    > 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.
    >


    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
     
    Curt_C [MVP], Aug 9, 2005
    #7
  8. 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" <> wrote in message
    news:...
    > 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
    >
     
    Eliyahu Goldin, Aug 9, 2005
    #8
  9. 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" <> wrote in message
    news:...
    >
    > Do you know where have the sample solution to review?
    >
    > best regards,
    > gin lye
    >
    > "Grant Merwitz" wrote:
    >
    >> 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" <> wrote in message
    >> news:...
    >> > 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" <> wrote in message
    >> >> news:...
    >> >> > 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
    >> >> >
    >> >>
    >> >>
    >> >>

    >>
    >>
    >>
     
    Grant Merwitz, Aug 9, 2005
    #9
  10. 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" <> wrote in message
    news:...
    > 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" <> wrote in message
    > > news:...
    > > > 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
    > > >

    > >
    > >
    > >
     
    Eliyahu Goldin, Aug 9, 2005
    #10
  11. 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" <> wrote in message
    news:...
    > 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:
    >
    > > 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" <> wrote in message
    > > news:...
    > > > 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" <> wrote in message
    > > > > news:...
    > > > > > 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
    > > > > >
    > > > >
    > > > >
    > > > >

    > >
    > >
    > >
     
    Eliyahu Goldin, Aug 9, 2005
    #11
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. moondaddy
    Replies:
    7
    Views:
    423
    Shahar
    Feb 12, 2004
  2. Eric
    Replies:
    0
    Views:
    546
  3. =?Utf-8?B?SmF2?=

    Is ViwState Page-Specific or UserControl-Specific

    =?Utf-8?B?SmF2?=, Aug 16, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    543
    =?Utf-8?B?SmF2?=
    Aug 16, 2006
  4. mazdotnet
    Replies:
    2
    Views:
    402
    Alexey Smirnov
    Oct 2, 2009
  5. William FERRERES
    Replies:
    7
    Views:
    220
    William FERRERES
    Jul 9, 2007
Loading...

Share This Page