I want to change the currency format in the textbox with this code, and it is working fine.
for some reason, i am using the textbox control from RealTaiizor framework and the code shows the error "no overload for method 'select' takes 2 arguments"
full code:
CultureInfo culture = new CultureInfo("id-ID");
decimal valueBefore = decimal.Parse(Textbox1.Text, NumberStyles.AllowThousands);
Textbox1.Text = string.Format(culture, "{0:N0}", valueBefore);
Textbox1.Select(Textbox1.Text.Length, 0);
the error code is located here:
Textbox1.Select(Textbox1.Text.Length, 0);
How to solve this problem ?