473,703 Members | 2,438 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Gridview & updatepanel issue

SAL
Hello,
I'm trying to include a popup in the ItemTemplate of a gridview row. The
ItemTemplate for the field contains a textbox and when the user clicks in
the textbox I want a popup panel to show allowing the user to make a
selection from the popup window. I have enabled AJAX extensions and have a
working sample outside of a gridview. However, when I click in the textbox
of a gridview row, all I see is a really small square instead of the whole
popup. How might I make this work?
This is what the code looks like in my ItemTemplate:
And, below that is the code for the radiobuttonlist 's selection changed
event:
<ItemTemplate >

<asp:TextBox ID="txtFMSValue " runat="server" Text='<%# Eval("FMSValue" ,
"{0:C0}") %>'

Width="80px" ToolTip="Click for selection"></asp:TextBox>

<div style="width: 100px">

<asp:Panel ID="panFMSValue " runat="server" CssClass="popup Control">

<asp:UpdatePane l ID="upFMSValue " runat="server">

<ContentTemplat e>

<asp:RadioButto nList ID="rblFMSValue " runat="server"
OnSelectedIndex Changed="rblFMS Value_SelectedI ndexChanged">

</asp:RadioButton List>

</ContentTemplate >

</asp:UpdatePanel >

</asp:Panel>

<ajax:PopupCont rolExtender ID="PopupContro lExtender1" runat="server"

TargetControlID ="txtFMSValu e" PopupControlID= "panFMSValu e"

CommitScript="e .value;">

</ajax:PopupContr olExtender>

</div>

</ItemTemplate>

Protected Sub rblFMSValue_Sel ectedIndexChang ed(ByVal sender As Object, ByVal
e As System.EventArg s)

If Not (String.IsNullO rEmpty(rblFMSVa lue.SelectedVal ue)) Then

Dim s As String = rblFMSValue.Sel ectedValue

Dim pos As Integer = s.IndexOf(": ")

s = s.Substring(pos + 2)

PopupControlExt ender.GetProxyF orCurrentPopup( Me.Page).Commit (s)

End If

End Sub

S

Aug 28 '08 #1
13 3500
Hi,
Quote =============== =============== =============== =====
However, when I click in the textbox
of a gridview row, all I see is a really small square instead of the whole
popup. How might I make this work?
=============== =============== =============== =====

I tried your code and it works fine. From your code I guess it's caused by
the CssClass="popup Control". What's the style you use in this CssClass?
Could you send it to me?

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****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 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 or complex
project analysis and dump analysis issues. 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/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: "SAL" <SA*@nospam.nos pam>
| Subject: Gridview & updatepanel issue
| Date: Thu, 28 Aug 2008 16:50:01 -0700
| Lines: 74
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
| Message-ID: <ex************ **@TK2MSFTNGP04 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: host182254.clar k.wa.gov 64.4.182.254
| Path: TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP04.phx .gbl
| Xref: TK2MSFTNGHUB02. phx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:7487 3
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Hello,
| I'm trying to include a popup in the ItemTemplate of a gridview row. The
| ItemTemplate for the field contains a textbox and when the user clicks in
| the textbox I want a popup panel to show allowing the user to make a
| selection from the popup window. I have enabled AJAX extensions and have
a
| working sample outside of a gridview. However, when I click in the
textbox
| of a gridview row, all I see is a really small square instead of the
whole
| popup. How might I make this work?
|
|
| This is what the code looks like in my ItemTemplate:
| And, below that is the code for the radiobuttonlist 's selection changed
| event:
| <ItemTemplate >
|
| <asp:TextBox ID="txtFMSValue " runat="server" Text='<%# Eval("FMSValue" ,
| "{0:C0}") %>'
|
| Width="80px" ToolTip="Click for selection"></asp:TextBox>
|
| <div style="width: 100px">
|
| <asp:Panel ID="panFMSValue " runat="server" CssClass="popup Control">
|
| <asp:UpdatePane l ID="upFMSValue " runat="server">
|
| <ContentTemplat e>
|
| <asp:RadioButto nList ID="rblFMSValue " runat="server"
| OnSelectedIndex Changed="rblFMS Value_SelectedI ndexChanged">
|
| </asp:RadioButton List>
|
| </ContentTemplate >
|
| </asp:UpdatePanel >
|
| </asp:Panel>
|
| <ajax:PopupCont rolExtender ID="PopupContro lExtender1" runat="server"
|
| TargetControlID ="txtFMSValu e" PopupControlID= "panFMSValu e"
|
| CommitScript="e .value;">
|
| </ajax:PopupContr olExtender>
|
| </div>
|
| </ItemTemplate>
|
|
|
| Protected Sub rblFMSValue_Sel ectedIndexChang ed(ByVal sender As Object,
ByVal
| e As System.EventArg s)
|
| If Not (String.IsNullO rEmpty(rblFMSVa lue.SelectedVal ue)) Then
|
| Dim s As String = rblFMSValue.Sel ectedValue
|
| Dim pos As Integer = s.IndexOf(": ")
|
| s = s.Substring(pos + 2)
|
| PopupControlExt ender.GetProxyF orCurrentPopup( Me.Page).Commit (s)
|
| End If
|
| End Sub
|
| S
|
|
|
|

Aug 29 '08 #2
SAL
Here's the class:
..popupControl

{

background-color: #AAD4FF;

position: absolute;

visibility: hidden;

border-style: solid;

border-color: Black;

border-width: 2px;

}

It's the same class used in the sample I followed from:

http://download.microsoft.com/downlo...pupCtrlExt.wmv

Did I just miss something on making it visible or something?

S

"Allen Chen [MSFT]" <v-******@online.m icrosoft.comwro te in message
news:zm******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi,
Quote =============== =============== =============== =====
However, when I click in the textbox
of a gridview row, all I see is a really small square instead of the whole
popup. How might I make this work?
=============== =============== =============== =====

I tried your code and it works fine. From your code I guess it's caused by
the CssClass="popup Control". What's the style you use in this CssClass?
Could you send it to me?

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****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 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 or complex
project analysis and dump analysis issues. 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/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no
rights.

