Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Will Events not fire in a datagrid if you set the datasource after the page load?

Reply
Thread Tools

Will Events not fire in a datagrid if you set the datasource after the page load?

 
 
KJ
Guest
Posts: n/a
 
      08-11-2003
Will Events not fire in a datagrid if you set the datasource after the page load?

How can I get around that?
 
Reply With Quote
 
 
 
 
Teemu Keiski
Guest
Posts: n/a
 
      08-16-2003
What do you mean, for example binding DataGrid on postback event? It works
just fine and Datagrid's events are raised as they should. The latest stage
you could do something like this is PreRender.

--
Teemu Keiski
MCP, Designer/Developer
Mansoft tietotekniikka Oy
http://www.mansoft.fi

AspInsiders Member, www.aspinsiders.com
ASP.NET Forums Moderator, www.asp.net
AspAlliance Columnist, www.aspalliance.com


"KJ" <> wrote in message
news: om...
> Will Events not fire in a datagrid if you set the datasource after the

page load?
>
> How can I get around that?



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
selectindexchanged event doesn't fire after I cahnge my datasource =?Utf-8?B?QnJpYW4=?= ASP .Net 0 10-05-2007 05:09 PM
Server-side events do not fire the first time after client-side validators have fired Stuart Whiteford ASP .Net 2 04-25-2006 10:10 AM
Datagrid events only fire if Databind is called in Page Load event sysdesigner ASP .Net Datagrid Control 1 07-02-2005 07:03 AM
events on page will not fire Brent Burkart ASP .Net 1 11-25-2003 01:51 PM
Dynamic Datagrid does not fire events. Mark ASP .Net 6 08-03-2003 06:35 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57