Link to home
Create AccountLog in
Avatar of CoconutTelegraph
CoconutTelegraph

asked on

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
ASKER CERTIFIED SOLUTION
Avatar of McExp
McExp
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
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.
Avatar of CoconutTelegraph
CoconutTelegraph

ASKER

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.
Either way, I no longer need this solution because I implemented a better URL rewriting mechanism. Thanks for the assistance though McExp.