--------------------
| From: "SAL" <SA*@nospam.nos pam>
| Subject: Gridview & updatepanel issue
| Date: Thu, 28 Aug 2008 16:50:01 -0700
| Lines: 74
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
| Message-ID: <ex************ **@TK2MSFTNGP04 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: host182254.clar k.wa.gov 64.4.182.254
| Path: TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP04.phx .gbl
| Xref: TK2MSFTNGHUB02. phx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:7487 3
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Hello,
| I'm trying to include a popup in the ItemTemplate of a gridview row. The
| ItemTemplate for the field contains a textbox and when the user clicks
in
| the textbox I want a popup panel to show allowing the user to make a
| selection from the popup window. I have enabled AJAX extensions and have
a
| working sample outside of a gridview. However, when I click in the
textbox
| of a gridview row, all I see is a really small square instead of the
whole
| popup. How might I make this work?
|
|
| This is what the code looks like in my ItemTemplate:
| And, below that is the code for the radiobuttonlist 's selection changed
| event:
| <ItemTemplate >
|
| <asp:TextBox ID="txtFMSValue " runat="server" Text='<%# Eval("FMSValue" ,
| "{0:C0}") %>'
|
| Width="80px" ToolTip="Click for selection"></asp:TextBox>
|
| <div style="width: 100px">
|
| <asp:Panel ID="panFMSValue " runat="server" CssClass="popup Control">
|
| <asp:UpdatePane l ID="upFMSValue " runat="server">
|
| <ContentTemplat e>
|
| <asp:RadioButto nList ID="rblFMSValue " runat="server"
| OnSelectedIndex Changed="rblFMS Value_SelectedI ndexChanged">
|
| </asp:RadioButton List>
|
| </ContentTemplate >
|
| </asp:UpdatePanel >
|
| </asp:Panel>
|
| <ajax:PopupCont rolExtender ID="PopupContro lExtender1" runat="server"
|
| TargetControlID ="txtFMSValu e" PopupControlID= "panFMSValu e"
|
| CommitScript="e .value;">
|
| </ajax:PopupContr olExtender>
|
| </div>
|
| </ItemTemplate>
|
|
|
| Protected Sub rblFMSValue_Sel ectedIndexChang ed(ByVal sender As Object,
ByVal
| e As System.EventArg s)
|
| If Not (String.IsNullO rEmpty(rblFMSVa lue.SelectedVal ue)) Then
|
| Dim s As String = rblFMSValue.Sel ectedValue
|
| Dim pos As Integer = s.IndexOf(": ")
|
| s = s.Substring(pos + 2)
|
| PopupControlExt ender.GetProxyF orCurrentPopup( Me.Page).Commit (s)
|
| End If
|
| End Sub
|
| S
|
|
|
|

Aug 29 '08 #3
SAL
Never mind. I think I'm being a dummy. I think I got it. I have to add the
items of the radiobuttonlist dynamically in the PreRender event.

Thanks
S

"SAL" <SA*@nospam.nos pamwrote in message
news:Oy******** ******@TK2MSFTN GP03.phx.gbl...
Here's the class:
.popupControl

{

background-color: #AAD4FF;

position: absolute;

visibility: hidden;

border-style: solid;

border-color: Black;

border-width: 2px;

}

It's the same class used in the sample I followed from:

http://download.microsoft.com/downlo...pupCtrlExt.wmv

Did I just miss something on making it visible or something?

S

"Allen Chen [MSFT]" <v-******@online.m icrosoft.comwro te in message
news:zm******** ******@TK2MSFTN GHUB02.phx.gbl. ..
>Hi,
Quote =============== =============== =============== =====
However, when I click in the textbox
of a gridview row, all I see is a really small square instead of the
whole
popup. How might I make this work?
============== =============== =============== ======

I tried your code and it works fine. From your code I guess it's caused
by
the CssClass="popup Control". What's the style you use in this CssClass?
Could you send it to me?

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****@microsof t.com.

============== =============== =============== ======
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
where an initial response from the community or a Microsoft Support
Engineer within 1 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 or complex
project analysis and dump analysis issues. 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/subscripti...t/default.aspx.
============== =============== =============== ======
This posting is provided "AS IS" with no warranties, and confers no
rights.

--------------------
| From: "SAL" <SA*@nospam.nos pam>
| Subject: Gridview & updatepanel issue
| Date: Thu, 28 Aug 2008 16:50:01 -0700
| Lines: 74
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
| Message-ID: <ex************ **@TK2MSFTNGP04 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: host182254.clar k.wa.gov 64.4.182.254
| Path: TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP04.phx .gbl
| Xref: TK2MSFTNGHUB02. phx.gbl
microsoft.publ ic.dotnet.frame work.aspnet:748 73
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Hello,
| I'm trying to include a popup in the ItemTemplate of a gridview row.
The
| ItemTemplate for the field contains a textbox and when the user clicks
in
| the textbox I want a popup panel to show allowing the user to make a
| selection from the popup window. I have enabled AJAX extensions and
have
a
| working sample outside of a gridview. However, when I click in the
textbox
| of a gridview row, all I see is a really small square instead of the
whole
| popup. How might I make this work?
|
|
| This is what the code looks like in my ItemTemplate:
| And, below that is the code for the radiobuttonlist 's selection changed
| event:
| <ItemTemplate >
|
| <asp:TextBox ID="txtFMSValue " runat="server" Text='<%# Eval("FMSValue" ,
| "{0:C0}") %>'
|
| Width="80px" ToolTip="Click for selection"></asp:TextBox>
|
| <div style="width: 100px">
|
| <asp:Panel ID="panFMSValue " runat="server" CssClass="popup Control">
|
| <asp:UpdatePane l ID="upFMSValue " runat="server">
|
| <ContentTemplat e>
|
| <asp:RadioButto nList ID="rblFMSValue " runat="server"
| OnSelectedIndex Changed="rblFMS Value_SelectedI ndexChanged">
|
| </asp:RadioButton List>
|
| </ContentTemplate >
|
| </asp:UpdatePanel >
|
| </asp:Panel>
|
| <ajax:PopupCont rolExtender ID="PopupContro lExtender1" runat="server"
|
| TargetControlID ="txtFMSValu e" PopupControlID= "panFMSValu e"
|
| CommitScript="e .value;">
|
| </ajax:PopupContr olExtender>
|
| </div>
|
| </ItemTemplate>
|
|
|
| Protected Sub rblFMSValue_Sel ectedIndexChang ed(ByVal sender As Object,
ByVal
| e As System.EventArg s)
|
| If Not (String.IsNullO rEmpty(rblFMSVa lue.SelectedVal ue)) Then
|
| Dim s As String = rblFMSValue.Sel ectedValue
|
| Dim pos As Integer = s.IndexOf(": ")
|
| s = s.Substring(pos + 2)
|
| PopupControlExt ender.GetProxyF orCurrentPopup( Me.Page).Commit (s)
|
| End If
|
| End Sub
|
| S
|
|
|
|


