Doubt in getting value in textbox

Posted by Naveenmanam under ASP.NET on 4/30/2010 | Views : 1099 | Status : [Member] | Replies : 2
here if i select any check box then that particular's "today price" should be calculated and the total should be displayed in the textbox(txt2) when clicking the submit button.

But for me all the today price is calculated even if the checkbox is not selected and displayed in the textbox(txt2)


so i have to calculate the today price value only if the particular checkbox is selected. so wt to do for this?

NaveenKumar


Responses

Posted by: Pavanandey on: 4/30/2010 [Member] Bronze

Up
0
Down

Hi Naveen,

check whether the autopostback property is set to true for the checkbox and calculate the value in the checkbox selected change event

Thanks
Pavan Kumar
Mark Answer if this fits the need

Naveenmanam, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naveenmanam on: 4/30/2010 [Member] Starter

Up
0
Down
thank you pavan

NaveenKumar

Naveenmanam, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response