By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,762 Members | 1,845 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,762 IT Pros & Developers. It's quick & easy.

Gridview & updatepanel issue

P: n/a
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_SelectedIndexC hanged">

</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.Pa ge).Commit(s)

End If

End Sub

S

Aug 28 '08 #1
Share this Question
Share on Google+
13 Replies


P: n/a
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:
ms****@microsoft.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.nospam>
| 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.public.dotnet.framework.aspnet
| NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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_SelectedIndexC hanged">
|
| </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.Pa ge).Commit(s)
|
| End If
|
| End Sub
|
| S
|
|
|
|

Aug 29 '08 #2

P: n/a
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.microsoft.comwrote in message
news:zm**************@TK2MSFTNGHUB02.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="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:
ms****@microsoft.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.nospam>
| 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.public.dotnet.framework.aspnet
| NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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_SelectedIndexC hanged">
|
| </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.Pa ge).Commit(s)
|
| End If
|
| End Sub
|
| S
|
|
|
|

Aug 29 '08 #3

P: n/a
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.nospamwrote in message
news:Oy**************@TK2MSFTNGP03.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.microsoft.comwrote in message
news:zm**************@TK2MSFTNGHUB02.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="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:
ms****@microsoft.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.nospam>
| 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.public.dotnet.framework.aspnet
| NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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_SelectedIndexC hanged">
|
| </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.Pa ge).Commit(s)
|
| End If
|
| End Sub
|
| S
|
|
|
|


Aug 29 '08 #4

P: n/a
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.microsoft.comwrote in message
news:zm**************@TK2MSFTNGHUB02.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="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:
ms****@microsoft.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.nospam>
| 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.public.dotnet.framework.aspnet
| NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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_SelectedIndexC hanged">
|
| </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.Pa ge).Commit(s)
|
| End If
|
| End Sub
|
| S
|
|
|
|

Aug 29 '08 #5

P: n/a
Hi,

Could you send me a demo project that can reproduce this problem? My email
is v-******@microsoft.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.nospam>
| References: <ex**************@TK2MSFTNGP04.phx.gbl>
<zm**************@TK2MSFTNGHUB02.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.public.dotnet.framework.aspnet
| NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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
|
| "Allen Chen [MSFT]" <v-******@online.microsoft.comwrote in message
| news:zm**************@TK2MSFTNGHUB02.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="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:
| ms****@microsoft.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.nospam>
| | 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.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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_SelectedIndexC hanged">
| |
| | </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.Pa ge).Commit(s)
| |
| | End If
| |
| | End Sub
| |
| | S
| |
| |
| |
| |
| >
|
|
|

Sep 2 '08 #6

P: n/a
Hi,

Have you sent the demo project to me?

Regards,
Allen Chen
Microsoft Online Community Support
--------------------
| From: "SAL" <SA*@nospam.nospam>
| References: <ex**************@TK2MSFTNGP04.phx.gbl>
<zm**************@TK2MSFTNGHUB02.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.public.dotnet.framework.aspnet
| NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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
|
| "Allen Chen [MSFT]" <v-******@online.microsoft.comwrote in message
| news:zm**************@TK2MSFTNGHUB02.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="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:
| ms****@microsoft.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.nospam>
| | 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.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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_SelectedIndexC hanged">
| |
| | </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.Pa ge).Commit(s)
| |
| | End If
| |
| | End Sub
| |
| | S
| |
| |
| |
| |
| >
|
|
|

Sep 4 '08 #7

P: n/a
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.microsoft.comwrote in message
news:nT**************@TK2MSFTNGHUB02.phx.gbl...
Hi,

Have you sent the demo project to me?

Regards,
Allen Chen
Microsoft Online Community Support
--------------------
| From: "SAL" <SA*@nospam.nospam>
| References: <ex**************@TK2MSFTNGP04.phx.gbl>
<zm**************@TK2MSFTNGHUB02.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.public.dotnet.framework.aspnet
| NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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
|
| "Allen Chen [MSFT]" <v-******@online.microsoft.comwrote in message
| news:zm**************@TK2MSFTNGHUB02.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="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:
| ms****@microsoft.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.nospam>
| | 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.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | Path:
TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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_SelectedIndexC hanged">
| |
| | </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.Pa ge).Commit(s)
| |
| | End If
| |
| | End Sub
| |
| | S
| |
| |
| |
| |
| >
|
|
|

Sep 4 '08 #8

