Here I am again :)
The problem: I have a list of categories. When user clicks a category, if there is no cookie set with their ZipCode, a ModalBox pops up and asks them to enter it. After they hit ok, the website needs to set the zipcode cookie and proceed to the category page they've chosen.
I, thanks to help from Experts on this site, have gotten some of this to work...
When i start the site, if i click on a category, the modal box appears, i enter the zipcode - and that's pretty much as far as I can get working.
Here's the linkButton code:
Here's the ModalBox Info:
<asp:Panel ID="Panel1" runat="server" CssClass="modalPopup" Style="display: none" Width="233px">
<p>Please enter your zip code:<br />
<asp:TextBox ID="ZipCode" runat="server"></asp:TextB
<asp:Button ID="OkButton" runat="server" Text="OK" />
<asp:Button ID="CancelButton" runat="server" Text="Cancel" />
<% If Len(theZip) <> 5 Then%>
ender ID="ModalPopupExtender1" BehaviorID="ModalPopupExte
nder1" runat="server" TargetControlID="dummyLink
" PopupControlID="Panel1" BackgroundCssClass="modalB
DropShadow="true" OkControlID="OkButton" CancelControlID="CancelBut
<% End If%>
- I can't seem to set the cookie after they've entered the Zipcode - and after they click Ok in the modal box, I can't get the site to continue to the page requested. I've tried setting the cookie using the panel's button control - but this doesn't work.
Any suggestions would be appreciated!