locked
javascript to fix gridview header in ASP.NET for safari browser RRS feed

  • Question

  • Hi ,

    Is there any solution to fix gridview header in asp.net 3.5 ? Solution should be compatible with Safari.

    I have a CSS and Javascript that works well with IE and firefox but not with safari.

    The gridview may be number of columns of different width and also in header there is check-box used to select-deselect  child checkboxes.

    Thanks :-)


    Sharma M.
    Monday, January 10, 2011 12:38 PM

Answers

  • Hi M_Sharma,

    Please pay attention that the way of rendering CSS between all kinds of browsers are different as the degree of support of CSS has tiny differences.
    But if you strictly obey the W3C CSS Standard to write your CSS style, the result will act as what you want it to be almost in all browsers.
    So please check if you have used CSS hack or some CSS styles supported by IE and FF but your Safari browser. Check if versions of your installed browsers are all up to date. One tip: Safari 3.0 doesn’t support some properties but version 3.2 support almost all.

    Sincerely,
    Leo Liu

    Leo Liu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, January 13, 2011 2:34 AM
    Moderator

All replies

  • Hi M_Sharma,

    Welcome to the MSDN forum.

    Could you please append some critical code snippets?
    Thanks for your understanding.

    Sincerely,
    Leo Liu
    Leo Liu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Wednesday, January 12, 2011 8:15 AM
    Moderator
  • Hi M_Sharma,

    Please pay attention that the way of rendering CSS between all kinds of browsers are different as the degree of support of CSS has tiny differences.
    But if you strictly obey the W3C CSS Standard to write your CSS style, the result will act as what you want it to be almost in all browsers.
    So please check if you have used CSS hack or some CSS styles supported by IE and FF but your Safari browser. Check if versions of your installed browsers are all up to date. One tip: Safari 3.0 doesn’t support some properties but version 3.2 support almost all.

    Sincerely,
    Leo Liu

    Leo Liu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, January 13, 2011 2:34 AM
    Moderator