Click here to Skip to main content
15,897,291 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to test a webservice in local network??? Pin
Christian Graus6-Apr-08 19:18
protectorChristian Graus6-Apr-08 19:18 
GeneralRe: how to test a webservice in local network??? Pin
Rob Philpott6-Apr-08 22:34
Rob Philpott6-Apr-08 22:34 
GeneralRe: how to test a webservice in local network??? Pin
Pete O'Hanlon7-Apr-08 0:07
mvePete O'Hanlon7-Apr-08 0:07 
Questiondiv tag in datalist Pin
random46-Apr-08 18:59
random46-Apr-08 18:59 
GeneralRe: div tag in datalist Pin
Christian Graus6-Apr-08 19:15
protectorChristian Graus6-Apr-08 19:15 
GeneralRe: div tag in datalist Pin
random46-Apr-08 19:27
random46-Apr-08 19:27 
GeneralRe: div tag in datalist Pin
Christian Graus6-Apr-08 21:18
protectorChristian Graus6-Apr-08 21:18 
GeneralRe: div tag in datalist Pin
random46-Apr-08 22:58
random46-Apr-08 22:58 
i am sorry but the site filtered the code i had put.......

now i found that the divid.style.top returns empty string unless some top attribute is specified before calling this as shown in the following code snippet.

I am simply keeping the div tags and i dont know what would be its top postion... however based on its top value i want to set some other div element's value.

My question now asks how to find the top position of a div in a page?

<script type="text/javascript" language="javascript"><br />
    function executeJS()<br />
    {<br />
<br />
    alert("child: " + (document.getElementById("divid")).style.top + " parent: " +(document.getElementById("parent")).style.top  );<br />
      }<br />
    </script><br />
<br />
    <div id="parent" style="position: fixed; top:220px "><br />
        <div id="divid" runat="server" visible="true" style="position: absolute; top: 30px;"><br />
            hello</div><br />
        <a onclick="executeJS()">click here</a></div>


adi_nik

Questionhow do execute the textbox script value at dynamically in .net with c# Pin
sugunavathysubramanian6-Apr-08 18:47
sugunavathysubramanian6-Apr-08 18:47 
AnswerRe: how do execute the textbox script value at dynamically in .net with c# Pin
Christian Graus6-Apr-08 18:58
protectorChristian Graus6-Apr-08 18:58 
GeneralRe: how do execute the textbox script value at dynamically in .net with c# Pin
sugunavathysubramanian6-Apr-08 19:50
sugunavathysubramanian6-Apr-08 19:50 
GeneralRe: how do execute the textbox script value at dynamically in .net with c# Pin
Christian Graus6-Apr-08 21:22
protectorChristian Graus6-Apr-08 21:22 
Generalconversion problem! Pin
yassir hannoun6-Apr-08 15:13
yassir hannoun6-Apr-08 15:13 
GeneralRe: conversion problem! Pin
Christian Graus6-Apr-08 15:48
protectorChristian Graus6-Apr-08 15:48 
GeneralRe: conversion problem! Pin
yassir hannoun7-Apr-08 3:40
yassir hannoun7-Apr-08 3:40 
GeneralRe: conversion problem! Pin
Pete O'Hanlon7-Apr-08 4:19
mvePete O'Hanlon7-Apr-08 4:19 
GeneralRe: conversion problem! Pin
Christian Graus7-Apr-08 11:43
protectorChristian Graus7-Apr-08 11:43 
GeneralRe: conversion problem! Pin
yassir hannoun7-Apr-08 13:19
yassir hannoun7-Apr-08 13:19 
GeneralRe: conversion problem! Pin
Christian Graus7-Apr-08 17:38
protectorChristian Graus7-Apr-08 17:38 
GeneralRe: conversion problem! Pin
Insincere Dave6-Apr-08 17:40
Insincere Dave6-Apr-08 17:40 
GeneralDataTable Click Event Pin
Sean Cleary6-Apr-08 13:48
Sean Cleary6-Apr-08 13:48 
GeneralRe: DataTable Click Event Pin
kaddim7-Apr-08 7:00
kaddim7-Apr-08 7:00 
GeneralRe: DataTable Click Event Pin
jtvberg10-Apr-08 15:07
jtvberg10-Apr-08 15:07 
GeneralAutomatic sizing of Textbox at runtime depending on number of lines it contains Pin
karan19816-Apr-08 10:17
karan19816-Apr-08 10:17 
GeneralRe: Automatic sizing of Textbox at runtime depending on number of lines it contains Pin
Christian Graus6-Apr-08 11:10
protectorChristian Graus6-Apr-08 11:10 

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.