Join our DNN Community    (Newsletter, Tips, Tricks and Forums for DNN Skins & Modules)

 


 
Microsoft Gold Certified Partner - DNN Benefactor

DotNetNuke Powered! 


Tuesday, January 06, 2009 Register · Login · Contact · Search:  
Company Solutions Portfolio Contact
Forums
General
Forum for discussing Dotnetnuke and asking or answering questions regarding general usage, integration and fundamentals
Subject: DropDownList redirect with QueryString vars
You are not authorized to post a reply.
 
Author Messages
robertbl22
Lightweight
Posts:23

05/09/2006 5:24 PM Alert 

I've got a dropdown state picker that will be on many pages and want to redirect to a page that lists the items in that state.  I want to pass a querystring var "StateCode".  What's an efficient way to do the redirect with querystring?  Thanks in advance.  Here's what I have so far...


http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  0
  false
  false
  false
  false
  false
  false
  false
  false
  false
  false
  false
  false
 
  false
 
 
 
 
 
 
 
 
 
 
  <select name="cboStates" style="margin-top:10px"  onchange="form.submit()">
<OPTION Value="-1">-- Select a State --</OPTION>
{SUBQUERY, Name="qryStates", Query="
SELECT
  [Text] AS State,
  [Value] AS StateCode
FROM
  Lists inner join RLM_Locations
  on Lists.Value = RLM_Locations.StateCode
WHERE
  Lists.ParentID = 221
GROUP BY
  Lists.[Text], Lists.[Value]
",
Format="<option value= '\[StateCode\]'>\[State\]</option>",
SelectedFormat="<option value='\[StateCode\]'
SELECTED>\[State\]</option>", SelectedField="StateCode",
SelectedItems="[cboStates,Form]", UseCache=False}
</select>

  16

robertbl22
Lightweight
Posts:23

05/09/2006 8:57 PM Alert 
Oops! Wrong forum. Sorry, will repost in ListX forum.
You are not authorized to post a reply.
Forums > Dotnetnuke > General > DropDownList redirect with QueryString vars



ActiveForums 3.6
Latest Post
 
At R2integrated (formerly Bi4ce), we take support seriously.  That's why we support our customers and DNN community with daily monitoring from our experienced engineering team.  We ask that the first step taken is to read the relevant documentation and support forums prior to submitting any questions that may already be available or have been answered.  We ask that you review the documentation that we provide for our products before posting a question.

The Forums are for our customers to chat, exchange ideas and strategies, and submit feedback.  Please be sure to perform keyword searches for previous related forum responses.

To be helpful when submitting a new item, please include the following: 
  1. DNN Version
  2. Module Version
  3. Admin Log Viewer Information
  4. Environment detail: Operating system, .NET framework version, database and version, IIS version, Browser version (if appropriate)
We always try to respond quickly and monitor the forums daily during business hours (EST).  Occasionally, requests for a specific project requirement may not apply for the free support offered. For project specific support please submit via our Information Request form.

Thank you for using our Forums.

Click here to register for the Forums
 
© 2008 by R2integrated (formerly Bi4ce) | DNN® is a registered trademark of DotNetNuke Corporation