Solved

Using mulitple GridViews in a Dreamweaver SPRY tabbed panel page

Posted on 2009-05-13
1
425 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
ID: 24424777
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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
convert html to string 6 34
ck editor is taking too much time to be loaded in asp 1 17
Where did System.Data.Objects go? 2 27
asp enable view state 1 24
Introduction Got endorsements from your clients?  Great!  There is almost nothing better than word-of-mouth advertising.  But how can you do that on the internet?  Sure you can make a page for endorsement quotations and list them all, but who is …
The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API (http://dictionary.reference.com/browse/API?s=t) has made its way into the popular lexicon of the English language.  A few years ago, …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

776 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