Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Nested Grids for Hierarchical Data

Reply
Thread Tools

Nested Grids for Hierarchical Data

 
 
David Branch
Guest
Posts: n/a
 
      12-09-2003
I try to convert the code for this article from c# to vb and just can not
get it to work.
(53): 'Public Event UpdateView(sender As Object, e As System.EventArgs)' is
an event, and cannot be called directly. Use a 'RaiseEvent' statement to
raise an event.

Public Event UpdateView As EventHandler

Private Sub OnUpdateView()

If Not (UpdateView Is Nothing) Then

UpdateView(Me, EventArgs.Empty)

End If

End Sub 'OnUpdateView


Nested Grids for Hierarchical Data
http://msdn.microsoft.com/msdnmag/is...0/CuttingEdge/


 
Reply With Quote
 
 
 
 
MSFT
Guest
Posts: n/a
 
      12-09-2003
Hi David,

As the error description, you need to use 'RaiseEvent' statement to raise
an event in Visual Basic.NET. For more information about this, you may
refer to:

http://msdn.microsoft.com/library/de...us/vblr7/html/
vastmRaiseEvent.asp

Luke
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

 
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
Facing problem while Accessing the chile grids in nested GridView Mudassar ASP .Net 0 07-10-2006 07:40 AM
Facing problem while Accessing the chile grids in nested GridView Mudassar ASP .Net 0 07-10-2006 07:31 AM
Nested Repeaters: ItemDataBound fires in reverse order (hierarchical data) KJ ASP .Net 0 06-21-2005 10:11 PM
Nested Grids for Hierarchical Data Yasir Hussain ASP .Net Web Controls 0 10-07-2003 07:46 PM
Nested Grids for Hierarchical Data Yasir Hussain ASP .Net Datagrid Control 0 10-07-2003 06:58 PM



Advertisments