Styles are not Merging

  • Thread starter Thread starter Ponnurangam
  • Start date Start date
P

Ponnurangam

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top