Hi,
in our project we have problem with grid width: on page load it's ok, here's piece of markup from page source:
but after postback it looks like this:
I have no idea where this inline style came from, I have not set width for the grid.
As a result, grid occupies not whole width, as FullWidth (width: 100%) prescribes, but instead some part of the page :(
What could be wrong here?
p.s. There is nothing especial with postback, the only note: postback happens from parent page and the grid is situated in iframe page.
in our project we have problem with grid width: on page load it's ok, here's piece of markup from page source:
<
div
tabIndex
=
"0"
class
=
"RadGrid RadGrid_GreenSF FullWidth"
id
=
"ctl00_cphMain_tc1_ctl00_contentArea_ctl00_ctl01_gridClient"
_events
=
"[object Object]"
control
=
"[object Object]"
EmptyDataText
=
"No data"
CommandItemDisplay
=
"Top"
jQuery1605439695548107272
=
"158"
>
but after postback it looks like this:
<
div
tabIndex
=
"0"
class
=
"RadGrid RadGrid_GreenSF FullWidth"
id
=
"ctl00_cphMain_tc1_ctl00_contentArea_ctl00_ctl01_gridClient"
style
=
"width: 682px;"
_events
=
"[object Object]"
control
=
"[object Object]"
EmptyDataText
=
"No data"
CommandItemDisplay
=
"Top"
jQuery1608745933755360553
=
"158"
>
I have no idea where this inline style came from, I have not set width for the grid.
As a result, grid occupies not whole width, as FullWidth (width: 100%) prescribes, but instead some part of the page :(
What could be wrong here?
p.s. There is nothing especial with postback, the only note: postback happens from parent page and the grid is situated in iframe page.