By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,965 Members | 1,476 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,965 IT Pros & Developers. It's quick & easy.

Styles are not Merging

P: n/a
Hi,

I have created two styles from cssclass and merged first one with the second
one.

I then used the style for an Item.

The styles are not merging. Here is the code that I used

Dim mystyle1, mystyle2 As System.Web.UI.WebControls.Style
mystyle1 = New Style

mystyle2 = New Style

mystyle1.CssClass = "Group1"

mystyle2.CssClass = "Group2"

mystyle1.MergeWith(mystyle2)

myItem.MergeWith(mystyle1)
I am getting the styles that are in group1 cssclass, the styles are not
merging.

Any help would be appreciated

Thanks

Ponnurangam


Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Dev
Set the cssclass to "Group1 Group2" manually this will do the trick
Nov 19 '05 #2

P: n/a
Thanks a lot Dev, that worked

"Dev" <patrick.verbeeten> wrote in message
news:uS*************@tk2msftngp13.phx.gbl...
Set the cssclass to "Group1 Group2" manually this will do the trick

Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.