Gridview & updatepanel issue

S

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="popupControl">

<asp:UpdatePanel ID="upFMSValue" runat="server">

<ContentTemplate>

<asp:RadioButtonList ID="rblFMSValue" runat="server"
OnSelectedIndexChanged="rblFMSValue_SelectedIndexChanged">

</asp:RadioButtonList>

</ContentTemplate>

</asp:UpdatePanel>

</asp:panel>

<ajax:popupControlExtender ID="PopupControlExtender1" runat="server"

TargetControlID="txtFMSValue" PopupControlID="panFMSValue"

CommitScript="e.value;">

</ajax:popupControlExtender>

</div>

</ItemTemplate>



Protected Sub rblFMSValue_SelectedIndexChanged(ByVal sender As Object, ByVal
e As System.EventArgs)

If Not (String.IsNullOrEmpty(rblFMSValue.SelectedValue)) Then

Dim s As String = rblFMSValue.SelectedValue

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

s = s.Substring(pos + 2)

PopupControlExtender.GetProxyForCurrentPopup(Me.Page).Commit(s)

End If

End Sub

S
 
A

Allen Chen [MSFT]

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="popupControl". 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:
(e-mail address removed).

==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.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/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: "SAL" <[email protected]>
| 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: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:74873
| X-Tomcat-NG: microsoft.public.dotnet.framework.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="popupControl">
|
| <asp:UpdatePanel ID="upFMSValue" runat="server">
|
| <ContentTemplate>
|
| <asp:RadioButtonList ID="rblFMSValue" runat="server"
| OnSelectedIndexChanged="rblFMSValue_SelectedIndexChanged">
|
| </asp:RadioButtonList>
|
| </ContentTemplate>
|
| </asp:UpdatePanel>
|
| </asp:panel>
|
| <ajax:popupControlExtender ID="PopupControlExtender1" runat="server"
|
| TargetControlID="txtFMSValue" PopupControlID="panFMSValue"
|
| CommitScript="e.value;">
|
| </ajax:popupControlExtender>
|
| </div>
|
| </ItemTemplate>
|
|
|
| Protected Sub rblFMSValue_SelectedIndexChanged(ByVal sender As Object,
ByVal
| e As System.EventArgs)
|
| If Not (String.IsNullOrEmpty(rblFMSValue.SelectedValue)) Then
|
| Dim s As String = rblFMSValue.SelectedValue
|
| Dim pos As Integer = s.IndexOf(": ")
|
| s = s.Substring(pos + 2)
|
| PopupControlExtender.GetProxyForCurrentPopup(Me.Page).Commit(s)
|
| End If
|
| End Sub
|
| S
|
|
|
|
 
S

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
 
S

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
 
A

Allen Chen [MSFT]

Hi,

Could you send me a demo project that can reproduce this problem? My email
is (e-mail address removed).
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" <[email protected]>
| References: <[email protected]>
<[email protected]>
| 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: <#[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:74931
| X-Tomcat-NG: microsoft.public.dotnet.framework.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
|
| | > 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="popupControl". 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:
| > (e-mail address removed).
| >
| > ==================================================
| > Get notification to my posts through email? Please refer to
| >
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.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/subscriptions/support/default.aspx.
| > ==================================================
| > This posting is provided "AS IS" with no warranties, and confers no
| > rights.
| >
| > --------------------
| > | From: "SAL" <[email protected]>
| > | 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: <[email protected]>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| > | Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
| > | Xref: TK2MSFTNGHUB02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:74873
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.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="popupControl">
| > |
| > | <asp:UpdatePanel ID="upFMSValue" runat="server">
| > |
| > | <ContentTemplate>
| > |
| > | <asp:RadioButtonList ID="rblFMSValue" runat="server"
| > | OnSelectedIndexChanged="rblFMSValue_SelectedIndexChanged">
| > |
| > | </asp:RadioButtonList>
| > |
| > | </ContentTemplate>
| > |
| > | </asp:UpdatePanel>
| > |
| > | </asp:panel>
| > |
| > | <ajax:popupControlExtender ID="PopupControlExtender1" runat="server"
| > |
| > | TargetControlID="txtFMSValue" PopupControlID="panFMSValue"
| > |
| > | CommitScript="e.value;">
| > |
| > | </ajax:popupControlExtender>
| > |
| > | </div>
| > |
| > | </ItemTemplate>
| > |
| > |
| > |
| > | Protected Sub rblFMSValue_SelectedIndexChanged(ByVal sender As Object,
| > ByVal
| > | e As System.EventArgs)
| > |
| > | If Not (String.IsNullOrEmpty(rblFMSValue.SelectedValue)) Then
| > |
| > | Dim s As String = rblFMSValue.SelectedValue
| > |
| > | Dim pos As Integer = s.IndexOf(": ")
| > |
| > | s = s.Substring(pos + 2)
| > |
| > |
PopupControlExtender.GetProxyForCurrentPopup(Me.Page).Commit(s)
| > |
| > | End If
| > |
| > | End Sub
| > |
| > | S
| > |
| > |
| > |
| > |
| >
|
|
|
 
