Click here to Skip to main content
15,909,051 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioncontrol position problem in VS2008 IDE? Pin
Tridip Bhattacharjee14-Nov-10 0:33
professionalTridip Bhattacharjee14-Nov-10 0:33 
AnswerRe: control position problem in VS2008 IDE? Pin
Dr.Walt Fair, PE14-Nov-10 12:25
professionalDr.Walt Fair, PE14-Nov-10 12:25 
AnswerRe: control position problem in VS2008 IDE? Pin
praveen_gpk15-Nov-10 19:21
praveen_gpk15-Nov-10 19:21 
QuestionDIV position problem generated dynamically from javascript Pin
Tridip Bhattacharjee14-Nov-10 0:24
professionalTridip Bhattacharjee14-Nov-10 0:24 
Questionhow to position div just over the textbox? Pin
Tridip Bhattacharjee13-Nov-10 20:30
professionalTridip Bhattacharjee13-Nov-10 20:30 
AnswerRe: how to position div just over the textbox? Pin
Brij13-Nov-10 22:22
mentorBrij13-Nov-10 22:22 
GeneralRe: how to position div just over the textbox? Pin
Tridip Bhattacharjee13-Nov-10 22:49
professionalTridip Bhattacharjee13-Nov-10 22:49 
GeneralRe: how to position div just over the textbox? Pin
Brij13-Nov-10 23:52
mentorBrij13-Nov-10 23:52 
The below code gives you the position of an object passed
function findPosition(obj)
{
var curleft = curtop = 0;
	if (obj.offsetParent) {
		do {		
			curleft += obj.offsetLeft;
			curtop += obj.offsetTop;					
		} while (obj = obj.offsetParent);
	}
	return [curleft,curtop];
}


pass the DOM object to findPosition and get the position of the textarea.

Now set the top and left with this position.
Also set the width and height of the div as your textarea.

QuestionHow to pass data to gridview(Long Post) Pin
future383913-Nov-10 13:46
future383913-Nov-10 13:46 
AnswerRe: How to pass data to gridview(Long Post) Pin
thatraja15-Nov-10 1:47
professionalthatraja15-Nov-10 1:47 
QuestionWhat is best way to show Grid inside a TabPanel Pin
Steve van Niman13-Nov-10 11:26
Steve van Niman13-Nov-10 11:26 
QuestionHost Web Service and Web Site in virtual directory & app pool Pin
kakarato13-Nov-10 5:06
kakarato13-Nov-10 5:06 
AnswerRe: Host Web Service and Web Site in virtual directory & app pool Pin
Brij13-Nov-10 7:14
mentorBrij13-Nov-10 7:14 
Questionmultiple getJSON issue [modified] Pin
musefan12-Nov-10 5:28
musefan12-Nov-10 5:28 
QuestionFail to avoid postback for button click Pin
Tridip Bhattacharjee11-Nov-10 23:01
professionalTridip Bhattacharjee11-Nov-10 23:01 
AnswerRe: Fail to avoid postback for button click Pin
Brij12-Nov-10 1:12
mentorBrij12-Nov-10 1:12 
GeneralRe: Fail to avoid postback for button click Pin
Tridip Bhattacharjee12-Nov-10 2:00
professionalTridip Bhattacharjee12-Nov-10 2:00 
GeneralRe: Fail to avoid postback for button click Pin
Brij12-Nov-10 6:38
mentorBrij12-Nov-10 6:38 
QuestionShowing content pages without MasterPage in DesignView. Pin
Asif Rehman11-Nov-10 4:03
Asif Rehman11-Nov-10 4:03 
AnswerRe: Showing content pages without MasterPage in DesignView. Pin
Brij11-Nov-10 6:32
mentorBrij11-Nov-10 6:32 
AnswerRe: Showing content pages without MasterPage in DesignView. Pin
Vimalsoft(Pty) Ltd14-Nov-10 20:03
professionalVimalsoft(Pty) Ltd14-Nov-10 20:03 
QuestionDetailsView FormView - SelectedValue bug Pin
Hanzaplast11-Nov-10 3:10
Hanzaplast11-Nov-10 3:10 
QuestionNavigating from a page to Wizrd page Pin
meeram39511-Nov-10 2:47
meeram39511-Nov-10 2:47 
AnswerRe: Navigating from a page to Wizrd page Pin
Not Active11-Nov-10 3:10
mentorNot Active11-Nov-10 3:10 
GeneralRe: Navigating from a page to Wizrd page Pin
meeram39511-Nov-10 12:30
meeram39511-Nov-10 12:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.