PC Review


Reply
Thread Tools Rate Thread

How to call the specific page's control?

 
 
=?Utf-8?B?RGFuaWVs?=
Guest
Posts: n/a
 
      9th Aug 2005
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

 
Reply With Quote
 
 
 
 
Curt_C [MVP]
Guest
Posts: n/a
 
      9th Aug 2005
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
 
Reply With Quote
 
=?Utf-8?B?RGFuaWVs?=
Guest
Posts: n/a
 
      9th Aug 2005
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" <(E-Mail Removed)> wrote in message
> news:09AC122C-9354-4B34-9761-(E-Mail Removed)...
> > 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
> >

>
>
>

 
Reply With Quote
 
Grant Merwitz
Guest
Posts: n/a
 
      9th Aug 2005
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" <(E-Mail Removed)> wrote in message
news:F20C66F9-757F-4F74-A619-(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
>> news:09AC122C-9354-4B34-9761-(E-Mail Removed)...
>> > 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
>> >

>>
>>
>>



 
Reply With Quote
 
=?Utf-8?B?RGFuaWVs?=
Guest
Posts: n/a
 
      9th Aug 2005

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" <(E-Mail Removed)> wrote in message
> news:F20C66F9-757F-4F74-A619-(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> >> news:09AC122C-9354-4B34-9761-(E-Mail Removed)...
> >> > 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
> >> >
> >>
> >>
> >>

>
>
>

 
Reply With Quote
 
=?Utf-8?B?RGFuaWVs?=
Guest
Posts: n/a
 
      9th Aug 2005
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" <(E-Mail Removed)> wrote in message
> news:F20C66F9-757F-4F74-A619-(E-Mail Removed)...
> > 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" <(E-Mail Removed)> wrote in message
> > > news:09AC122C-9354-4B34-9761-(E-Mail Removed)...
> > > > 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
> > > >
> > >
> > >
> > >

>
>
>

 
Reply With Quote
 
Curt_C [MVP]
Guest
Posts: n/a
 
      9th Aug 2005
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
 
Reply With Quote
 
Eliyahu Goldin
Guest
Posts: n/a
 
      9th Aug 2005
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" <(E-Mail Removed)> wrote in message
news:09AC122C-9354-4B34-9761-(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
Grant Merwitz
Guest
Posts: n/a
 
      9th Aug 2005
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" <(E-Mail Removed)> wrote in message
news:83DCBEB2-F369-4A63-B91C-(E-Mail Removed)...
>
> 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" <(E-Mail Removed)> wrote in message
>> news:F20C66F9-757F-4F74-A619-(E-Mail Removed)...
>> > 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" <(E-Mail Removed)> wrote in message
>> >> news:09AC122C-9354-4B34-9761-(E-Mail Removed)...
>> >> > 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
>> >> >
>> >>
>> >>
>> >>

>>
>>
>>





 
Reply With Quote
 
Eliyahu Goldin
Guest
Posts: n/a
 
      9th Aug 2005
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" <(E-Mail Removed)> wrote in message
news:F20C66F9-757F-4F74-A619-(E-Mail Removed)...
> 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" <(E-Mail Removed)> wrote in message
> > news:09AC122C-9354-4B34-9761-(E-Mail Removed)...
> > > 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
> > >

> >
> >
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to call host page function from user control Jerry Qu Microsoft ASP .NET 1 21st Feb 2009 02:53 AM
How to a call a function from a user control's parent page ? grist2mill Microsoft ASP .NET 6 29th Oct 2004 05:26 PM
Call page method from user control in C#? Tulio Quinones Microsoft ASP .NET 2 6th Aug 2004 04:03 AM
How to cache differrent versions of page and then call specific version from http request moondaddy Microsoft ASP .NET 5 12th Feb 2004 01:20 AM
How to open specific page on a tab control Sanjin Vidlanovic Microsoft Access Forms 1 15th Dec 2003 06:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:08 PM.