iphone - Changing EntryElement keyboard returnkeytype monotouch.dialog -


i'm using code changing keyboard returnkeytype of entry element in monotouch.dialog yet show 'return' on keyboard.

    protected override monotouch.uikit.uitextfield createtextfield (system.drawing.rectanglef frame)     {         try {             var field= base.createtextfield (frame);             field .returnkeytype = uireturnkeytype.done;             return field ;         } catch (exception ex) {             rltlog .handleexception (ex);             return null ;         }     } 

am wrong in thin

by looking on monotouch.dialog source codes find elemet, has attribute porpose. should use code this:

rltentryelement createserverurlentry(){          try {               servernameentryelement = new entryelement ("website url","placeholder",         "value");               servernameentryelement .returnkeytype = uireturnkeytype .done ;              return servernameentryelement ;          } catch (exception ex) {             handleexception (ex);             return null ;         }     } 

Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -