Solved

ASP.net VB.net  Dynamically add an Update Panel then a GridView to that

Posted on 2014-02-12
2
663 Views
Last Modified: 2014-02-12
Hi

I am using the following code to dynamically add a GridView to a table cell
How do I update the code so that I first add an update panel to the table cell
and then add the GridView to that Update Panel?

Dim oGridView as New GridView
Me.Table1.Rows(0).Cells(5).Controls.Add(oGridView)
0
Comment
Question by:murbro
2 Comments
 
LVL 39

Accepted Solution

by:
Kyle Abrahams earned 500 total points
ID: 39854145
Dim up as new UpdatePanel
up.ContentTemplateContainer.Controls.Add(oGridView)
Me.Table1.Rows(0).Cells(5).Controls.Add(up)
0
 

Author Closing Comment

by:murbro
ID: 39854206
Thanks very much
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

708 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

14 Experts available now in Live!

Get 1:1 Help Now