Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > HOWTO: Do Web Control relative screen positioning during PostBack

Reply
Thread Tools

HOWTO: Do Web Control relative screen positioning during PostBack

 
 
Dan Sikorsky
Guest
Posts: n/a
 
      11-12-2004
How do you get the x,y pixel location of a textbox so that you can position
the Web CalendarControl popup nearby the associated textbox that will
contain
the date selected? This needs to be done on the postback, so no javascript
will do.

--
Thank you kindly,
Dan Sikorsky BAB, BScE, MSC


 
Reply With Quote
 
 
 
 
Steve C. Orr [MVP, MCSD]
Guest
Posts: n/a
 
      11-12-2004
You can't exactly do this from the server side since the browser makes final
decisions about placement.

What you could do is give the textbox a specific x,y location using
GridLayout so then you'd know where it will be placed.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net


"Dan Sikorsky" <(E-Mail Removed)> wrote in message
news:Oi%(E-Mail Removed)...
> How do you get the x,y pixel location of a textbox so that you can
> position
> the Web CalendarControl popup nearby the associated textbox that will
> contain
> the date selected? This needs to be done on the postback, so no javascript
> will do.
>
> --
> Thank you kindly,
> Dan Sikorsky BAB, BScE, MSC
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Css Positioning "Screen-Width-Relative" Rob Powell HTML 4 09-17-2006 09:09 PM
Master Pages & relative/absolute positioning? Fred Nelson ASP .Net 1 02-21-2006 12:51 PM
absolute, relative, not set, static positioning ?????? Rob R. Ainscough ASP .Net 2 02-07-2006 07:32 PM
Relative Positioning of a Point B. Clay Java 2 03-03-2004 07:58 AM
Preventing jump to top of screen during postback Guenther Liebowitz ASP .Net 2 08-14-2003 04:58 PM



Advertisments