Simple: Icons insteadd of text for utogenerated Edit/Update/Delete Columns

4 posts, 0 answers
  1. DoomerDGR8
    DoomerDGR8 avatar
    133 posts
    Member since:
    Aug 2010

    Posted 14 Nov 2010 Link to this post

    Hello guys,

    I need a quick help regarding a situation where I have a RadGrid bound to a LinqDataSource and both have the Automatic CRUD enabled on them. The Grid renders and perform just as expected but instead of seeing icons for Update and delete, I'm seeing text. I want to have icons only. Kindly help!
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 15 Nov 2010 Link to this post

    Hello Hassan,

    You can refer the following forum post which describes the same scenario.

    Replacing text of autogenerated add/update/delete/edit buttons with an icon
    how to change edit and delete into icon

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. DoomerDGR8
    DoomerDGR8 avatar
    133 posts
    Member since:
    Aug 2010

    Posted 15 Nov 2010 Link to this post

    Dear Princy,

    Thanks for your reply. I can do good with that referal. I was however pretty sure thta the Office2007 skin I use comes along with a default bunch of nice icons. I wanted to use them. In short, I don't want to code anything. I just want to setup an attribute like ButtonType="Image" (example).
  5. Tsvetina
    Admin
    Tsvetina avatar
    1874 posts

    Posted 18 Nov 2010 Link to this post

    Hi Hassan,

    Since these are different types of controls (LinkButton and ImageButton) you cannot replace one with the other in an auto-generated edit form without using some code to do so. The code which Princy provided is quite simple and straight-forward, so it should not be a problem to use it in your application.

    Kind regards,
    Tsvetina
    the Telerik team
    Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Back to Top