A

Allen Chen [MSFT]

Hi,

Have you sent the demo project to me?

Regards,
Allen Chen
Microsoft Online Community Support
--------------------
| From: "SAL" <[email protected]>
| References: <[email protected]>
<[email protected]>
| 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: <#[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:74931
| X-Tomcat-NG: microsoft.public.dotnet.framework.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
|
| | > 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="popupControl". 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:
| > (e-mail address removed).
| >
| > ==================================================
| > Get notification to my posts through email? Please refer to
| >
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.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/subscriptions/support/default.aspx.
| > ==================================================
| > This posting is provided "AS IS" with no warranties, and confers no
| > rights.
| >
| > --------------------
| > | From: "SAL" <[email protected]>
| > | 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: <[email protected]>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| > | Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
| > | Xref: TK2MSFTNGHUB02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:74873
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.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="popupControl">
| > |
| > | <asp:UpdatePanel ID="upFMSValue" runat="server">
| > |
| > | <ContentTemplate>
| > |
| > | <asp:RadioButtonList ID="rblFMSValue" runat="server"
| > | OnSelectedIndexChanged="rblFMSValue_SelectedIndexChanged">
| > |
| > | </asp:RadioButtonList>
| > |
| > | </ContentTemplate>
| > |
| > | </asp:UpdatePanel>
| > |
| > | </asp:panel>
| > |
| > | <ajax:popupControlExtender ID="PopupControlExtender1" runat="server"
| > |
| > | TargetControlID="txtFMSValue" PopupControlID="panFMSValue"
| > |
| > | CommitScript="e.value;">
| > |
| > | </ajax:popupControlExtender>
| > |
| > | </div>
| > |
| > | </ItemTemplate>
| > |
| > |
| > |
| > | Protected Sub rblFMSValue_SelectedIndexChanged(ByVal sender As Object,
| > ByVal
| > | e As System.EventArgs)
| > |
| > | If Not (String.IsNullOrEmpty(rblFMSValue.SelectedValue)) Then
| > |
| > | Dim s As String = rblFMSValue.SelectedValue
| > |
| > | Dim pos As Integer = s.IndexOf(": ")
| > |
| > | s = s.Substring(pos + 2)
| > |
| > |
PopupControlExtender.GetProxyForCurrentPopup(Me.Page).Commit(s)
| > |
| > | End If
| > |
| > | End Sub
| > |
| > | S
| > |
| > |
| > |
| > |
| >
|
|
|
 
S

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
 
A

