Login
Latest Development Blogs
Forum Topics Post
Browse By Tag
Hi,
I was just trying to create WebGridColumns (Button column) at runtime. I wrote the following code on WebGrid1_PrepareDataBinding event :
Hello Anup,
I have tested it but it runs well. What does that button click do? When PostBack, PrepareDataBinding would be always triggered. If that button only triggers postback, it supposed not creating a new column again. You should add if(!IsPostBack).
Regards,Handy