Forum  Commercial Foru...  Commercial Foru...  How to force rendering of control
Previous Previous
 
Next Next
New Post 6/6/2012 1:31 AM
  Valter.Venturini
131 posts
5th Level Poster


How to force rendering of control 

Hi,

I am trying to customize some controls in order to create a currency control. I have taken a Textbox control and hardly customized in all its parts (Javascript, XSLT and C#).
Basically I have created a property (decimal) that stores the value of my control. Now I need that this property (said DecimalValue) will have the same functionality of my Text property. I want that, every time change to my DecimalValue property (most of the times in the FireEvent Method, but not only in this case) causes a re rendering of the control client side.

How do I achieve this? 

I have already used a workaround using the property Text that reflects the changes to the DecimalValue, but I would use a cleaner solution, if it is possible.

Thanks in advance,

Daniele


R&D Team - Italstudio
 
New Post 6/6/2012 12:21 PM
  palli
14334 posts
1st Level Poster




Re: How to force rendering of control 

 Hi Daniele,

Have you tried simply calling this.Update(); ?

Palli

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  How to force rendering of control
.NET HTML5 Web, Cloud and Mobile application delivery | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2012 Visual WebGui®       Visual WebGui weblog on ASP.NET Gizmox Blog Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS