3 Replies - 650 Views - Last Post: 21 February 2009 - 11:03 AM Rate Topic: -----

#1 vivekrane1986  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 102
  • Joined: 02-August 08

Font Changes After deleteing or updating data

Posted 20 February 2009 - 02:31 AM

Hi all,

I have a Data Grid which is Bind to my MS Access database table. The Grid has Delete and edit Link Button. When I Click on Delete the records gets deleted and when my page reloads it changes the Font (At least it look like it changes the font.).

All pages having a master page. I have not added any font tag in master page.

Also after deleting the records if the Grid is having less records the Row gets bigger.

Thanks and Regards,
Vivs

Is This A Good Question/Topic? 0
  • +

Replies To: Font Changes After deleteing or updating data

#2 doWhileSomething  Icon User is offline

  • D.I.C Head

Reputation: 11
  • View blog
  • Posts: 96
  • Joined: 08-January 09

Re: Font Changes After deleteing or updating data

Posted 20 February 2009 - 11:38 AM

View Postvivekrane1986, on 20 Feb, 2009 - 01:31 AM, said:

Hi all,

I have a Data Grid which is Bind to my MS Access database table. The Grid has Delete and edit Link Button. When I Click on Delete the records gets deleted and when my page reloads it changes the Font (At least it look like it changes the font.).

All pages having a master page. I have not added any font tag in master page.

Also after deleting the records if the Grid is having less records the Row gets bigger.

Thanks and Regards,
Vivs


Do you have any response.write(...) used anyplace? Sometimes this can wack out css/styles.

Another question, are you using any styles, or the defualts/properties embeded in the gridview control?
Was This Post Helpful? 0
  • +
  • -

#3 vivekrane1986  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 102
  • Joined: 02-August 08

Re: Font Changes After deleteing or updating data

Posted 21 February 2009 - 05:08 AM

Yes i do have Response.write to notify delete.

I am using DataGrid Properties only.

what more i have found out is it happens on some machine only.
Was This Post Helpful? 0
  • +
  • -

#4 doWhileSomething  Icon User is offline

  • D.I.C Head

Reputation: 11
  • View blog
  • Posts: 96
  • Joined: 08-January 09

Re: Font Changes After deleteing or updating data

Posted 21 February 2009 - 11:03 AM

View Postvivekrane1986, on 21 Feb, 2009 - 04:08 AM, said:

Yes i do have Response.write to notify delete.

I am using DataGrid Properties only.

what more i have found out is it happens on some machine only.


Get rid of the response.writes. If you need to notify yourself of something, and don't want to visually see your code by "stepping through it" via the IDE, assign the values to a literal or label control. You can hide display the control as needed.

Writing responses to the page can mess up styles and fonts in some cases.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1