[SOLVED] AspNetWrapper - Events

Answered
0
0

Hi!

I am trying to do a small test to better understand the use of events in AspNetWrapper. In the future I want to use more complex components.

Why is the TextChanged event not working? Could you check for me please?

Thank you so much,
Ulisses.

  • You must to post comments
Best Answer
0
0

The aspnet check box doesn’t fire the event when it’s checked, it’s all based on a form and post of the data. The asp net wrapper is mean to be used for complex controls like a spreadsheet, chart, word editor. Simple editing controls in asp.net are supposed to work in a <form> and with an the wrapper you end up creating an iframe for each control. Additionally you lose all the focus/enter/leave/validation infrastructure that is not supported in asp.net.

  • Ulisses
    Thanks, Luca. Do you think it’s better to work with javascript (Widget) or ASP.NET (AspNetWrapper) components when we use components like DevExpress, Telerik and Infragistics?
  • Luca (ITG)
    Javascript widgets are the preferred way. But still I wouldn’t replace the basic data widgets (checkbox, radio, textboxm, combobox) because you would lose the very tight integration built-in wisej that doesn’t exist in any other library, We regularly use third party widgets (Syncfusion and DevExtreme) for major controls: Gantt, Charts, Gauges, Scheduler.
  • Ulisses
    Great! Thanks!
  • You must to post comments
0
0

Checkbox example.

Attachment
  • You must to post comments
0
0

It works for me. Press enter.

BTW, you don’t need to use Application.Update(), the event is coming from a request therefore anything you do will be sent back to the browser.

  • Ulisses
    Thanks, Luca. And about the checkbox? I have attached the project now.
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.