Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Mobile / August 2003

Tip: Looking for answers? Try searching our database.

Openwave SDK 4.1 HELP!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tony - 20 Aug 2003 16:59 GMT
I am using Openwave SDK 4.1 with VS.net 2003, i have two text boxes which
will ask for username and password and according to it the program will
decide whether to bring the user to the next page or not...
It works perfectly in the IE browser, however, when i try to use it on the
UP.Simulator provided with the SDK, text that user input does not seems to
be recongised by using TextBox.Text ... no matter what the user type,
TextBox.Text will return an empty string...
Is there anyone know how to solve this problem? I have no idea what could
cause this...
Thanks in advance
Tony
diamondwxp - 22 Aug 2003 10:41 GMT
I tried to add a textbox to form and to get the text from it,it work well in
openwave UP411, for your ref I attach the cs file here.

namespace sdgd
{
public class MobileWebForm1 : System.Web.UI.MobileControls.MobilePage
{
 protected System.Web.UI.MobileControls.Form Form2;
 protected System.Web.UI.MobileControls.TextBox TextBox1;
 protected System.Web.UI.MobileControls.Command Command1;
 protected System.Web.UI.MobileControls.TextBox TextBox2;
 protected System.Web.UI.MobileControls.Link Link1;
 protected System.Web.UI.MobileControls.Form Form1;

 private void Page_Load(object sender, System.EventArgs e)
 {
  // Put user code to initialize the page here
 }

 #region Web Form Designer generated code
 override protected void OnInit(EventArgs e)
 {
  //
  // CODEGEN: This call is required by the ASP.NET Web Form Designer.
  //
  InitializeComponent();
  base.OnInit(e);
 }

   private void InitializeComponent()
 {
  this.Command1.Click += new System.EventHandler(this.Command1_Click);
  this.Load += new System.EventHandler(this.Page_Load);

 }
 #endregion

 private void Command1_Click(object sender, System.EventArgs e)
 {
  this.ActiveForm=Form2;
  TextBox2.Text="form2: " + TextBox1.Text;
 }
}
}

Maybe you can try with UP411.Any problem please ask me free.

Regards
Diamond

> I am using Openwave SDK 4.1 with VS.net 2003, i have two text boxes which
> will ask for username and password and according to it the program will
[quoted text clipped - 7 lines]
> Thanks in advance
> Tony

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.