This is a migrated thread and some comments may be shown as answers.

Getting issue to display barcode in Radgrid's GridTemplateColumn

1 Answer 61 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 1
Alex asked on 09 Mar 2011, 01:30 PM
Hi,
I am using following code to diplay barcode in radgrid control.

 

<telerik:GridTemplateColumn HeaderText="Card Number">

 

 

    <HeaderStyle CssClass="HeaderBodyGray" Wrap="true" Width="80px" HorizontalAlign="Center" ForeColor="White"/>

     

<ItemStyle CssClass="ItemBody" Width="80px" HorizontalAlign="Center" VerticalAlign="Middle"

/>
 
<ItemTemplate>

 

 <table cellpadding="0" cellspacing="0" border="0">

 

 

<tr>
         
<td align="center">
<font face="C39 High 36pt LJ4" style="font-size: 50px;line-height:40px;">*<%#Eval("CardID").ToString.ToUpper%>*</font
                    </td>
</tr>
             
<tr>
<td align="center">
<span style="font-size: 7px;">
<%#FromatSKU(Eval("CardID"))%></span
                </td
            
</tr>

 

 

 </table> </ItemTemplate>

 

</telerik:GridTemplateColumn>

and using font face to display barcode.
It was working fine with asp datagrid but when i replace datagrid with telerik radgrid, it is not working.

Is there anymore way to display barcode in telerik Radgrid control?

Thanks,
Alex

 

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 14 Mar 2011, 02:22 PM
Hi Alex,

Can you share a few screenshots illustrating how it looks in a datagrid and how it is in RadGrid?

Regards,
Iana
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Grid
Asked by
Alex
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or