• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 160
  • Last Modified:

gridview checkedbox format

is it possible to change the format of a checkbox which is inside a gridview.

the default is  small and hard to see

i am using c#
0
Mr_Shaw
Asked:
Mr_Shaw
  • 4
1 Solution
 
Mr_ShawAuthor Commented:
I have tried

Gridview1.Rows[2].Cells[6].Font.Size = 20;

It does not through an error.. but also does not work.
0
 
Mr_ShawAuthor Commented:
my code works with text, but not checkboxes
0
 
Anurag ThakurCommented:
here is the link for doing customization of check boxes
http://www.codeproject.com/KB/HTML/CustomCSSCheckboxes.aspx

i know how does it feel if your code works but does not affect the things you are targetting - but this is the way asp:checkbox has been designed - you cannot increase the size of it
0
Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

 
M3mph15Commented:
Hi,

What exactly are you trying to format...What properties are you attempting the change?

-M3mph15
0
 
Mr_ShawAuthor Commented:
As an asp gridview is rendered as html I was able to apply CSS to change the size of the checkboxes.

0
 
Mr_ShawAuthor Commented:
thanks
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now