How can I dynamically add template column in WebGrid.

2 replies. Last post: February 1, 2010 3:28 AM by Abdullah Foysal
Tags :
  • (None)

Hi,

How can I dynamically add template column in WebGrid. Like instead of adding Item like following way:

<RootTable>

<Columns>

<ISWebGrid:WebGridColumn ColumnType="Template">

...my control goes here

</ISWebGrid:WebGridColumn>

</Columns>

</RootTable>


I want to add item programetically something like following way:

...columns.Add([any type of asp.net server side control])


By the way my company does not have design time license. So, many of your given example is not appropiate for me.


Thanks



Answers

Hi Abdullah,

     Actually, we do have thread that discuss on how to create a programmatic cell template. You can see it at this link.

     I hope it helps and please, do not hesitate to ask if you have any other questions. Thank you.

Best Regards,

Andi Santoso

All Replies

Hi Abdullah,

     Actually, we do have thread that discuss on how to create a programmatic cell template. You can see it at this link.

     I hope it helps and please, do not hesitate to ask if you have any other questions. Thank you.

Best Regards,

Andi Santoso

Looks like a solution. Let me try. Thanks for your reply
All times are GMT -5. The time now is 4:21 PM.
Previous Next