Allen Chen [MSFT]

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: <[email protected]>
<[email protected]>
<#[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: (e-mail address removed) (Allen Chen [MSFT])
| Organization: Microsoft
| Date: Tue, 02 Sep 2008 07:50:52 GMT
| Subject: Re: Gridview & updatepanel issue
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Lines: 168
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:75076
| NNTP-Posting-Host: tk5tomimport2.phx.gbl 10.201.218.20
|
| Hi,
|
| Could you send me a demo project that can reproduce this problem? My
email
| is (e-mail address removed).
| 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" <[email protected]>
| | References: <[email protected]>
| <[email protected]>
| | 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: <#[email protected]>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
| | Xref: TK2MSFTNGHUB02.phx.gbl
| microsoft.public.dotnet.framework.aspnet:74931
| | X-Tomcat-NG: microsoft.public.dotnet.framework.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
| |
| | | | > 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="popupControl". 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:
| | > (e-mail address removed).
| | >
| | > ==================================================
| | > Get notification to my posts through email? Please refer to
| | >
|
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.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/subscriptions/support/default.aspx.
| | > ==================================================
| | > This posting is provided "AS IS" with no warranties, and confers no
| | > rights.
| | >
| | > --------------------
| | > | From: "SAL" <[email protected]>
| | > | 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: <[email protected]>
| | > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | > | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | > | Path:
TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
| | > | Xref: TK2MSFTNGHUB02.phx.gbl
| | > microsoft.public.dotnet.framework.aspnet:74873
| | > | X-Tomcat-NG: microsoft.public.dotnet.framework.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="popupControl">
| | > |
| | > | <asp:UpdatePanel ID="upFMSValue" runat="server">
| | > |
| | > | <ContentTemplate>
| | > |
| | > | <asp:RadioButtonList ID="rblFMSValue" runat="server"
| | > | OnSelectedIndexChanged="rblFMSValue_SelectedIndexChanged">
| | > |
| | > | </asp:RadioButtonList>
| | > |
| | > | </ContentTemplate>
| | > |
| | > | </asp:UpdatePanel>
| | > |
| | > | </asp:panel>
| | > |
| | > | <ajax:popupControlExtender ID="PopupControlExtender1" runat="server"
| | > |
| | > | TargetControlID="txtFMSValue" PopupControlID="panFMSValue"
| | > |
| | > | CommitScript="e.value;">
| | > |
| | > | </ajax:popupControlExtender>
| | > |
| | > | </div>
| | > |
| | > | </ItemTemplate>
| | > |
| | > |
| | > |
| | > | Protected Sub rblFMSValue_SelectedIndexChanged(ByVal sender As
Object,
| | > ByVal
| | > | e As System.EventArgs)
| | > |
| | > | If Not (String.IsNullOrEmpty(rblFMSValue.SelectedValue)) Then
| | > |
| | > | Dim s As String = rblFMSValue.SelectedValue
| | > |
| | > | Dim pos As Integer = s.IndexOf(": ")
| | > |
| | > | s = s.Substring(pos + 2)
| | > |
| | > |
| PopupControlExtender.GetProxyForCurrentPopup(Me.Page).Commit(s)
| | > |
| | > | End If
| | > |
| | > | End Sub
| | > |
| | > | S
| | > |
| | > |
| | > |
| | > |
| | >
| |
| |
| |
|
|
 
S

SAL

Allen, our whole company is on IE 6. Is there any work around for IE 6?

S