Aug 29 '08 #4
SAL
Allen,
I'm getting the popup but part of it is being obscured by the dropdownlists
in the field next to it. Is there a way to keep this from happening?

S

"Allen Chen [MSFT]" <v-******@online.m icrosoft.comwro te in message
news:zm******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi,
Quote =============== =============== =============== =====
However, when I click in the textbox
of a gridview row, all I see is a really small square instead of the whole
popup. How might I make this work?
=============== =============== =============== =====

I tried your code and it works fine. From your code I guess it's caused by
the CssClass="popup Control". What's the style you use in this CssClass?
Could you send it to me?

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****@microsof t.com.

=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 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 or complex
project analysis and dump analysis issues. 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/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no
rights.

--------------------
| From: "SAL" <SA*@nospam.nos pam>
| Subject: Gridview & updatepanel issue
| Date: Thu, 28 Aug 2008 16:50:01 -0700
| Lines: 74
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
| Message-ID: <ex************ **@TK2MSFTNGP04 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: host182254.clar k.wa.gov 64.4.182.254
| Path: TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP04.phx .gbl
| Xref: TK2MSFTNGHUB02. phx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:7487 3
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Hello,
| I'm trying to include a popup in the ItemTemplate of a gridview row. The
| ItemTemplate for the field contains a textbox and when the user clicks
in
| the textbox I want a popup panel to show allowing the user to make a
| selection from the popup window. I have enabled AJAX extensions and have
a
| working sample outside of a gridview. However, when I click in the
textbox
| of a gridview row, all I see is a really small square instead of the
whole
| popup. How might I make this work?
|
|
| This is what the code looks like in my ItemTemplate:
| And, below that is the code for the radiobuttonlist 's selection changed
| event:
| <ItemTemplate >
|
| <asp:TextBox ID="txtFMSValue " runat="server" Text='<%# Eval("FMSValue" ,
| "{0:C0}") %>'
|
| Width="80px" ToolTip="Click for selection"></asp:TextBox>
|
| <div style="width: 100px">
|
| <asp:Panel ID="panFMSValue " runat="server" CssClass="popup Control">
|
| <asp:UpdatePane l ID="upFMSValue " runat="server">
|
| <ContentTemplat e>
|
| <asp:RadioButto nList ID="rblFMSValue " runat="server"
| OnSelectedIndex Changed="rblFMS Value_SelectedI ndexChanged">
|
| </asp:RadioButton List>
|
| </ContentTemplate >
|
| </asp:UpdatePanel >
|
| </asp:Panel>
|
| <ajax:PopupCont rolExtender ID="PopupContro lExtender1" runat="server"
|
| TargetControlID ="txtFMSValu e" PopupControlID= "panFMSValu e"
|
| CommitScript="e .value;">
|
| </ajax:PopupContr olExtender>
|
| </div>
|
| </ItemTemplate>
|
|
|
| Protected Sub rblFMSValue_Sel ectedIndexChang ed(ByVal sender As Object,
ByVal
| e As System.EventArg s)
|
| If Not (String.IsNullO rEmpty(rblFMSVa lue.SelectedVal ue)) Then
|
| Dim s As String = rblFMSValue.Sel ectedValue
|
| Dim pos As Integer = s.IndexOf(": ")
|
| s = s.Substring(pos + 2)
|
| PopupControlExt ender.GetProxyF orCurrentPopup( Me.Page).Commit (s)
|
| End If
|
| End Sub
|
| S
|
|
|
|

Aug 29 '08 #5
Hi,

Could you send me a demo project that can reproduce this problem? My email
is v-******@microsof t.com.
You're also appreciated to send me a screenshot to illustrate the behavior.
I'll try to reproduce it on my side and see if I can find a way to achieve
your requirement.

Regards,
Allen Chen
Microsoft Online Support

--------------------
| From: "SAL" <SA*@nospam.nos pam>
| References: <ex************ **@TK2MSFTNGP04 .phx.gbl>
<zm************ **@TK2MSFTNGHUB 02.phx.gbl>
| Subject: Re: Gridview & updatepanel issue
| Date: Fri, 29 Aug 2008 12:50:49 -0700
| Lines: 150
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
| Message-ID: <#J************ **@TK2MSFTNGP04 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: host182254.clar k.wa.gov 64.4.182.254
| Path: TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP04.phx .gbl
| Xref: TK2MSFTNGHUB02. phx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:7493 1
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Allen,
| I'm getting the popup but part of it is being obscured by the
dropdownlists
| in the field next to it. Is there a way to keep this from happening?
|
| S
|
| "Allen Chen [MSFT]" <v-******@online.m icrosoft.comwro te in message
| news:zm******** ******@TK2MSFTN GHUB02.phx.gbl. ..
| Hi,
| Quote =============== =============== =============== =====
| However, when I click in the textbox
| of a gridview row, all I see is a really small square instead of the
whole
| popup. How might I make this work?
| =============== =============== =============== =====
| >
| I tried your code and it works fine. From your code I guess it's caused
by
| the CssClass="popup Control". What's the style you use in this CssClass?
| Could you send it to me?
| >
| 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****@microsof t.com.
| >
| =============== =============== =============== =====
| Get notification to my posts through email? Please refer to
| >
http://msdn.microsoft.com/subscripti...ult.aspx#notif
| ications.
| >
| Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
| where an initial response from the community or a Microsoft Support
| Engineer within 1 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 or complex
| project analysis and dump analysis issues. 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/subscripti...t/default.aspx.
| =============== =============== =============== =====
| This posting is provided "AS IS" with no warranties, and confers no
| rights.
| >
| --------------------
| | From: "SAL" <SA*@nospam.nos pam>
| | Subject: Gridview & updatepanel issue
| | Date: Thu, 28 Aug 2008 16:50:01 -0700
| | Lines: 74
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| | X-RFC2646: Format=Flowed; Original
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
| | Message-ID: <ex************ **@TK2MSFTNGP04 .phx.gbl>
| | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | NNTP-Posting-Host: host182254.clar k.wa.gov 64.4.182.254
| | Path: TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP04.phx .gbl
| | Xref: TK2MSFTNGHUB02. phx.gbl
| microsoft.publi c.dotnet.framew ork.aspnet:7487 3
| | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| |
| | Hello,
| | I'm trying to include a popup in the ItemTemplate of a gridview row.
The
| | ItemTemplate for the field contains a textbox and when the user
clicks
| in
| | the textbox I want a popup panel to show allowing the user to make a
| | selection from the popup window. I have enabled AJAX extensions and
have
| a
| | working sample outside of a gridview. However, when I click in the
| textbox
| | of a gridview row, all I see is a really small square instead of the
| whole
| | popup. How might I make this work?
| |
| |
| | This is what the code looks like in my ItemTemplate:
| | And, below that is the code for the radiobuttonlist 's selection
changed
| | event:
| | <ItemTemplate >
| |
| | <asp:TextBox ID="txtFMSValue " runat="server" Text='<%#
Eval("FMSValue" ,
| | "{0:C0}") %>'
| |
| | Width="80px" ToolTip="Click for selection"></asp:TextBox>
| |
| | <div style="width: 100px">
| |
| | <asp:Panel ID="panFMSValue " runat="server" CssClass="popup Control">
| |
| | <asp:UpdatePane l ID="upFMSValue " runat="server">
| |
| | <ContentTemplat e>
| |
| | <asp:RadioButto nList ID="rblFMSValue " runat="server"
| | OnSelectedIndex Changed="rblFMS Value_SelectedI ndexChanged">
| |
| | </asp:RadioButton List>
| |
| | </ContentTemplate >
| |
| | </asp:UpdatePanel >
| |
| | </asp:Panel>
| |
| | <ajax:PopupCont rolExtender ID="PopupContro lExtender1" runat="server"
| |
| | TargetControlID ="txtFMSValu e" PopupControlID= "panFMSValu e"
| |
| | CommitScript="e .value;">
| |
| | </ajax:PopupContr olExtender>
| |
| | </div>
| |
| | </ItemTemplate>
| |
| |
| |
| | Protected Sub rblFMSValue_Sel ectedIndexChang ed(ByVal sender As Object,
| ByVal
| | e As System.EventArg s)
| |
| | If Not (String.IsNullO rEmpty(rblFMSVa lue.SelectedVal ue)) Then
| |
| | Dim s As String = rblFMSValue.Sel ectedValue
| |
| | Dim pos As Integer = s.IndexOf(": ")
| |
| | s = s.Substring(pos + 2)
| |
| |
PopupControlExt ender.GetProxyF orCurrentPopup( Me.Page).Commit (s)
| |
| | End If
| |
| | End Sub
| |
| | S
| |
| |
| |
| |
| >
|
|
|

