This topic is locked

Upgrade 7.2 Mobile Issues

12/14/2012 2:13:51 PM
ASPRunnerPro General questions
lefty author

I have a table called Unsaleables When adding a record to one of the fields edit as ajaxbox. It causes a problem with some thousands of data in the drop down.which mobile version does by default see below.( it takes a long time to scroll through) I thought if I change the LCType to 1 see unsalable settingbelow. and change ajaxsuggest to true . This would fix the issue. It actually works but I need to change these lines everytime I re-build the project. Any other options here . I do not want to go into the original code and just change this as I will now have to do it everytime I build another project. Any suggestions here.
The code below is in the settings section for this one table I am working on . This needs to be done in other table I have as well. I would be tedious to do this after every build. please help.

if bValue(isMobile()) then

setArrElement edata,"LCType",0 >change to 1

else

setArrElement edata,"LCType",1

end if
if bValue(isMobile()) then

setArrElement tdataUnsaleables,".showSearchPanel",true

else

setArrElement tdataUnsaleables,".showSearchPanel",false ,

end if

if bValue(isMobile()) then

setArrElement tdataUnsaleables,".isUseAjaxSuggest",false > change to true

else

setArrElement tdataUnsaleables,".isUseAjaxSuggest",true

end if

Sergey Kornilov admin 12/18/2012

If you need to make this change permanent modify source files in C:\Program files\ASPRunnerPro7.2\source directory. Not sure what else you can do here.