User-667042492 posted
Hi,
scenario : in a grid editing(orders grid), i use a usercontrol form in grid edit . in usercontrol form i have 2 textboxes that
one of them is an asp.net textbox and other one is my custom textbox. also there is a grid in usercontrol too..
the second grid (in usercontrol) has orderdetails.. when i add an item to orderdetails, then i compute totalamount of sale
and set this text to my custom textbox and asp.net textbox..
but the problem starts here.. asp.net textbox shows right value but my custom textbox shows old value, not computed value..
i dont know why my custom textbox behaves like this? when i add my custom textbox to aspx page and change its text
in form its works normal, but when i set a text from codebehind its not shows new text..
How asp.net textbox feel its text changed in code behind? i think my custom textbox does not feel its text changed on codebehind..
<
cc1:MyTextBox
ID="txtSalePrice"
runat="server"
Text="0"
DataType="Money"
Required="false"
UseValidator="false"
/>
thanks in advance..