Sep 2 '08 #6
Hi,

Have you sent the demo project to me?

Regards,
Allen Chen
Microsoft Online Community Support
--------------------
| From: "SAL" <SA*@nospam.nos pam>
| References: <ex************ **@TK2MSFTNGP04 .phx.gbl>
<zm************ **@TK2MSFTNGHUB 02.phx.gbl>
| Subject: Re: Gridview & updatepanel issue
| Date: Fri, 29 Aug 2008 12:50:49 -0700
| Lines: 150
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
| Message-ID: <#J************ **@TK2MSFTNGP04 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: host182254.clar k.wa.gov 64.4.182.254
| Path: TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP04.phx .gbl
| Xref: TK2MSFTNGHUB02. phx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:7493 1
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Allen,
| I'm getting the popup but part of it is being obscured by the
dropdownlists
| in the field next to it. Is there a way to keep this from happening?
|
| S
|
| "Allen Chen [MSFT]" <v-******@online.m icrosoft.comwro te in message
| news:zm******** ******@TK2MSFTN GHUB02.phx.gbl. ..
| Hi,
| Quote =============== =============== =============== =====
| However, when I click in the textbox
| of a gridview row, all I see is a really small square instead of the
whole
| popup. How might I make this work?
| =============== =============== =============== =====
| >
| I tried your code and it works fine. From your code I guess it's caused
by
| the CssClass="popup Control". What's the style you use in this CssClass?
| Could you send it to me?
| >
| 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****@microsof t.com.
| >
| =============== =============== =============== =====
| Get notification to my posts through email? Please refer to
| >
http://msdn.microsoft.com/subscripti...ult.aspx#notif
| ications.
| >
| Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
| where an initial response from the community or a Microsoft Support
| Engineer within 1 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 or complex
| project analysis and dump analysis issues. 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/subscripti...t/default.aspx.
| =============== =============== =============== =====
| This posting is provided "AS IS" with no warranties, and confers no
| rights.
| >
| --------------------
| | From: "SAL" <SA*@nospam.nos pam>
| | Subject: Gridview & updatepanel issue
| | Date: Thu, 28 Aug 2008 16:50:01 -0700
| | Lines: 74
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| | X-RFC2646: Format=Flowed; Original
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
| | Message-ID: <ex************ **@TK2MSFTNGP04 .phx.gbl>
| | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | NNTP-Posting-Host: host182254.clar k.wa.gov 64.4.182.254
| | Path: TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP04.phx .gbl
| | Xref: TK2MSFTNGHUB02. phx.gbl
| microsoft.publi c.dotnet.framew ork.aspnet:7487 3
| | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| |
| | Hello,
| | I'm trying to include a popup in the ItemTemplate of a gridview row.
The
| | ItemTemplate for the field contains a textbox and when the user
clicks
| in
| | the textbox I want a popup panel to show allowing the user to make a
| | selection from the popup window. I have enabled AJAX extensions and
have
| a
| | working sample outside of a gridview. However, when I click in the
| textbox
| | of a gridview row, all I see is a really small square instead of the
| whole
| | popup. How might I make this work?
| |
| |
| | This is what the code looks like in my ItemTemplate:
| | And, below that is the code for the radiobuttonlist 's selection
changed
| | event:
| | <ItemTemplate >
| |
| | <asp:TextBox ID="txtFMSValue " runat="server" Text='<%#
Eval("FMSValue" ,
| | "{0:C0}") %>'
| |
| | Width="80px" ToolTip="Click for selection"></asp:TextBox>
| |
| | <div style="width: 100px">
| |
| | <asp:Panel ID="panFMSValue " runat="server" CssClass="popup Control">
| |
| | <asp:UpdatePane l ID="upFMSValue " runat="server">
| |
| | <ContentTemplat e>
| |
| | <asp:RadioButto nList ID="rblFMSValue " runat="server"
| | OnSelectedIndex Changed="rblFMS Value_SelectedI ndexChanged">
| |
| | </asp:RadioButton List>
| |
| | </ContentTemplate >
| |
| | </asp:UpdatePanel >
| |
| | </asp:Panel>
| |
| | <ajax:PopupCont rolExtender ID="PopupContro lExtender1" runat="server"
| |
| | TargetControlID ="txtFMSValu e" PopupControlID= "panFMSValu e"
| |
| | CommitScript="e .value;">
| |
| | </ajax:PopupContr olExtender>
| |
| | </div>
| |
| | </ItemTemplate>
| |
| |
| |
| | Protected Sub rblFMSValue_Sel ectedIndexChang ed(ByVal sender As Object,
| ByVal
| | e As System.EventArg s)
| |
| | If Not (String.IsNullO rEmpty(rblFMSVa lue.SelectedVal ue)) Then
| |
| | Dim s As String = rblFMSValue.Sel ectedValue
| |
| | Dim pos As Integer = s.IndexOf(": ")
| |
| | s = s.Substring(pos + 2)
| |
| |
PopupControlExt ender.GetProxyF orCurrentPopup( Me.Page).Commit (s)
| |
| | End If
| |
| | End Sub
| |
| | S
| |
| |
| |
| |
| >
|
|
|