P: n/a
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**************@TK2MSFTNGHUB02.phx.gbl>
<#J**************@TK2MSFTNGP04.phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: v-******@online.microsoft.com (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: <mQ**************@TK2MSFTNGHUB02.phx.gbl>
| 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 v-******@microsoft.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.nospam>
| | References: <ex**************@TK2MSFTNGP04.phx.gbl>
| <zm**************@TK2MSFTNGHUB02.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.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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
| |
| | "Allen Chen [MSFT]" <v-******@online.microsoft.comwrote in message
| | news:zm**************@TK2MSFTNGHUB02.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="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:
| | ms****@microsoft.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.nospam>
| | | 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.public.dotnet.framework.aspnet
| | | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | | Path:
TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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_SelectedIndexC hanged">
| | |
| | | </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.Pa ge).Commit(s)
| | |
| | | End If
| | |
| | | End Sub
| | |
| | | S
| | |
| | |
| | |
| | |
| | >
| |
| |
| |
|
|

Sep 5 '08 #9

P: n/a
SAL
Allen, our whole company is on IE 6. Is there any work around for IE 6?

S

"Allen Chen [MSFT]" <v-******@online.microsoft.comwrote in message
news:0a**************@TK2MSFTNGHUB02.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**************@TK2MSFTNGHUB02.phx.gbl>
<#J**************@TK2MSFTNGP04.phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: v-******@online.microsoft.com (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: <mQ**************@TK2MSFTNGHUB02.phx.gbl>
| 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 v-******@microsoft.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.nospam>
| | References: <ex**************@TK2MSFTNGP04.phx.gbl>
| <zm**************@TK2MSFTNGHUB02.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.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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
| |
| | "Allen Chen [MSFT]" <v-******@online.microsoft.comwrote in message
| | news:zm**************@TK2MSFTNGHUB02.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="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:
| | ms****@microsoft.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.nospam>
| | | 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.public.dotnet.framework.aspnet
| | | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | | Path:
TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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_SelectedIndexC hanged">
| | |
| | | </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.Pa ge).Commit(s)
| | |
| | | End If
| | |
| | | End Sub
| | |
| | | S
| | |
| | |
| | |
| | |
| | >
| |
| |
| |
|
|

Sep 5 '08 #10

P: n/a
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" <SA*@nospam.nospam>
| References: <ex**************@TK2MSFTNGP04.phx.gbl>
<zm**************@TK2MSFTNGHUB02.phx.gbl>
<#J**************@TK2MSFTNGP04.phx.gbl>
<mQ**************@TK2MSFTNGHUB02.phx.gbl>
<0a**************@TK2MSFTNGHUB02.phx.gbl>
| 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: <##**************@TK2MSFTNGP06.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: host182023.clark.wa.gov 64.4.182.23
| Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP06.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
|
| "Allen Chen [MSFT]" <v-******@online.microsoft.comwrote in message
| news:0a**************@TK2MSFTNGHUB02.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**************@TK2MSFTNGHUB02.phx.gbl>
| <#J**************@TK2MSFTNGP04.phx.gbl>
| | MIME-Version: 1.0
| | Content-Type: text/plain
| | Content-Transfer-Encoding: 7bit
| | From: v-******@online.microsoft.com (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: <mQ**************@TK2MSFTNGHUB02.phx.gbl>
| | 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 v-******@microsoft.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.nospam>
| | | References: <ex**************@TK2MSFTNGP04.phx.gbl>
| | <zm**************@TK2MSFTNGHUB02.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.public.dotnet.framework.aspnet
| | | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | | Path:
TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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
| | |
| | | "Allen Chen [MSFT]" <v-******@online.microsoft.comwrote in message
| | | news:zm**************@TK2MSFTNGHUB02.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="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:
| | | ms****@microsoft.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.nospam>
| | | | 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.public.dotnet.framework.aspnet
| | | | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | | | Path:
| TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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_SelectedIndexC hanged">
| | | |
| | | | </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.Pa ge).Commit(s)
| | | |
| | | | End If
| | | |
| | | | End Sub
| | | |
| | | | S
| | | |
| | | |
| | | |
| | | |
| | | >
| | |
| | |
| | |
| |
| |
| >
|
|
|

Sep 8 '08 #11

