[Mono-bugs] [Bug 443412] New: [Regression] RadioButton don' t retain value into a MasterPage pane
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Nov 10 10:06:39 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=443412
Summary: [Regression] RadioButton don't retain value into a
MasterPage pane
Product: Mono: Class Libraries
Version: 2.0
Platform: i386
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Major
Priority: P5 - None
Component: Sys.Web
AssignedTo: mhabersack at novell.com
ReportedBy: gilles.tschopp at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Description of Problem:
When a RadioButton control is placed into a MasterPage pane, it doesn't keep
its actual value across postbacks.
MasterPage.master file :
<%@ Master Language="C#" Inherits="MonoTestWebSite.MasterPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>MasterPage</title>
</head>
<body>
<div id="container">
<form runat="server">
<asp:contentplaceholder id="contentPlaceHolder" runat="server" />
</form>
</div>
</body>
</html>
Default.aspx file :
<%@ Page Language="C#" Inherits="MonoTestWebSite.Default"
MasterPageFile="~/MasterPage.master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="contentPlaceHolder"
runat="Server">
<asp:RadioButton ID="radioButton" runat="server" Text="RadioButton"
GroupName="abc" />
<asp:RadioButton ID="radioButton2" runat="server" Text="RadioButton"
GroupName="abc" />
<asp:button id="button1" runat="server" Text="Click me!"
OnClick="button1Clicked" />
</asp:Content>
Steps to reproduce the problem:
1. Create a standard ASP.NET website with MonoDevelop
2. Cut/Paste contents of MasterPage.master and Default.aspx files
3. Launch and access the page, then click one of the two radio buttons and
click "Click Me !"
Actual Results:
RadioButton doesn't retain its value across postback.
Expected Results:
RadioButton should retain its value.
How often does this happen?
Always.
Additional Information:
- If Default.aspx is a normal page, the RadioButton behaviour is correct.
- This bug doesn't appear in Mono 1.9.1
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list