Sep 4 '08 #7
SAL
Sorry Allen, I was sick for a couple of days. I have finally repro'd the
behavior in my test app and confirmed it's something in the Master page that
is causing the behavior. There are a bunch of html errors in the master page
so I'm trying to root them all out before I send you the project for more
help. Will send updates as I proceed. Thanks

S
"Allen Chen [MSFT]" <v-******@online.m icrosoft.comwro te in message
news:nT******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi,

Have you sent the demo project to me?

Regards,
Allen Chen
Microsoft Online Community Support
--------------------
| From: "SAL" <SA*@nospam.nos pam>
| References: <ex************ **@TK2MSFTNGP04 .phx.gbl>
<zm************ **@TK2MSFTNGHUB 02.phx.gbl>
| Subject: Re: Gridview & updatepanel issue
| Date: Fri, 29 Aug 2008 12:50:49 -0700
| Lines: 150
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
| Message-ID: <#J************ **@TK2MSFTNGP04 .phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| NNTP-Posting-Host: host182254.clar k.wa.gov 64.4.182.254
| Path: TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP04.phx .gbl
| Xref: TK2MSFTNGHUB02. phx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:7493 1
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
|
| Allen,
| I'm getting the popup but part of it is being obscured by the
dropdownlists
| in the field next to it. Is there a way to keep this from happening?
|
| S
|
| "Allen Chen [MSFT]" <v-******@online.m icrosoft.comwro te in message
| news:zm******** ******@TK2MSFTN GHUB02.phx.gbl. ..
| Hi,
| Quote =============== =============== =============== =====
| However, when I click in the textbox
| of a gridview row, all I see is a really small square instead of the
whole
| popup. How might I make this work?
| =============== =============== =============== =====
| >
| I tried your code and it works fine. From your code I guess it's
caused
by
| the CssClass="popup Control". What's the style you use in this
CssClass?
| Could you send it to me?
| >
| 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****@microsof t.com.
| >
| =============== =============== =============== =====
| Get notification to my posts through email? Please refer to
| >
http://msdn.microsoft.com/subscripti...ult.aspx#notif
| ications.
| >
| Note: The MSDN Managed Newsgroup support offering is for non-urgent
issues
| where an initial response from the community or a Microsoft Support
| Engineer within 1 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 or complex
| project analysis and dump analysis issues. 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/subscripti...t/default.aspx.
| =============== =============== =============== =====
| This posting is provided "AS IS" with no warranties, and confers no
| rights.
| >
| --------------------
| | From: "SAL" <SA*@nospam.nos pam>
| | Subject: Gridview & updatepanel issue
| | Date: Thu, 28 Aug 2008 16:50:01 -0700
| | Lines: 74
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| | X-RFC2646: Format=Flowed; Original
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
| | Message-ID: <ex************ **@TK2MSFTNGP04 .phx.gbl>
| | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | NNTP-Posting-Host: host182254.clar k.wa.gov 64.4.182.254
| | Path:
TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP04.phx .gbl
| | Xref: TK2MSFTNGHUB02. phx.gbl
| microsoft.publi c.dotnet.framew ork.aspnet:7487 3
| | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| |
| | Hello,
| | I'm trying to include a popup in the ItemTemplate of a gridview row.
The
| | ItemTemplate for the field contains a textbox and when the user
clicks
| in
| | the textbox I want a popup panel to show allowing the user to make a
| | selection from the popup window. I have enabled AJAX extensions and
have
| a
| | working sample outside of a gridview. However, when I click in the
| textbox
| | of a gridview row, all I see is a really small square instead of the
| whole
| | popup. How might I make this work?
| |
| |
| | This is what the code looks like in my ItemTemplate:
| | And, below that is the code for the radiobuttonlist 's selection
changed
| | event:
| | <ItemTemplate >
| |
| | <asp:TextBox ID="txtFMSValue " runat="server" Text='<%#
Eval("FMSValue" ,
| | "{0:C0}") %>'
| |
| | Width="80px" ToolTip="Click for selection"></asp:TextBox>
| |
| | <div style="width: 100px">
| |
| | <asp:Panel ID="panFMSValue " runat="server" CssClass="popup Control">
| |
| | <asp:UpdatePane l ID="upFMSValue " runat="server">
| |
| | <ContentTemplat e>
| |
| | <asp:RadioButto nList ID="rblFMSValue " runat="server"
| | OnSelectedIndex Changed="rblFMS Value_SelectedI ndexChanged">
| |
| | </asp:RadioButton List>
| |
| | </ContentTemplate >
| |
| | </asp:UpdatePanel >
| |
| | </asp:Panel>
| |
| | <ajax:PopupCont rolExtender ID="PopupContro lExtender1" runat="server"
| |
| | TargetControlID ="txtFMSValu e" PopupControlID= "panFMSValu e"
| |
| | CommitScript="e .value;">
| |
| | </ajax:PopupContr olExtender>
| |
| | </div>
| |
| | </ItemTemplate>
| |
| |
| |
| | Protected Sub rblFMSValue_Sel ectedIndexChang ed(ByVal sender As
Object,
| ByVal
| | e As System.EventArg s)
| |
| | If Not (String.IsNullO rEmpty(rblFMSVa lue.SelectedVal ue)) Then
| |
| | Dim s As String = rblFMSValue.Sel ectedValue
| |
| | Dim pos As Integer = s.IndexOf(": ")
| |
| | s = s.Substring(pos + 2)
| |
| |
PopupControlExt ender.GetProxyF orCurrentPopup( Me.Page).Commit (s)
| |
| | End If
| |
| | End Sub
| |
| | S
| |
| |
| |
| |
| >
|
|
|

