Fields : Use Ajax problem ?

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
jack2lombre
User
Posts: 7

Fields : Use Ajax problem ?

Post by jack2lombre »

Hello
I am testing the "Use Ajax" option on a field named A20 (in Select Tag Attributes)

The generated code is
// A20
A20.EditAttrs["class"] = "form-control";
if (Convert.ToString(A20.AdvancedSearch.SearchValue) == "") {
sFilterWrk = "0=1";
.... and so on

The probleme with "0=1" is that search list is always empty (as the sql selection for A20.EditValue always perfrom a WHERE "0=1".

What is the issue ?
Regards.


Webmaster
User
Posts: 9430

Post by Webmaster »

The select box will be populated via Ajax. Please make sure that you do not have any javascript error on the page. If you are using Google Chrome, press F12, go to [Console] to check. Also, go to [Network] to check for any error for the Ajax request.


Post Reply