ElasticButton setting SecondSpanClass not working

0 Answers 1 View
Grid
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
Fit2Page asked on 02 Dec 2025, 11:01 AM

We discovered the following is not working in RadGrid's ItemDataBound nor in ItemCreated events:

 

            Dim imgbtn As ElasticButton
            Dim imgbtn1 As ElasticButton
            imgbtn = DirectCast(Item("btn_sequp").Controls(0), ElasticButton)
            imgbtn1 = DirectCast(Item("btn_seqdown").Controls(0), ElasticButton)
            imgbtn.SecondSpanClass = "d-none"
            imgbtn1.SecondSpanClass = "d-none"

 

So we had to set through CSS like:

.t-text.rgButtonText {
    display:none;
}

 

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
Share this question
or