How do you know the CheckChanged event is firing if the sub isn't being called?
Do you need to put the event handler assignment in both control tags? I only see
it in the second one below.
Regards,
Peter Brunone
_______________
EasyListBox.com
Original Message:
>From: "bobtorp" <[EMAIL PROTECTED]>
>I am currently coding a multi form asp.net survey app.Right now I am
>having trouble getting the functionality of my radiobuttons to
>work.The function is supposed to update an hashtable,update some
>session variables and redirect the user to another page after the user
>checks a certain radio button. The CheckChanged event is firing, but
>my event sub is not being processed.Is There something I am missing?
>Code sample is provided below.Any help would be greatly appreciated.
>
>This is the tags for the controls
><asp:RadioButton AutoPostBack="true" GroupName="UseTissue"
>id="UseTissueYes" Text="Yes" runat="server"></asp:RadioButton>
><asp:RadioButton AutoPostBack="true" GroupName="UseTissue"
>id="UseTissueNo" onCheckChanged="Server_Change" Text="No"
>runat="server"></asp:RadioButton>
>
>This is This is sub to process the event
>Sub Server_Change(sender as object,e as system.eventargs)
> If UseTissueNo.Checked = true then
> call iteratecontrols()
> session("tblItems") = tblItems
> session("sentTo") = sentTo
> Response.redirect("newPage6.aspx")
> end if
>End Sub
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/