Solved

Using mulitple GridViews in a Dreamweaver SPRY tabbed panel page

Posted on 2009-05-13
1
428 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 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
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, …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

739 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