<input type=hidden id=inhDivWidth runat=server>
This is an invisible html control. In javascript you get the width of the
panel and assign it to inhDivWidth.value. The value will get to the server
with a postback and your server code can access inhDivWidth.Value.
Eliyahu
"Daniel" <Da****@discussions.microsoft.com> wrote in message
news:23**********************************@microsof t.com...
"You can only get it on client side and then transfer to the server in a
hidden input control."
I dont understand what is hidden control. Can u kindly more elaborate on
the above sentence?
"Eliyahu Goldin" wrote:
Not that simple.
Browsers have their own logic and priorities. They may consider your
instructions as recommendations and set another width.
Eliyahu
"AF" <nX************@nXxtg.XnetX> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl... > Is it dctr.Style.Item(?)?
myDiv.Style.Add("width", "12px");
string myWidth = myDiv.Style["width"];
?
Antonio