Last post Nov 11, 2010 02:53 PM by maximusmd
Oct 25, 2010 09:00 PM|maximusmd|LINK
I have a GridView (insde a UpdatePanel with a Timer control) which is refreshed every 3 seconds and one of its fields (a TextBox) is "linked" to a HoverMenuExtender. It works great to display the Multline Textbox results but when the next refresh timer interval
comes the TextBox control is re-populated with the new data and the user does not have the time to read its content.
I am not sure if there is a way to maintain the content after each refresh (as long as I don't move the mouse of course).
Here is part of my code:
<asp:TemplateField HeaderText="Last Output" >
<asp:TextBox ID="txtBoxComments" runat="server" MaxLength="1000" ReadOnly="true" Rows="1"
Text='<%# Eval("LastOutput") %>' TextMode="MultiLine" style="OVERFLOW:hidden" />
<ajax:HoverMenuExtender ID="HoverMenuExtender1" runat="server"
<asp:Panel runat="server" ID="popupPanel" BorderColor="#628BD7" BorderStyle="Solid" BorderWidth="3px" ScrollBars="Auto" >
<asp:TextBox ID="txtBoxPopupPanel" runat="server" ReadOnly="true" TextMode="MultiLine" Rows="20" Text='<%# Eval("LastOutput") %>' />
Oct 25, 2010 10:49 PM|sansan|LINK
I have a GridView (insde a UpdatePanel with a Timer control) which is refreshed every 3 seconds
What's the purpose of the timer Control. If you are not reloading GridView in timer tick event, you can rearrange controls to keep textbox alive across postbacks.
Keep Timer Control in an update panel with update mode conditional and childrenastriggers to false. Keep GridView in another update panel.
Oct 25, 2010 11:05 PM|maximusmd|LINK
Hi there and thanks for the reply.
The purpose of the Timer is to refresh the Gridview.
So it is reloading all columns and one of this columns is "linked" to the HoverMenuExtender.
Oct 27, 2010 09:07 AM|Song-Tian - MSFT|LINK
Please refer to the code at
Oct 27, 2010 03:06 PM|maximusmd|LINK
I am sorry but I could not find anywhere in the code that would prevent the popup from disappearing or being refreshed after the GridView is refreshed :(
Nov 08, 2010 08:03 PM|maximusmd|LINK
I was reading your post again and was wondering if your suggestion would be the solution for what I am trying to achieve.
I was testing the solution http://forums.asp.net/t/1619019.aspx but it still has a few bugs so I was wondering if your approach would be
My Gridview is inside a UpdatePanel which is updated by a timer control. Data is fetched from a table and one column (Multi-line textbox)
is filled with data. Since I am only presenting 1 row in each multi-line textbox I need to find a way for the user to click/hover over these textboxes in the Gridview in order to see all the textbox content.
I tested with HoverMenuExtender and with ModalPopExtender. Both display the content but the window disappear when the Timer Control refreshes the UpdatePanel.
So the solution above (http://forums.asp.net/t/1619019.aspx) was actually very good because it creates the AJAX controls and put all the info in Arrays...I am still figuring out how the whole thing works
but in my tests, although it does display the windows and it does update the panel in background, it also generates a problem. It display all the panels in the background being created and progressively.
Nov 11, 2010 02:53 PM|maximusmd|LINK
It works with .NET Framework 3.5
Then you will still need to use "Sys.Extended.UI" rather than "AjaxControlToolkit".
There seems to be a bug for this scenario in AjaxControlToolkit v3.0.