|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
GridView Rows collection refresh within an eventI need to refresh the Rows collection of my GridView within a tree event OnCheckChanged. I call the following for that void OnCheckChanged(....) { ................... ObjectDataSource1.Select(); GridView1.DataSourceID = "ObjectDataSource1"; ........................... } But it always refreshes the Grid after the event is finished. What can I do to refresh it within the event? Thanks, Shafia Isn't that whidbey stuff? it's better served in the whidbey newsgroup
-- Show quoteHide quoteRegards, Alvin Bruney - ASP.NET MVP [Shameless Author Plug] The Microsoft Office Web Components Black Book with .NET Now available @ www.lulu.com/owc "Shafia" <sbat***@ultimus.com> wrote in message news:O5eooScQFHA.3496@TK2MSFTNGP09.phx.gbl... > Hi, > > I need to refresh the Rows collection of my GridView within a tree event > OnCheckChanged. I call the following for that > > void OnCheckChanged(....) > > { > > ................... > > ObjectDataSource1.Select(); > > GridView1.DataSourceID = "ObjectDataSource1"; > > ........................... > > } > > But it always refreshes the Grid after the event is finished. What can I > do > to refresh it within the event? > > > > Thanks, > > Shafia > > > > Isn't that whidbey stuff? it's better served in the whidbey newsgroup Which group is that BTW? The [not so private] private NGs got a post the other day saying they were going away in 2 weeks time. Someone else posted about a microsoft.beta.* NG, but I could't find it. Is there another NG I don't know about? -Brock DevelopMentor http://staff.develop.com/ballen you might be right
-- Show quoteHide quoteRegards, Alvin Bruney - ASP.NET MVP [Shameless Author Plug] The Microsoft Office Web Components Black Book with .NET Now available @ www.lulu.com/owc "Brock Allen" <ballen@NOSPAMdevelop.com> wrote in message news:483930632492340963634288@msnews.microsoft.com... >> Isn't that whidbey stuff? it's better served in the whidbey newsgroup > > Which group is that BTW? The [not so private] private NGs got a post the > other day saying they were going away in 2 weeks time. Someone else posted > about a microsoft.beta.* NG, but I could't find it. Is there another NG I > don't know about? > -Brock > DevelopMentor > http://staff.develop.com/ballen > > >
How to validate one of two Required TextBox
Need Click Event to Fire from TextBox Urgent! GridView and templated controls binding---------Plz help Defining server-side Click event for Label web contol ? TemplateControl?? Dynamic loadcontrol of ascx with dll not in bin path how to display records in datagrid Creating a Tab in web form Textboxes with images Windows Explorer style custom control for web |
|||||||||||||||||||||||