This is a migrated thread and some comments may be shown as answers.

RadGrid in FormView

1 Answer 56 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Rich
Top achievements
Rank 1
Rich asked on 19 Jul 2012, 06:33 PM
Although not a big fan of FormViews, I'm stuck with it for this application.

I have a Grid in a FormView, and I'm using a Object Data Source to bind database data.  Right now...all the data looks fine, or at least how it is being returned from the database.  One of the columns however is returning a '|' delimited group of names.  What I would do without the FormView is respond to the PreRender event, and do a replace of the '|' with a line control or <br />.  I know how to do the replace, but WHERE do I do it?  How can I get to the PreRender event? 

I have found LOTS of examples out on the net on how to access the properties of the controls on the FormView, but nothing yet on how to respond to the events.  Anyone know how to do this?  Or another way?  Or a place I can begin to glean some information?  Or a hint?

Thanks all!

1 Answer, 1 is accepted

Sort by
0
O.D.
Top achievements
Rank 1
answered on 20 Jul 2012, 03:02 PM
Hello Rich,

Have you come across this post :

It seems to be similar to what you are looking for.

http://forums.asp.net/t/1370556.aspx/1 

I use mostly DataBound events, but in this case, I guess the preRender will work better.

Kind Regards,
Tags
Grid
Asked by
Rich
Top achievements
Rank 1
Answers by
O.D.
Top achievements
Rank 1
Share this question
or