Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > generate DataGrid at Runtime..... PROBLEM !!!!

Reply
Thread Tools

generate DataGrid at Runtime..... PROBLEM !!!!

 
 
n.shah12@gmail.com
Guest
Posts: n/a
 
      02-24-2005
Dera All

I am generating dataGrid at runtime
(dim dg as new datagrid)
and so also bound column , EditCommandColumn and other...

now i want to enable in-line edit.

how to do it as OnEditCommand datagrid created at runtime doesnot
offer OnEditCommand facility.

how to write Event handler ?

regards.

 
Reply With Quote
 
 
 
 
Elton Wang
Guest
Posts: n/a
 
      02-24-2005
Create event handler

AddHandler dg.EditCommand, AddressOf MethodName

HTH

Elton Wang


>-----Original Message-----
>Dera All
>
> I am generating dataGrid at runtime
> (dim dg as new datagrid)
> and so also bound column , EditCommandColumn and

other...
>
> now i want to enable in-line edit.
>
> how to do it as OnEditCommand datagrid created at

runtime doesnot
>offer OnEditCommand facility.
>
>how to write Event handler ?
>
>regards.
>
>.
>

 
Reply With Quote
 
 
 
 
Alex Homer
Guest
Posts: n/a
 
      02-27-2005
Here's an example:
http://www.daveandal.net/books/6744/...namicgrid.aspx

<> wrote in message
news: oups.com...
> Dera All
>
> I am generating dataGrid at runtime
> (dim dg as new datagrid)
> and so also bound column , EditCommandColumn and other...
>
> now i want to enable in-line edit.
>
> how to do it as OnEditCommand datagrid created at runtime doesnot
> offer OnEditCommand facility.
>
> how to write Event handler ?
>
> regards.
>



 
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
Failed to generate a user instance of SQL Server. Only an integratedconnection can generate a user instance. Harlan Messinger ASP .Net 2 03-28-2010 06:51 PM
How to generate warnings when How generate a warning when int is converted to bool or vice versa? PengYu.UT@gmail.com C++ 3 04-06-2006 11:24 PM
How to generate variable labels for same component within a generate loop Weng Tianxiang VHDL 5 02-16-2006 01:45 PM
Generate e-mail from a datagrid? REB ASP .Net 1 02-18-2004 09:18 PM
To all Gurus: How can I edit/update a DataGrid in a DataGrid (nested DataGrid)? Possible? Andreas Klemt ASP .Net Datagrid Control 0 10-08-2003 01:19 AM



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