Saturday, February 4, 2012

ReadOnly textbox

1. When readonly textbox assign values in javascript. It is not get reflected in codebehind. To get values you can don't make textbox ReadOnly="true". Instead add attribute to textbox as textbox.Attributes.Add("readonly","readonly"); 2. Also one other way exist Request.Form[textbox.UniqueID]

No comments:

Post a Comment