P: n/a
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: <ex**************@TK2MSFTNGP04.phx.gbl>
<zm**************@TK2MSFTNGHUB02.phx.gbl>
<#J**************@TK2MSFTNGP04.phx.gbl>
<mQ**************@TK2MSFTNGHUB02.phx.gbl>
<0a**************@TK2MSFTNGHUB02.phx.gbl>
<##**************@TK2MSFTNGP06.phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: v-******@online.microsoft.com (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: <MP**************@TK2MSFTNGHUB02.phx.gbl>
| 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" <SA*@nospam.nospam>
| | References: <ex**************@TK2MSFTNGP04.phx.gbl>
| <zm**************@TK2MSFTNGHUB02.phx.gbl>
| <#J**************@TK2MSFTNGP04.phx.gbl>
| <mQ**************@TK2MSFTNGHUB02.phx.gbl>
| <0a**************@TK2MSFTNGHUB02.phx.gbl>
| | 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: <##**************@TK2MSFTNGP06.phx.gbl>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: host182023.clark.wa.gov 64.4.182.23
| | Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP06.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
| |
| | "Allen Chen [MSFT]" <v-******@online.microsoft.comwrote in message
| | news:0a**************@TK2MSFTNGHUB02.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**************@TK2MSFTNGHUB02.phx.gbl>
| | <#J**************@TK2MSFTNGP04.phx.gbl>
| | | MIME-Version: 1.0
| | | Content-Type: text/plain
| | | Content-Transfer-Encoding: 7bit
| | | From: v-******@online.microsoft.com (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: <mQ**************@TK2MSFTNGHUB02.phx.gbl>
| | | 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 v-******@microsoft.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.nospam>
| | | | References: <ex**************@TK2MSFTNGP04.phx.gbl>
| | | <zm**************@TK2MSFTNGHUB02.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.public.dotnet.framework.aspnet
| | | | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | | | Path:
| TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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
| | | |
| | | | "Allen Chen [MSFT]" <v-******@online.microsoft.comwrote in
message
| | | | news:zm**************@TK2MSFTNGHUB02.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="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:
| | | | ms****@microsoft.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.nospam>
| | | | | 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.public.dotnet.framework.aspnet
| | | | | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | | | | Path:
| | TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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_SelectedIndexC hanged">
| | | | |
| | | | | </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.Pa ge).Commit(s)
| | | | |
| | | | | End If
| | | | |
| | | | | End Sub
| | | | |
| | | | | S
| | | | |
| | | | |
| | | | |
| | | | |
| | | | >
| | | |
| | | |
| | | |
| | |
| | |
| | >
| |
| |
| |
|
|

Sep 17 '08 #12

P: n/a
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 [MSFT]" <v-******@online.microsoft.comwrote in message
news:Fs**************@TK2MSFTNGHUB02.phx.gbl...
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: <ex**************@TK2MSFTNGP04.phx.gbl>
<zm**************@TK2MSFTNGHUB02.phx.gbl>
<#J**************@TK2MSFTNGP04.phx.gbl>
<mQ**************@TK2MSFTNGHUB02.phx.gbl>
<0a**************@TK2MSFTNGHUB02.phx.gbl>
<##**************@TK2MSFTNGP06.phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: v-******@online.microsoft.com (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: <MP**************@TK2MSFTNGHUB02.phx.gbl>
| 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" <SA*@nospam.nospam>
| | References: <ex**************@TK2MSFTNGP04.phx.gbl>
| <zm**************@TK2MSFTNGHUB02.phx.gbl>
| <#J**************@TK2MSFTNGP04.phx.gbl>
| <mQ**************@TK2MSFTNGHUB02.phx.gbl>
| <0a**************@TK2MSFTNGHUB02.phx.gbl>
| | 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: <##**************@TK2MSFTNGP06.phx.gbl>
| | Newsgroups: microsoft.public.dotnet.framework.aspnet
| | NNTP-Posting-Host: host182023.clark.wa.gov 64.4.182.23
| | Path: TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP06.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
| |
| | "Allen Chen [MSFT]" <v-******@online.microsoft.comwrote in message
| | news:0a**************@TK2MSFTNGHUB02.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**************@TK2MSFTNGHUB02.phx.gbl>
| | <#J**************@TK2MSFTNGP04.phx.gbl>
| | | MIME-Version: 1.0
| | | Content-Type: text/plain
| | | Content-Transfer-Encoding: 7bit
| | | From: v-******@online.microsoft.com (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: <mQ**************@TK2MSFTNGHUB02.phx.gbl>
| | | 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 v-******@microsoft.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.nospam>
| | | | References: <ex**************@TK2MSFTNGP04.phx.gbl>
| | | <zm**************@TK2MSFTNGHUB02.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.public.dotnet.framework.aspnet
| | | | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | | | Path:
| TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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
| | | |
| | | | "Allen Chen [MSFT]" <v-******@online.microsoft.comwrote in
message
| | | | news:zm**************@TK2MSFTNGHUB02.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="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:
| | | | ms****@microsoft.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.nospam>
| | | | | 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.public.dotnet.framework.aspnet
| | | | | NNTP-Posting-Host: host182254.clark.wa.gov 64.4.182.254
| | | | | Path:
| | TK2MSFTNGHUB02.phx.gbl!TK2MSFTNGP01.phx.gbl!TK2MSF TNGP04.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_SelectedIndexC hanged">
| | | | |
| | | | | </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.Pa ge).Commit(s)
| | | | |
| | | | | End If
| | | | |
| | | | | End Sub
| | | | |
| | | | | S
| | | | |
| | | | |
| | | | |
| | | | |
| | | | >
| | | |
| | | |
| | | |
| | |
| | |
| | >
| |
| |
| |
|
|

Sep 17 '08 #13

P: n/a

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

Thanks in advance
*** Sent via Developersdex http://www.developersdex.com ***
Oct 9 '08 #14

This discussion thread is closed

Replies have been disabled for this discussion.