473,396 Members | 1,760 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

HoverMenuExtender and Button

I have a HoverMenuExtender which contains an asp:PlaceHolder, this place
holder gets a dynamically created User Control and this control contrains a
Button.

The problem I am having is the Button never fires the click event or event
never gets posted, after I click on the button the HoverMenuExtender
disapears and does not appear until I refresh the screen.

How can I get the Button to fire the server side click event?
Thank You.

Peter
Nov 11 '08 #1
2 3573
Hi Peter,

Quote From Peter =================================================
this place holder gets a dynamically created User Control and this control
contrains a
Button.
=================================================

Based on my experience, such "event not fire" issue is mainly caused by
adding the dynamically created control in a late phase of the page life
cycle or not adding it on every postback.

Could you send me a demo project so that I can test it to see what the
problem is? My email is v-******@microsoft.com.

Regards,
Allen Chen
Microsoft Online Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subs.../aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: "Peter" <cz****@nospam.nospam>
| Subject: HoverMenuExtender and Button
| Date: Mon, 10 Nov 2008 18:31:34 -0600
| Lines: 18
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
| Message-ID: <ef*************@TK2MSFTNGP06.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: CPE-72-129-145-58.new.res.rr.com 72.129.145.58
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP06.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:79608
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| I have a HoverMenuExtender which contains an asp:PlaceHolder, this place
| holder gets a dynamically created User Control and this control contrains
a
| Button.
|
| The problem I am having is the Button never fires the click event or
event
| never gets posted, after I click on the button the HoverMenuExtender
| disapears and does not appear until I refresh the screen.
|
| How can I get the Button to fire the server side click event?
|
|
| Thank You.
|
|
|
| Peter
|
|
|

Nov 11 '08 #2

"Allen Chen [MSFT]" <v-******@online.microsoft.comwrote in message
news:CJ*************@TK2MSFTNGHUB02.phx.gbl...
Hi Peter,

Quote From Peter =================================================
this place holder gets a dynamically created User Control and this control
contrains a
Button.
=================================================

Based on my experience, such "event not fire" issue is mainly caused by
adding the dynamically created control in a late phase of the page life
cycle or not adding it on every postback.

Could you send me a demo project so that I can test it to see what the
problem is? My email is v-******@microsoft.com.

Regards,
Allen Chen
Microsoft Online Support

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subs...#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 2 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working with a dedicated Microsoft Support
Engineer
by contacting Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/en-us/subs.../aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

--------------------
| From: "Peter" <cz****@nospam.nospam>
| Subject: HoverMenuExtender and Button
| Date: Mon, 10 Nov 2008 18:31:34 -0600
| Lines: 18
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
| Message-ID: <ef*************@TK2MSFTNGP06.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: CPE-72-129-145-58.new.res.rr.com 72.129.145.58
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP06.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:79608
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| I have a HoverMenuExtender which contains an asp:PlaceHolder, this place
| holder gets a dynamically created User Control and this control
contrains
a
| Button.
|
| The problem I am having is the Button never fires the click event or
event
| never gets posted, after I click on the button the HoverMenuExtender
| disapears and does not appear until I refresh the screen.
|
| How can I get the Button to fire the server side click event?
|
|
| Thank You.
|
|
|
| Peter
|
|
|
Based on your suggestion I changed the code from adding User Control
dynamically and added the User Control to the parent page and the Button
Click event works now.

Thanks for your help!
Nov 11 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Skip Hollowell | last post by:
I am working on a menu bar for a site, and am using buttons in the bar (because the customer wants to use accessKeys for each selection, apparently it is too much work to click on them with a...
25
by: KK | last post by:
Hi, I am using history.go(-1) for implementing the back button functionality. Its working fine but with this exception. 1. The page which is having back button has some hyperlinks on it. ...
3
by: Zürcher See | last post by:
Someone has implemented a Datagrid Button for the Windows.Form?
18
by: jrhoads23 | last post by:
Hello, I am trying to find a way to tell if an .NET windows forms Button (System.Windows.Forms.Button) is "depressed" (pushed down). For my application, I can not use a check box control set to...
18
by: Colin McGuire | last post by:
Hi - this was posted last weekend and unfortunately not resolved. The solutions that were posted almost worked but after another 5 days of working on the code everynight, I am not further ahead....
2
by: tirath | last post by:
hi, I am using Microsoft AJAX.Net control toolkit. I am using HoverMenuExtender control. When I hover over an Image control I open a Panel which contains details. I want to provide a close...
0
by: sijugeo | last post by:
Can anyone pls send me the code for using ajaxToolkit:HoverMenuExtender in the case of a grid using C#. My requirement is, whenever hover a particular row in a given column, i need to display the...
7
by: Peter | last post by:
I have the following code in DonNetNuke application, I am trying to create a popup in every DataList Item, eveything is working with exception the popups do not line up with every DataItem. How do...
2
by: eebee | last post by:
Hi, I've been trying for a few hours now, but cannot resolve this: In IE7 it works, but not in : I'm using a HoverMenuExtender in a Listview. As soon as I'm using an updatepanel, the popup...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.