Solved

ASP.net VB.net Dynamically adding a script manager

Posted on 2014-02-12
2
494 Views
Last Modified: 2014-02-12
Hi
 I am getting an error with the following code saying that I need to add a script manager
 above each control. How do I add a script manager?  

            Dim up As New UpdatePanel
            up.ContentTemplateContainer.Controls.Add(oGridView)
            Me.Table1.Rows(oRow).Cells(oColumn).Controls.Add(up)
            Me.Table1.Rows(oRow).Cells(oColumn).Controls.Add(oGridView)
0
Comment
Question by:murbro
2 Comments
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 39854279
You only need a single scriptmanager per page which you can add in the aspx code.

            <asp:ScriptManager ID="ScriptManager1"
                               runat="server" />
0
 

Author Closing Comment

by:murbro
ID: 39854298
Excellent. Great answer! Thanks
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

Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

679 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