Solved

Using mulitple GridViews in a Dreamweaver SPRY tabbed panel page

Posted on 2009-05-13
1
423 Views
Last Modified: 2012-06-22
I have a page built with multiple tabs.  Each tab houses a gridview (connected to SQL Server via stored procedures)

When there is just one tab set up, it works great.  However, when I have two or more I get the error of only one form run at the server per page.  Is there a work around using Gridview and mutliple calls on one page?
0
Comment
Question by:KENNETH_MCKINNEY
1 Comment
 
LVL 25

Accepted Solution

by:
Rouchie earned 500 total points
Comment Utility
It sounds as though DW is misbehaving and creating a new FORM RUNAT=SERVER tag inside the content div for each panel.

Create your code as you have been doing, but then go into Code View and remove all FORM RUNAT=SERVER tags except the first one, and all </FORM> tags except the last one.

The purpose of this is to ensure that your spry widget is contained inside the form tag that ASP needs to connect to SQL.

Alternatively in code view, ensure you page structure looks like this:

<body>
<form runat="server">
   <div class="TabbedPanels" id="TabbedPanels1">
       .... list and divs go here
   </div>
</form>
</body>

Finally remove any extra FORM tags DW adds when new gridviews are created.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
Introduction HyperText Transfer Protocol (http://www.ietf.org/rfc/rfc2616.txt) or "HTTP" is the underpinning of internet communication.  As a teacher of web development I have heard many questions, mostly from my younger students who have come to t…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now