Allen Chen said:
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: <[email protected]>
<[email protected]>
<#[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: (e-mail address removed) (Allen Chen [MSFT])
| Organization: Microsoft
| Date: Tue, 02 Sep 2008 07:50:52 GMT
| Subject: Re: Gridview & updatepanel issue
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Lines: 168
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:75076
| NNTP-Posting-Host: tk5tomimport2.phx.gbl 10.201.218.20
|
| Hi,
|
| Could you send me a demo project that can reproduce this problem? My
email
| is (e-mail address removed).
| 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" <[email protected]>
| | References: <[email protected]>
| <[email protected]>
| | 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: <#[email protected]>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
| | Xref: TK2MSFTNGHUB02.phx.gbl
| microsoft.public.dotnet.framework.aspnet:74931
| | X-Tomcat-NG: microsoft.public.dotnet.framework.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
| |
| | | | > 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="popupControl". 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:
| | > (e-mail address removed).
| | >
| | > ==================================================
| | > Get notification to my posts through email? Please refer to
| | >
|
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.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/subscriptions/support/default.aspx.
| | > ==================================================
| | > This posting is provided "AS IS" with no warranties, and confers no
| | > rights.
| | >
| | > --------------------
| | > | From: "SAL" <[email protected]>
| | > | 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: <[email protected]>
| | > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | > | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | > | Path:
TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
| | > | Xref: TK2MSFTNGHUB02.phx.gbl
| | > microsoft.public.dotnet.framework.aspnet:74873
| | > | X-Tomcat-NG: microsoft.public.dotnet.framework.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="popupControl">
| | > |
| | > | <asp:UpdatePanel ID="upFMSValue" runat="server">
| | > |
| | > | <ContentTemplate>
| | > |
| | > | <asp:RadioButtonList ID="rblFMSValue" runat="server"
| | > | OnSelectedIndexChanged="rblFMSValue_SelectedIndexChanged">
| | > |
| | > | </asp:RadioButtonList>
| | > |
| | > | </ContentTemplate>
| | > |
| | > | </asp:UpdatePanel>
| | > |
| | > | </asp:panel>
| | > |
| | > | <ajax:popupControlExtender ID="PopupControlExtender1"
runat="server"
| | > |
| | > | TargetControlID="txtFMSValue" PopupControlID="panFMSValue"
| | > |
| | > | CommitScript="e.value;">
| | > |
| | > | </ajax:popupControlExtender>
| | > |
| | > | </div>
| | > |
| | > | </ItemTemplate>
| | > |
| | > |
| | > |
| | > | Protected Sub rblFMSValue_SelectedIndexChanged(ByVal sender As
Object,
| | > ByVal
| | > | e As System.EventArgs)
| | > |
| | > | If Not (String.IsNullOrEmpty(rblFMSValue.SelectedValue)) Then
| | > |
| | > | Dim s As String = rblFMSValue.SelectedValue
| | > |
| | > | Dim pos As Integer = s.IndexOf(": ")
| | > |
| | > | s = s.Substring(pos + 2)
| | > |
| | > |
| PopupControlExtender.GetProxyForCurrentPopup(Me.Page).Commit(s)
| | > |
| | > | End If
| | > |
| | > | End Sub
| | > |
| | > | S
| | > |
| | > |
| | > |
| | > |
| | >
| |
| |
| |
|
|
 
A

Allen Chen [MSFT]

Hi Steve,

Unfortunately, as far as I know, there's no way to get rid of this
limitation of IE 6 currently. The only workaround I can provide is to
increase the width of the "payterms" column to eliminate the overlap of the
float div and the combobox (or any other ways to eliminate the overlap). To
do this we can find a TableCell of the "payterms" column in the
RowDataBound event handler of the GridView and increase the TableCell's
width.
Will this workaround be acceptable?

Thanks,
Allen Chen
Microsoft Online Support