Sep 4 '08 #8
Hi Steve,

Thanks for your project. I've reproduced this behavior on my side.
Unfortunately, this is a known issue of IE 6. The good news is, this issue
has been fixed in IE 7. You can view the page with IE 7. This problem
should not occur anymore.

You also mentioned this in your email:
=============== =============== =============== ====
The production app display one more behavior not shown here, the radio
button do not line up to the left even though I have set the text align
property to right.
=============== =============== =============== ====

Does it happen in IE 7? Could you send me a screenshot related to this
issue?

Regards,
Allen Chen
Microsoft Online Support

--------------------
| X-Tomcat-ID: 47225507
| References: <ex************ **@TK2MSFTNGP04 .phx.gbl>
<zm************ **@TK2MSFTNGHUB 02.phx.gbl>
<#J************ **@TK2MSFTNGP04 .phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: v-******@online.m icrosoft.com (Allen Chen [MSFT])
| Organization: Microsoft
| Date: Tue, 02 Sep 2008 07:50:52 GMT
| Subject: Re: Gridview & updatepanel issue
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| Message-ID: <mQ************ **@TK2MSFTNGHUB 02.phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| Lines: 168
| Path: TK2MSFTNGHUB02. phx.gbl
| Xref: TK2MSFTNGHUB02. phx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:7507 6
| NNTP-Posting-Host: tk5tomimport2.p hx.gbl 10.201.218.20
|
| Hi,
|
| Could you send me a demo project that can reproduce this problem? My
email
| is v-******@microsof t.com.
| You're also appreciated to send me a screenshot to illustrate the
behavior.
| I'll try to reproduce it on my side and see if I can find a way to
achieve
| your requirement.
|
| Regards,
| Allen Chen
| Microsoft Online Support
|
| --------------------
| | From: "SAL" <SA*@nospam.nos pam>
| | References: <ex************ **@TK2MSFTNGP04 .phx.gbl>
| <zm************ **@TK2MSFTNGHUB 02.phx.gbl>
| | Subject: Re: Gridview & updatepanel issue
| | Date: Fri, 29 Aug 2008 12:50:49 -0700
| | Lines: 150
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| | X-RFC2646: Format=Flowed; Original
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
| | Message-ID: <#J************ **@TK2MSFTNGP04 .phx.gbl>
| | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | NNTP-Posting-Host: host182254.clar k.wa.gov 64.4.182.254
| | Path: TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP04.phx .gbl
| | Xref: TK2MSFTNGHUB02. phx.gbl
| microsoft.publi c.dotnet.framew ork.aspnet:7493 1
| | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| |
| | Allen,
| | I'm getting the popup but part of it is being obscured by the
| dropdownlists
| | in the field next to it. Is there a way to keep this from happening?
| |
| | S
| |
| | "Allen Chen [MSFT]" <v-******@online.m icrosoft.comwro te in message
| | news:zm******** ******@TK2MSFTN GHUB02.phx.gbl. ..
| | Hi,
| | Quote =============== =============== =============== =====
| | However, when I click in the textbox
| | of a gridview row, all I see is a really small square instead of the
| whole
| | popup. How might I make this work?
| | =============== =============== =============== =====
| | >
| | I tried your code and it works fine. From your code I guess it's
caused
| by
| | the CssClass="popup Control". What's the style you use in this
CssClass?
| | Could you send it to me?
| | >
| | 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****@microsof t.com.
| | >
| | =============== =============== =============== =====
| | Get notification to my posts through email? Please refer to
| | >
|
http://msdn.microsoft.com/subscripti...ult.aspx#notif
| | ications.
| | >
| | Note: The MSDN Managed Newsgroup support offering is for non-urgent
| issues
| | where an initial response from the community or a Microsoft Support
| | Engineer within 1 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 or complex
| | project analysis and dump analysis issues. 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/subscripti...t/default.aspx.
| | =============== =============== =============== =====
| | This posting is provided "AS IS" with no warranties, and confers no
| | rights.
| | >
| | --------------------
| | | From: "SAL" <SA*@nospam.nos pam>
| | | Subject: Gridview & updatepanel issue
| | | Date: Thu, 28 Aug 2008 16:50:01 -0700
| | | Lines: 74
| | | X-Priority: 3
| | | X-MSMail-Priority: Normal
| | | X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| | | X-RFC2646: Format=Flowed; Original
| | | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
| | | Message-ID: <ex************ **@TK2MSFTNGP04 .phx.gbl>
| | | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | | NNTP-Posting-Host: host182254.clar k.wa.gov 64.4.182.254
| | | Path:
TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP04.phx .gbl
| | | Xref: TK2MSFTNGHUB02. phx.gbl
| | microsoft.publi c.dotnet.framew ork.aspnet:7487 3
| | | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| | |
| | | Hello,
| | | I'm trying to include a popup in the ItemTemplate of a gridview
row.
| The
| | | ItemTemplate for the field contains a textbox and when the user
| clicks
| | in
| | | the textbox I want a popup panel to show allowing the user to make a
| | | selection from the popup window. I have enabled AJAX extensions and
| have
| | a
| | | working sample outside of a gridview. However, when I click in the
| | textbox
| | | of a gridview row, all I see is a really small square instead of the
| | whole
| | | popup. How might I make this work?
| | |
| | |
| | | This is what the code looks like in my ItemTemplate:
| | | And, below that is the code for the radiobuttonlist 's selection
| changed
| | | event:
| | | <ItemTemplate >
| | |
| | | <asp:TextBox ID="txtFMSValue " runat="server" Text='<%#
| Eval("FMSValue" ,
| | | "{0:C0}") %>'
| | |
| | | Width="80px" ToolTip="Click for selection"></asp:TextBox>
| | |
| | | <div style="width: 100px">
| | |
| | | <asp:Panel ID="panFMSValue " runat="server" CssClass="popup Control">
| | |
| | | <asp:UpdatePane l ID="upFMSValue " runat="server">
| | |
| | | <ContentTemplat e>
| | |
| | | <asp:RadioButto nList ID="rblFMSValue " runat="server"
| | | OnSelectedIndex Changed="rblFMS Value_SelectedI ndexChanged">
| | |
| | | </asp:RadioButton List>
| | |
| | | </ContentTemplate >
| | |
| | | </asp:UpdatePanel >
| | |
| | | </asp:Panel>
| | |
| | | <ajax:PopupCont rolExtender ID="PopupContro lExtender1" runat="server"
| | |
| | | TargetControlID ="txtFMSValu e" PopupControlID= "panFMSValu e"
| | |
| | | CommitScript="e .value;">
| | |
| | | </ajax:PopupContr olExtender>
| | |
| | | </div>
| | |
| | | </ItemTemplate>
| | |
| | |
| | |
| | | Protected Sub rblFMSValue_Sel ectedIndexChang ed(ByVal sender As
Object,
| | ByVal
| | | e As System.EventArg s)
| | |
| | | If Not (String.IsNullO rEmpty(rblFMSVa lue.SelectedVal ue)) Then
| | |
| | | Dim s As String = rblFMSValue.Sel ectedValue
| | |
| | | Dim pos As Integer = s.IndexOf(": ")
| | |
| | | s = s.Substring(pos + 2)
| | |
| | |
| PopupControlExt ender.GetProxyF orCurrentPopup( Me.Page).Commit (s)
| | |
| | | End If
| | |
| | | End Sub
| | |
| | | S
| | |
| | |
| | |
| | |
| | >
| |
| |
| |
|
|

