?
Solved

Using mulitple GridViews in a Dreamweaver SPRY tabbed panel page

Posted on 2009-05-13
1
Medium Priority
?
431 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 25

Accepted Solution

by:
Rouchie earned 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
This article discusses how to implement server side field validation and display customized error messages to the client.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

801 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