Click here to Skip to main content
15,886,693 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
WPF Usercontrol Textbox is not getting updated at runtime.Kindly help. I can see the value is coming in the variable but unable to see in the text box.
Posted
Comments
asadafzaal 3-Sep-15 9:57am    
How can i add image for reference?
BillW33 3-Sep-15 12:09pm    
Posting your code will be more helpful than posting an image of your screen.
CHill60 3-Sep-15 11:21am    
We can't see your HDD or your screen. You'll need to share the xaml and any code you may have used to populate the textbox.
The only way to add an image is to include a link to imgur or dropbox or similar. Note not everyone will follow the link though.
Use the "Improve question" link to update your post with this information
asadafzaal 5-Sep-15 2:16am    
void driver_currentTrnEvent(object sender, PropertyChangedEventArgs e)
{
try
{

//svr = new Server.Server();
//argres =new AdventexKiosk.MVKiosk.Result();
Events es = (Events)sender;
PageSwitcher.cust.AmountDeposited = Convert.ToString(BillTrn.DepositedAmount);
// this.CurrentScreen.ResObj = BillTrn;
string message = "";
switch (es)
{
case Events.Initializing:
message = Messages.Where(itm => itm.Contains("5:")).FirstOrDefault().Replace("5:", "");

txtTotalDesc.Dispatcher.Invoke(new Action(delegate() { txtTotalAmount.Text = BillTrn.DepositedAmount.ToString(); }));

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900