Question : how to dynamically set height and width in label

Hi,

I'm trying to dynamically set a controls (label) width and height.

It works fine to set the labels text but not the width and height. It throws this error:
Specified cast is not valid.

Code Snippet:
Ingen data för vald sida.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:

        
            
            

        
    
    
    
        
           
                

Answer : how to dynamically set height and width in label

I am sorry forgot to add one more parameter in eval


try thi one

     
   
Random Solutions  
 
programming4us programming4us