In VS2008 need to to change some statements that contain " class=" to " cssclass="

  • Thread starter Thread starter AAaron123
  • Start date Start date
A

AAaron123

Years ago I use to know how to do this in Vb.Net but I forgot and can't seem
to find the correct hint anywhere.

In VS2008 I want to to change some asp:Button statements that contain "
class=" to " cssclass="

I think the following finds them (and only them)
"asp\:button.* class="

But I can't remember (or find out) how to change class= to CssClass=



Can you tell me.

Thanks
 
Are you asking about how to do this with Find/Replace?

Also, I would hope that you'd change all the class= to cssClass as
asp:buttons don't support the class= attribute.

-Scott
 
I did it manually.
I did what you said because of the reason you gave.

However class also works ok.
I guess it passes it on anyway and IE knows about class.


Yes, Find/Replace in the IDE

I think this goes into the find box:
"asp\:button.* class="

I still would like to know what goes into the Replace box to leave the rest
of the string but replace class with CssClass


Thanks
 
Back
Top