User Profile

Collapse

Profile Sidebar

Collapse
erickme
erickme
Last Activity: Nov 13 '07, 03:50 PM
Joined: Jul 20 '07
Location: Orlando, FL
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • erickme
    replied to Set Focus on PostBack
    in .NET
    I set it to public but still gives me an error...
    See more | Go to post

    Leave a comment:


  • erickme
    replied to Set Focus on PostBack
    in .NET
    Here is the html

    [CODE=html]
    <body bottomMargin="0 " leftMargin="0" topMargin="0" rightMargin="0" marginwidth="0" marginheight="0 ">
    <form runat="server">
    <table cellSpacing="0" cellPadding="0" width="100%" border="0">
    <tr vAlign="top">
    <td...
    See more | Go to post

    Leave a comment:


  • erickme
    replied to Set Focus on PostBack
    in .NET
    It doesn't seem to work with a asp button, I got this error:
    Compiler Error Message: BC30390: 'ASPNET.Starter Kit.Portal.Prod uctLookUpPage.P rivate Sub SetFocus(Client ID As String)' is not accessible in this context because it is 'Private'....
    See more | Go to post

    Leave a comment:


  • erickme
    replied to Set Focus on PostBack
    in .NET
    I just tried with firefox and it works, but not with Internet explorer. I didn't get any javascript error. I don't get it, whats wrong with IE (lol) then.

    I'm not using AJAX in this application, this is an old application, it was develop long time before I started working here.
    See more | Go to post

    Leave a comment:


  • erickme
    replied to Set Focus on PostBack
    in .NET
    I have tried that, don't work for me. This is how my script section on the page looks.

    Code:
    			<script language="javascript">
    
    				var win=null;
    
    				function NewWindow(mypage,myname,w,h,scroll,pos)
    				{
    					if(win!=null && win.open) win.close()
    					
    					if(pos=="random")
    					{
    						LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;
    ...
    See more | Go to post

    Leave a comment:


  • erickme
    replied to Set Focus on PostBack
    in .NET
    I'm tired of looking for the problem. I didn't create the code, it was the guy before me so maybe he have something that it's not allowing this to work. Here is the code if anyone can figured it out.

    [CODE=vbnet]
    Imports System.Data.Odb c

    Namespace ASPNET.StarterK it.Portal

    Public Class ProductLookUpPa ge
    'Inherits System.Web.UI.P age
    Inherits ASPNET.StarterK it.Portal.Porta lPage...
    See more | Go to post

    Leave a comment:


  • erickme
    replied to Set Focus on PostBack
    in .NET
    Thanks, but neither worked.

    I don't know what else to try.
    See more | Go to post

    Leave a comment:


  • erickme
    started a topic Set Focus on PostBack
    in .NET

    Set Focus on PostBack

    Well I wasn't to sure if post this on the javascript forum or here, but since is an error that probably I got because something related to my ASP.Net code I decided to posted here.

    Ok my problem is that I need to set focus on a textbox everytime the page is loaded. Maybe you already thinking what I thought at first, that with a textbox.setFocu s() that will do it. Nop this is .Net Framework 1.1 and textbox.setFocu s() didn't exist back...
    See more | Go to post
No activity results to display
Show More
Working...