Sep 5 '08 #9
SAL
Allen, our whole company is on IE 6. Is there any work around for IE 6?

S

"Allen Chen [MSFT]" <v-******@online.m icrosoft.comwro te in message
news:0a******** ******@TK2MSFTN GHUB02.phx.gbl. ..
Hi Steve,

Thanks for your project. I've reproduced this behavior on my side.
Unfortunately, this is a known issue of IE 6. The good news is, this issue
has been fixed in IE 7. You can view the page with IE 7. This problem
should not occur anymore.

You also mentioned this in your email:
=============== =============== =============== ====
The production app display one more behavior not shown here, the radio
button do not line up to the left even though I have set the text align
property to right.
=============== =============== =============== ====

Does it happen in IE 7? Could you send me a screenshot related to this
issue?

Regards,
Allen Chen
Microsoft Online Support

--------------------
| X-Tomcat-ID: 47225507
| References: <ex************ **@TK2MSFTNGP04 .phx.gbl>
<zm************ **@TK2MSFTNGHUB 02.phx.gbl>
<#J************ **@TK2MSFTNGP04 .phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: v-******@online.m icrosoft.com (Allen Chen [MSFT])
| Organization: Microsoft
| Date: Tue, 02 Sep 2008 07:50:52 GMT
| Subject: Re: Gridview & updatepanel issue
| X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| Message-ID: <mQ************ **@TK2MSFTNGHUB 02.phx.gbl>
| Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| Lines: 168
| Path: TK2MSFTNGHUB02. phx.gbl
| Xref: TK2MSFTNGHUB02. phx.gbl
microsoft.publi c.dotnet.framew ork.aspnet:7507 6
| NNTP-Posting-Host: tk5tomimport2.p hx.gbl 10.201.218.20
|
| Hi,
|
| Could you send me a demo project that can reproduce this problem? My
email
| is v-******@microsof t.com.
| You're also appreciated to send me a screenshot to illustrate the
behavior.
| I'll try to reproduce it on my side and see if I can find a way to
achieve
| your requirement.
|
| Regards,
| Allen Chen
| Microsoft Online Support
|
| --------------------
| | From: "SAL" <SA*@nospam.nos pam>
| | References: <ex************ **@TK2MSFTNGP04 .phx.gbl>
| <zm************ **@TK2MSFTNGHUB 02.phx.gbl>
| | Subject: Re: Gridview & updatepanel issue
| | Date: Fri, 29 Aug 2008 12:50:49 -0700
| | Lines: 150
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| | X-RFC2646: Format=Flowed; Original
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
| | Message-ID: <#J************ **@TK2MSFTNGP04 .phx.gbl>
| | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | NNTP-Posting-Host: host182254.clar k.wa.gov 64.4.182.254
| | Path: TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP04.phx .gbl
| | Xref: TK2MSFTNGHUB02. phx.gbl
| microsoft.publi c.dotnet.framew ork.aspnet:7493 1
| | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| |
| | Allen,
| | I'm getting the popup but part of it is being obscured by the
| dropdownlists
| | in the field next to it. Is there a way to keep this from happening?
| |
| | S
| |
| | "Allen Chen [MSFT]" <v-******@online.m icrosoft.comwro te in message
| | news:zm******** ******@TK2MSFTN GHUB02.phx.gbl. ..
| | Hi,
| | Quote =============== =============== =============== =====
| | However, when I click in the textbox
| | of a gridview row, all I see is a really small square instead of the
| whole
| | popup. How might I make this work?
| | =============== =============== =============== =====
| | >
| | I tried your code and it works fine. From your code I guess it's
caused
| by
| | the CssClass="popup Control". What's the style you use in this
CssClass?
| | Could you send it to me?
| | >
| | 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****@microsof t.com.
| | >
| | =============== =============== =============== =====
| | Get notification to my posts through email? Please refer to
| | >
|
http://msdn.microsoft.com/subscripti...ult.aspx#notif
| | ications.
| | >
| | Note: The MSDN Managed Newsgroup support offering is for non-urgent
| issues
| | where an initial response from the community or a Microsoft Support
| | Engineer within 1 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 or
complex
| | project analysis and dump analysis issues. 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/subscripti...t/default.aspx.
| | =============== =============== =============== =====
| | This posting is provided "AS IS" with no warranties, and confers no
| | rights.
| | >
| | --------------------
| | | From: "SAL" <SA*@nospam.nos pam>
| | | Subject: Gridview & updatepanel issue
| | | Date: Thu, 28 Aug 2008 16:50:01 -0700
| | | Lines: 74
| | | X-Priority: 3
| | | X-MSMail-Priority: Normal
| | | X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
| | | X-RFC2646: Format=Flowed; Original
| | | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
| | | Message-ID: <ex************ **@TK2MSFTNGP04 .phx.gbl>
| | | Newsgroups: microsoft.publi c.dotnet.framew ork.aspnet
| | | NNTP-Posting-Host: host182254.clar k.wa.gov 64.4.182.254
| | | Path:
TK2MSFTNGHUB02. phx.gbl!TK2MSFT NGP01.phx.gbl!T K2MSFTNGP04.phx .gbl
| | | Xref: TK2MSFTNGHUB02. phx.gbl
| | microsoft.publi c.dotnet.framew ork.aspnet:7487 3
| | | X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.aspnet
| | |
| | | Hello,
| | | I'm trying to include a popup in the ItemTemplate of a gridview
row.
| The
| | | ItemTemplate for the field contains a textbox and when the user
| clicks
| | in
| | | the textbox I want a popup panel to show allowing the user to make
a
| | | selection from the popup window. I have enabled AJAX extensions
and
| have
| | a
| | | working sample outside of a gridview. However, when I click in the
| | textbox
| | | of a gridview row, all I see is a really small square instead of
the
| | whole
| | | popup. How might I make this work?
| | |
| | |
| | | This is what the code looks like in my ItemTemplate:
| | | And, below that is the code for the radiobuttonlist 's selection
| changed
| | | event:
| | | <ItemTemplate >
| | |
| | | <asp:TextBox ID="txtFMSValue " runat="server" Text='<%#
| Eval("FMSValue" ,
| | | "{0:C0}") %>'
| | |
| | | Width="80px" ToolTip="Click for selection"></asp:TextBox>
| | |
| | | <div style="width: 100px">
| | |
| | | <asp:Panel ID="panFMSValue " runat="server"
CssClass="popup Control">
| | |
| | | <asp:UpdatePane l ID="upFMSValue " runat="server">
| | |
| | | <ContentTemplat e>
| | |
| | | <asp:RadioButto nList ID="rblFMSValue " runat="server"
| | | OnSelectedIndex Changed="rblFMS Value_SelectedI ndexChanged">
| | |
| | | </asp:RadioButton List>
| | |
| | | </ContentTemplate >
| | |
| | | </asp:UpdatePanel >
| | |
| | | </asp:Panel>
| | |
| | | <ajax:PopupCont rolExtender ID="PopupContro lExtender1"
runat="server"
| | |
| | | TargetControlID ="txtFMSValu e" PopupControlID= "panFMSValu e"
| | |
| | | CommitScript="e .value;">
| | |
| | | </ajax:PopupContr olExtender>
| | |
| | | </div>
| | |
| | | </ItemTemplate>
| | |
| | |
| | |
| | | Protected Sub rblFMSValue_Sel ectedIndexChang ed(ByVal sender As
Object,
| | ByVal
| | | e As System.EventArg s)
| | |
| | | If Not (String.IsNullO rEmpty(rblFMSVa lue.SelectedVal ue)) Then
| | |
| | | Dim s As String = rblFMSValue.Sel ectedValue
| | |
| | | Dim pos As Integer = s.IndexOf(": ")
| | |
| | | s = s.Substring(pos + 2)
| | |
| | |
| PopupControlExt ender.GetProxyF orCurrentPopup( Me.Page).Commit (s)
| | |
| | | End If
| | |
| | | End Sub
| | |
| | | S
| | |
| | |
| | |
| | |
| | >
| |
| |
| |
|
|

