Firing Update Panel From A GridView Button

by rBellantoni 7/22/2009 7:22:00 AM

Here's how to fire an update panel from a gridview:

 In the RowCreated event of your gridview you need to register the button as an asyncpostback trigger:

 ScriptManager.RegisterAsyncPostBackControl(Control);

 Then just call the update panel you would like to update in the button's click event

UpdatePanel.Update();

Tags: , , ,

.NET | VB.NET

Comments

8/11/2009 3:05:53 AM

kral oyun

Thank you very good article

kral oyun

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About the author

Name of author Author name
Something about me and what I do.

E-mail me Send mail

Calendar

<<  September 2017  >>
MoTuWeThFrSaSu
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678

View posts in large calendar

Recent comments

Tags

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2017

Sign in