--------------------
| From: "SAL" <[email protected]>
| References: <[email protected]>
<[email protected]>
<#[email protected]>
<[email protected]>
<[email protected]>
| Subject: Re: Gridview & updatepanel issue
| Date: Fri, 5 Sep 2008 08:23:45 -0700
| Lines: 272
| 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: <##[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: host182023.clark.wa.gov 64.4.182.23
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP06.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:75335
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Allen, our whole company is on IE 6. Is there any work around for IE 6?
|
| S
|
| | > 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: <[email protected]>
| > <[email protected]>
| > <#[email protected]>
| > | MIME-Version: 1.0
| > | Content-Type: text/plain
| > | Content-Transfer-Encoding: 7bit
| > | From: (e-mail address removed) (Allen Chen [MSFT])
| > | Organization: Microsoft
| > | Date: Tue, 02 Sep 2008 07:50:52 GMT
| > | Subject: Re: Gridview & updatepanel issue
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > | Message-ID: <[email protected]>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | Lines: 168
| > | Path: TK2MSFTNGHUB02.phx.gbl
| > | Xref: TK2MSFTNGHUB02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:75076
| > | NNTP-Posting-Host: tk5tomimport2.phx.gbl 10.201.218.20
| > |
| > | Hi,
| > |
| > | Could you send me a demo project that can reproduce this problem? My
| > email
| > | is (e-mail address removed).
| > | 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" <[email protected]>
| > | | References: <[email protected]>
| > | <[email protected]>
| > | | 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: <#[email protected]>
| > | | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| > | | Path:
TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
| > | | Xref: TK2MSFTNGHUB02.phx.gbl
| > | microsoft.public.dotnet.framework.aspnet:74931
| > | | X-Tomcat-NG: microsoft.public.dotnet.framework.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
| > | |
| > | | | > | | > 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="popupControl". 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:
| > | | > (e-mail address removed).
| > | | >
| > | | > ==================================================
| > | | > Get notification to my posts through email? Please refer to
| > | | >
| > |
| >
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.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/subscriptions/support/default.aspx.
| > | | > ==================================================
| > | | > This posting is provided "AS IS" with no warranties, and confers
no
| > | | > rights.
| > | | >
| > | | > --------------------
| > | | > | From: "SAL" <[email protected]>
| > | | > | 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: <[email protected]>
| > | | > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | | > | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| > | | > | Path:
| > TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
| > | | > | Xref: TK2MSFTNGHUB02.phx.gbl
| > | | > microsoft.public.dotnet.framework.aspnet:74873
| > | | > | X-Tomcat-NG: microsoft.public.dotnet.framework.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="popupControl">
| > | | > |
| > | | > | <asp:UpdatePanel ID="upFMSValue" runat="server">
| > | | > |
| > | | > | <ContentTemplate>
| > | | > |
| > | | > | <asp:RadioButtonList ID="rblFMSValue" runat="server"
| > | | > | OnSelectedIndexChanged="rblFMSValue_SelectedIndexChanged">
| > | | > |
| > | | > | </asp:RadioButtonList>
| > | | > |
| > | | > | </ContentTemplate>
| > | | > |
| > | | > | </asp:UpdatePanel>
| > | | > |
| > | | > | </asp:panel>
| > | | > |
| > | | > | <ajax:popupControlExtender ID="PopupControlExtender1"
| > runat="server"
| > | | > |
| > | | > | TargetControlID="txtFMSValue" PopupControlID="panFMSValue"
| > | | > |
| > | | > | CommitScript="e.value;">
| > | | > |
| > | | > | </ajax:popupControlExtender>
| > | | > |
| > | | > | </div>
| > | | > |
| > | | > | </ItemTemplate>
| > | | > |
| > | | > |
| > | | > |
| > | | > | Protected Sub rblFMSValue_SelectedIndexChanged(ByVal sender As
| > Object,
| > | | > ByVal
| > | | > | e As System.EventArgs)
| > | | > |
| > | | > | If Not (String.IsNullOrEmpty(rblFMSValue.SelectedValue))
Then
| > | | > |
| > | | > | Dim s As String = rblFMSValue.SelectedValue
| > | | > |
| > | | > | Dim pos As Integer = s.IndexOf(": ")
| > | | > |
| > | | > | s = s.Substring(pos + 2)
| > | | > |
| > | | > |
| > | PopupControlExtender.GetProxyForCurrentPopup(Me.Page).Commit(s)
| > | | > |
| > | | > | End If
| > | | > |
| > | | > | End Sub
| > | | > |
| > | | > | S
| > | | > |
| > | | > |
| > | | > |
| > | | > |
| > | | >
| > | |
| > | |
| > | |
| > |
| > |
| >
|
|
|
 
A

Allen Chen [MSFT]

Hi Steve,
Do you have any progress on this issue? Do you have any further questions?

