Click here to Skip to main content
15,894,362 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Membership Provider Pin
enjoycrack25-Apr-07 4:34
enjoycrack25-Apr-07 4:34 
QuestionHow to fetch particular column form dataset? Pin
Care Career24-Apr-07 22:08
Care Career24-Apr-07 22:08 
AnswerRe: How to fetch particular column form dataset? Pin
_AK_24-Apr-07 22:16
_AK_24-Apr-07 22:16 
Questionhow to handle image layer in asp .net Pin
babusat24-Apr-07 21:56
babusat24-Apr-07 21:56 
AnswerRe: how to handle image layer in asp .net Pin
N a v a n e e t h24-Apr-07 22:59
N a v a n e e t h24-Apr-07 22:59 
QuestionImage Types Pin
Icarus12324-Apr-07 21:37
Icarus12324-Apr-07 21:37 
AnswerRe: Image Types Pin
xibeifeijian24-Apr-07 22:48
xibeifeijian24-Apr-07 22:48 
QuestionJavascript problem in asp.net form Pin
Kissy1624-Apr-07 21:22
Kissy1624-Apr-07 21:22 
Hai to all,
Here i am using javascript for adding two different values(txt1,txt2) and the sum shd come when we click on the third txt3.
Here i am able to give onle integer values.If i want the same for decimal values,how i have to give the code???
Here i am giving my code for integer values

function getBal(obj)
{
int v1 = document.getElementById('txtinspected_f').value
int v2 = document.getElementById('txtinspected_m').value
if ( !isNaN(v1) && !isNaN(v2) && !isEmpty(v1) && !isEmpty(v2) )
{
int baln = parseint(v1) + parseint(v2)
obj.value = baln
}
else
{
alert("Please fill the fields with valid numbers")
}
}
function isEmpty(txt)
{
if (txt == "")
{
return true
}
else
{
return false
}}
</end script>
and on the pageload,txt3.attributes.add("onclick","getBal(this)")

I have tried with float isstead of Int,but the result is not coming.
Is there any other way to get sum of two different txt's into third textbox.
please give me some idea.
also how to get morethan two zeroes(for decimal part) in a textbox while we enter a value.
THanks in advance
Regards


<div class="ForumSig">kissy</div>
QuestionWhy would i use Autopostback? Pin
Waskira24-Apr-07 21:22
Waskira24-Apr-07 21:22 
AnswerRe: Why would i use Autopostback? Pin
Shajeel24-Apr-07 21:44
Shajeel24-Apr-07 21:44 
GeneralRe: Why would i use Autopostback? Pin
Waskira24-Apr-07 22:14
Waskira24-Apr-07 22:14 
GeneralRe: Why would i use Autopostback? Pin
Shajeel24-Apr-07 22:50
Shajeel24-Apr-07 22:50 
GeneralRe: Why would i use Autopostback? Pin
Waskira24-Apr-07 23:09
Waskira24-Apr-07 23:09 
Questionplease help me with this code Pin
Oga M24-Apr-07 21:17
Oga M24-Apr-07 21:17 
AnswerRe: please help me with this code Pin
RSArockiam24-Apr-07 22:10
RSArockiam24-Apr-07 22:10 
GeneralRe: please help me with this code Pin
Oga M24-Apr-07 22:15
Oga M24-Apr-07 22:15 
QuestionGarbage Collection Pin
jayarajmrj24-Apr-07 20:56
jayarajmrj24-Apr-07 20:56 
AnswerRe: Garbage Collection Pin
Sandeep Akhare24-Apr-07 21:02
Sandeep Akhare24-Apr-07 21:02 
GeneralRe: Garbage Collection Pin
Vikram A Punathambekar24-Apr-07 22:36
Vikram A Punathambekar24-Apr-07 22:36 
GeneralRe: Garbage Collection Pin
Sandeep Akhare25-Apr-07 0:04
Sandeep Akhare25-Apr-07 0:04 
GeneralRe: Garbage Collection Pin
Vikram A Punathambekar25-Apr-07 0:08
Vikram A Punathambekar25-Apr-07 0:08 
Questionhow we hide destop and task Bar in asp.net and vb.net Pin
Suhail Shahab24-Apr-07 20:52
Suhail Shahab24-Apr-07 20:52 
AnswerRe: how we hide destop and task Bar in asp.net and vb.net Pin
Vikram A Punathambekar24-Apr-07 22:39
Vikram A Punathambekar24-Apr-07 22:39 
Questionhow to get current loged in username in standard provider? Pin
neodeaths24-Apr-07 20:47
neodeaths24-Apr-07 20:47 
AnswerRe: how to get current loged in username in standard provider? Pin
Sandeep Akhare24-Apr-07 20:55
Sandeep Akhare24-Apr-07 20:55 

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.