Sep 5 '08 #10

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

Similar topics

1
3527
by: jmdolinger | last post by:
Hi all, I'm a newbie to Atlas (and recently ASP.NET) after coming from a long Java background, also have done quite a bit with an Ajax.NET/ASP.NET 1.1 project, but it was basically all javascript, nothing really having to do with ASP.NET... I'm attempting to put together an application that consists of several GridView controls each bound to some xml data. Each table exists in its own update panel. The two effects I'm going for are:
2
11628
by: mike | last post by:
I have a page with a LoginView which contains a Gridview and a DetailsView, each in its own UpdatePanel The problem that I am experiencing is that when I select a record in the Gridview (using a SelectButton), the selected record is shown in the DetailsView, which is correct - however, when I choose "Update" on the DetailsView I am presented with the EditItemTemplate which contains the first record in the DetailsDataSource. The code...
1
2704
by: mark4asp | last post by:
I moved a page to another web-site and now it's broke! I had 5 pages in their own web-site. These pages have now been moved to another web-site. Everything is fine except that one of the pages, which I had trouble with in the past (i.e. same problem), is now partly broke. The paging no longer fully works in the gridview. The gvAwarded_RowDataBound code works to load the ddlPager with the correct number of pages.
1
5216
by: podpi | last post by:
Hello I'm having a bit of a proooblem. I have a gridview which has a checkbox as one of the templatecolumn's. When it is checked, it hides a textbox containing a DateTime templatefield (visible="false" which I set in the RowDataBound Event). I have put the DateTime TextBox inside an updatepanel with an asynchronous trigger on the checkbox. It is hiding and displaying perfectly with the updatepanel whenever the checkbox is selected....
0
3449
by: Reinhard | last post by:
Hi, Need some directions on Ajax, UpdatePanel and Gridview to achive the following: I like to show a Gridview with Data ONLY if the user is interested in Details, but without a full page reload! If the page loads, only a summary (eg. COUNT of recs) should be displayed
0
3164
by: jrnail23 | last post by:
I have a user control which contains an UpdatePanel, which contains a MultiView inside, with a GridView in one of the views. In my GridView, I have a ButtonField which is supposed to trigger a server-side operation, using the RowCommand functionality. In IE, this all works great, but in Firefox (v2.0.0.6), clicking the above mentioned ButtonField fires off two similar AJAX requests, which is causing errors in my server-side code. ...
1
3064
by: SachinSachin | last post by:
Hi All, I am implementing a custom gridview control, that emits some javascript to blink a row whenever a new row is added in gridview. The gridview is inside the <asp:updatepanel> for parital page rendering. The problem is when I put the gridview inside the updatepanel, I don't see the HTML table that is created as a result from rendering the gridviewcontrol and thus when new row is added, it does not blink, however when i just put the...
1
3397
by: Yordan Georgiev | last post by:
I have a search form using master page , which is dynamically generated from the column names of the database - when the users have a search result it should be exported to Excel by clicking the button ... I get the following message : A first chance exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll An exception of type 'System.Threading.ThreadAbortException' occurred in mscorlib.dll but was not handled in...
8
6246
by: Nick | last post by:
Hi there, I have a GridView in an UpdatePanel, each time the UpdatePanels Load event fires I set the DataSource and call DataBind of the grid view. This works great once, I add an item to the list and the control updates, my breakpoints get in in the UpdatePanel Load event. Only problem is on the second time, even though the code is executed, the GridView doesn't change. I have disabled the view state for the grid view but still the...
0
8750
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9244
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9111
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9004
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6585
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4421
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4679
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3114
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2439
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.