Regards,
Allen Chen
Microsoft Online Support
--------------------
| X-Tomcat-ID: 47831721
| References: <[email protected]>
<[email protected]>
<#[email protected]>
<[email protected]>
<[email protected]>
<##[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: (e-mail address removed) (Allen Chen [MSFT])
| Organization: Microsoft
| Date: Mon, 08 Sep 2008 07:46:05 GMT
| Subject: Re: Gridview & updatepanel issue
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Lines: 285
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:75514
| NNTP-Posting-Host: TOMCATIMPORT3 10.201.220.210
|
| Hi Steve,
|
| Unfortunately, as far as I know, there's no way to get rid of this
| limitation of IE 6 currently. The only workaround I can provide is to
| increase the width of the "payterms" column to eliminate the overlap of
the
| float div and the combobox (or any other ways to eliminate the overlap).
To
| do this we can find a TableCell of the "payterms" column in the
| RowDataBound event handler of the GridView and increase the TableCell's
| width.
| Will this workaround be acceptable?
|
| Thanks,
| Allen Chen
| Microsoft Online Support
|
| --------------------
| | From: "SAL" <[email protected]>
| | References: <[email protected]>
| <[email protected]>
| <#[email protected]>
| <[email protected]>
| <[email protected]>
| | Subject: Re: Gridview & updatepanel issue
| | Date: Fri, 5 Sep 2008 08:23:45 -0700
| | Lines: 272
| | 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: <##[email protected]>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: host182023.clark.wa.gov 64.4.182.23
| | Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP06.phx.gbl
| | Xref: TK2MSFTNGHUB02.phx.gbl
| microsoft.public.dotnet.framework.aspnet:75335
| | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| |
| | Allen, our whole company is on IE 6. Is there any work around for IE 6?
| |
| | S
| |
| | | | > 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: <[email protected]>
| | > <[email protected]>
| | > <#[email protected]>
| | > | MIME-Version: 1.0
| | > | Content-Type: text/plain
| | > | Content-Transfer-Encoding: 7bit
| | > | From: (e-mail address removed) (Allen Chen [MSFT])
| | > | Organization: Microsoft
| | > | Date: Tue, 02 Sep 2008 07:50:52 GMT
| | > | Subject: Re: Gridview & updatepanel issue
| | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| | > | Message-ID: <[email protected]>
| | > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | > | Lines: 168
| | > | Path: TK2MSFTNGHUB02.phx.gbl
| | > | Xref: TK2MSFTNGHUB02.phx.gbl
| | > microsoft.public.dotnet.framework.aspnet:75076
| | > | NNTP-Posting-Host: tk5tomimport2.phx.gbl 10.201.218.20
| | > |
| | > | Hi,
| | > |
| | > | Could you send me a demo project that can reproduce this problem? My
| | > email
| | > | is (e-mail address removed).
| | > | 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" <[email protected]>
| | > | | References: <[email protected]>
| | > | <[email protected]>
| | > | | 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: <#[email protected]>
| | > | | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | > | | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | > | | Path:
| TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
| | > | | Xref: TK2MSFTNGHUB02.phx.gbl
| | > | microsoft.public.dotnet.framework.aspnet:74931
| | > | | X-Tomcat-NG: microsoft.public.dotnet.framework.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
| | > | |
message
| | > | | | | > | | > 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="popupControl". 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:
| | > | | > (e-mail address removed).
| | > | | >
| | > | | > ==================================================
| | > | | > Get notification to my posts through email? Please refer to
| | > | | >
| | > |
| | >
|
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.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/subscriptions/support/default.aspx.
| | > | | > ==================================================
| | > | | > This posting is provided "AS IS" with no warranties, and
confers
| no
| | > | | > rights.
| | > | | >
| | > | | > --------------------
| | > | | > | From: "SAL" <[email protected]>
| | > | | > | 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: <[email protected]>
| | > | | > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | > | | > | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | > | | > | Path:
| | > TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
| | > | | > | Xref: TK2MSFTNGHUB02.phx.gbl
| | > | | > microsoft.public.dotnet.framework.aspnet:74873
| | > | | > | X-Tomcat-NG: microsoft.public.dotnet.framework.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="popupControl">
| | > | | > |
| | > | | > | <asp:UpdatePanel ID="upFMSValue" runat="server">
| | > | | > |
| | > | | > | <ContentTemplate>
| | > | | > |
| | > | | > | <asp:RadioButtonList ID="rblFMSValue" runat="server"
| | > | | > | OnSelectedIndexChanged="rblFMSValue_SelectedIndexChanged">
| | > | | > |
| | > | | > | </asp:RadioButtonList>
| | > | | > |
| | > | | > | </ContentTemplate>
| | > | | > |
| | > | | > | </asp:UpdatePanel>
| | > | | > |
| | > | | > | </asp:panel>
| | > | | > |
| | > | | > | <ajax:popupControlExtender ID="PopupControlExtender1"
| | > runat="server"
| | > | | > |
| | > | | > | TargetControlID="txtFMSValue" PopupControlID="panFMSValue"
| | > | | > |
| | > | | > | CommitScript="e.value;">
| | > | | > |
| | > | | > | </ajax:popupControlExtender>
| | > | | > |
| | > | | > | </div>
| | > | | > |
| | > | | > | </ItemTemplate>
| | > | | > |
| | > | | > |
| | > | | > |
| | > | | > | Protected Sub rblFMSValue_SelectedIndexChanged(ByVal sender As
| | > Object,
| | > | | > ByVal
| | > | | > | e As System.EventArgs)
| | > | | > |
| | > | | > | If Not (String.IsNullOrEmpty(rblFMSValue.SelectedValue))
| Then
| | > | | > |
| | > | | > | Dim s As String = rblFMSValue.SelectedValue
| | > | | > |
| | > | | > | Dim pos As Integer = s.IndexOf(": ")
| | > | | > |
| | > | | > | s = s.Substring(pos + 2)
| | > | | > |
| | > | | > |
| | > | PopupControlExtender.GetProxyForCurrentPopup(Me.Page).Commit(s)
| | > | | > |
| | > | | > | End If
| | > | | > |
| | > | | > | End Sub
| | > | | > |
| | > | | > | S
| | > | | > |
| | > | | > |
| | > | | > |
| | > | | > |
| | > | | >
| | > | |
| | > | |
| | > | |
| | > |
| | > |
| | >
| |
| |
| |
|
|
 
