PostBackUrl for BulletedList

Hi there,

Does anyone know how to set the PostBackUrl for the ListButtons contained in the BulletList control when DisplayMode is set to LInkButton?

Thanks!!
-CT
CoconutTelegraphAsked:
Who is Participating?
 
McExpConnect With a Mentor Commented:
It looks like the only DisplayMode which allows you to select alternate destinations is the "HyperLink" mode. MSDN does not document any properties that can be used to provide the solution you require.

See my answer to your other question for a possible solution?
0
 
McExpCommented:
It may not be the solution you want but I have searched MSDN and it appears that it is not possible to do as you have requested.
0
 
CoconutTelegraphAuthor Commented:
I'm pretty sure you could just iterate through the collection BulletedListControl.Controls and cast those to a LinkButton. You could then set the property PostBackUrl for each individual LinkButton. I was just wondering if there was an easier way or something I was missing.
0
 
CoconutTelegraphAuthor Commented:
Either way, I no longer need this solution because I implemented a better URL rewriting mechanism. Thanks for the assistance though McExp.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.