S

SAL

Gave up on it Allen due to the reasons stated in the "AJAX extended
radiobuttonlist unselects selected value in popup" post.

I have a new question which I will create another post for however.

S

Allen Chen said:
Hi Steve,
Do you have any progress on this issue? Do you have any further questions?

Regards,
Allen Chen
Microsoft Online Support
--------------------
| X-Tomcat-ID: 47831721
| References: <[email protected]>
<[email protected]>
<#[email protected]>
<[email protected]>
<[email protected]>
<##[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: (e-mail address removed) (Allen Chen [MSFT])
| Organization: Microsoft
| Date: Mon, 08 Sep 2008 07:46:05 GMT
| Subject: Re: Gridview & updatepanel issue
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| Lines: 285
| Path: TK2MSFTNGHUB02.phx.gbl
| Xref: TK2MSFTNGHUB02.phx.gbl
microsoft.public.dotnet.framework.aspnet:75514
| NNTP-Posting-Host: TOMCATIMPORT3 10.201.220.210
|
| Hi Steve,
|
| Unfortunately, as far as I know, there's no way to get rid of this
| limitation of IE 6 currently. The only workaround I can provide is to
| increase the width of the "payterms" column to eliminate the overlap of
the
| float div and the combobox (or any other ways to eliminate the overlap).
To
| do this we can find a TableCell of the "payterms" column in the
| RowDataBound event handler of the GridView and increase the TableCell's
| width.
| Will this workaround be acceptable?
|
| Thanks,
| Allen Chen
| Microsoft Online Support
|
| --------------------
| | From: "SAL" <[email protected]>
| | References: <[email protected]>
| <[email protected]>
| <#[email protected]>
| <[email protected]>
| <[email protected]>
| | Subject: Re: Gridview & updatepanel issue
| | Date: Fri, 5 Sep 2008 08:23:45 -0700
| | Lines: 272
| | 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: <##[email protected]>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: host182023.clark.wa.gov 64.4.182.23
| | Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP06.phx.gbl
| | Xref: TK2MSFTNGHUB02.phx.gbl
| microsoft.public.dotnet.framework.aspnet:75335
| | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| |
| | Allen, our whole company is on IE 6. Is there any work around for IE
6?
| |
| | S
| |
| | | | > 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: <[email protected]>
| | > <[email protected]>
| | > <#[email protected]>
| | > | MIME-Version: 1.0
| | > | Content-Type: text/plain
| | > | Content-Transfer-Encoding: 7bit
| | > | From: (e-mail address removed) (Allen Chen [MSFT])
| | > | Organization: Microsoft
| | > | Date: Tue, 02 Sep 2008 07:50:52 GMT
| | > | Subject: Re: Gridview & updatepanel issue
| | > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| | > | Message-ID: <[email protected]>
| | > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | > | Lines: 168
| | > | Path: TK2MSFTNGHUB02.phx.gbl
| | > | Xref: TK2MSFTNGHUB02.phx.gbl
| | > microsoft.public.dotnet.framework.aspnet:75076
| | > | NNTP-Posting-Host: tk5tomimport2.phx.gbl 10.201.218.20
| | > |
| | > | Hi,
| | > |
| | > | Could you send me a demo project that can reproduce this problem?
My
| | > email
| | > | is (e-mail address removed).
| | > | 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" <[email protected]>
| | > | | References: <[email protected]>
| | > | <[email protected]>
| | > | | 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: <#[email protected]>
| | > | | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | > | | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | > | | Path:
| TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
| | > | | Xref: TK2MSFTNGHUB02.phx.gbl
| | > | microsoft.public.dotnet.framework.aspnet:74931
| | > | | X-Tomcat-NG: microsoft.public.dotnet.framework.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
| | > | |
message
| | > | | | | > | | > 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="popupControl". 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:
| | > | | > (e-mail address removed).
| | > | | >
| | > | | > ==================================================
| | > | | > Get notification to my posts through email? Please refer to
| | > | | >
| | > |
| | >
|
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.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/subscriptions/support/default.aspx.
| | > | | > ==================================================
| | > | | > This posting is provided "AS IS" with no warranties, and
confers
| no
| | > | | > rights.
| | > | | >
| | > | | > --------------------
| | > | | > | From: "SAL" <[email protected]>
| | > | | > | 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: <[email protected]>
| | > | | > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | > | | > | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | > | | > | Path:
| | > TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSFTNGP04.phx.gbl
| | > | | > | Xref: TK2MSFTNGHUB02.phx.gbl
| | > | | > microsoft.public.dotnet.framework.aspnet:74873
| | > | | > | X-Tomcat-NG: microsoft.public.dotnet.framework.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="popupControl">
| | > | | > |
| | > | | > | <asp:UpdatePanel ID="upFMSValue" runat="server">
| | > | | > |
| | > | | > | <ContentTemplate>
| | > | | > |
| | > | | > | <asp:RadioButtonList ID="rblFMSValue" runat="server"
| | > | | > | OnSelectedIndexChanged="rblFMSValue_SelectedIndexChanged">
| | > | | > |
| | > | | > | </asp:RadioButtonList>
| | > | | > |
| | > | | > | </ContentTemplate>
| | > | | > |
| | > | | > | </asp:UpdatePanel>
| | > | | > |
| | > | | > | </asp:panel>
| | > | | > |
| | > | | > | <ajax:popupControlExtender ID="PopupControlExtender1"
| | > runat="server"
| | > | | > |
| | > | | > | TargetControlID="txtFMSValue" PopupControlID="panFMSValue"
| | > | | > |
| | > | | > | CommitScript="e.value;">
| | > | | > |
| | > | | > | </ajax:popupControlExtender>
| | > | | > |
| | > | | > | </div>
| | > | | > |
| | > | | > | </ItemTemplate>
| | > | | > |
| | > | | > |
| | > | | > |
| | > | | > | Protected Sub rblFMSValue_SelectedIndexChanged(ByVal sender
As
| | > Object,
| | > | | > ByVal
| | > | | > | e As System.EventArgs)
| | > | | > |
| | > | | > | If Not (String.IsNullOrEmpty(rblFMSValue.SelectedValue))
| Then
| | > | | > |
| | > | | > | Dim s As String = rblFMSValue.SelectedValue
| | > | | > |
| | > | | > | Dim pos As Integer = s.IndexOf(": ")
| | > | | > |
| | > | | > | s = s.Substring(pos + 2)
| | > | | > |
| | > | | > |
| | > | PopupControlExtender.GetProxyForCurrentPopup(Me.Page).Commit(s)
| | > | | > |
| | > | | > | End If
| | > | | > |
| | > | | > | End Sub
| | > | | > |
| | > | | > | S
| | > | | > |
| | > | | > |
| | > | | > |
| | > | | > |
| | > | | >
| | > | |
| | > | |
| | > | |
| | > |
| | > |
| | >
| |
| |
| |
|
|
 
P

Pat Wilson

How do i "add the
items of the radiobuttonlist dynamically in the PreRender event"?

Thanks in advance
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,150
Members
46,697
Latest member
AugustNabo

Latest Threads

Top