Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: g2000
  • Order by date
  1. g2000

    Cross-page posting (ASP.Net 2.0)

    Hi, the examples in the following link works. I follow step by step. http://msdn2.microsoft.com/en-us/library/ms178139.aspx But I got the following error. Object reference not set to an instance of an object. WHEN! The source page has master page attached on it. The target page can't find...
  2. g2000

    Problem with data display

    I was told to put the databind(access) code inside if (!Page.IsPostBack) { ..... } because that saves the data for selecting an item. But if I did that, I would lose all data (nothing shows up) if I sort / get to another page afterwards. Simply speaking, is it necessary to use datasource object?
  3. g2000

    Delay in email!

    The IIS sends out my email when certain action is triggered. Recipients of email include some from the local domain and outside the domain. For some unknown reason, recipient of local domain gets the email right away whereas outsiders experience delay. How to resolve?
  4. g2000

    Newbie stupid question

    But the Server.Transfer("newpage.aspx") won't change the URL in the address bar.
  5. g2000

    2.0 final release

    I downloaded the 2.0 final release. They prompted me to uninstall the 2.0 beta. I did so and installed the 2.0 final release. Afterwards, the VWD never worked anymore. I installed the 2.0 beta and the programs written never worked either. Any clue?
  6. g2000

    possible to change the webcontrol type?

    yeah.. jbenson001.. sort of.. but since both control belongs to System.Web.UI.WebControls namespace. So, I would like .. instead of <asp:TextBox ... > or <asp:Label ... > Can I <asp:WebControls ... > ? And set the specific type in Page_Load or Page_PreRender ???
  7. g2000

    possible to change the webcontrol type?

    Is that possible to change the WebControls type? I have a control. With spaghetti code, I can change to either textbox or label. but no clue how to do it in .NET. anyone?
  8. g2000

    FormsAuthentication class

    I've read something about FormsAuthentication.GetRedirectUrl(userName, createCookie). First of all, how to use that? Anyone?
  9. g2000

    FormsAuthentication class

    Once user has been authenticated, he/she will be directed to a page. I mean ... FormsAuthentication.RedirectFromLoginPage(loginName, persistentState) and <authentication> <forms .... ... loginUrl="login.aspx" ... /> </authentication> I go to the browser and type login.aspx in address bar...
  10. g2000

    ascx

    Can I put a variable to this tag? For instance, I have <script runat=server> String notVar = "12345"; </script> <myTagPrefix:myTagName id="myId" myVar=notVar runat=server> The above notVar is a variable, by my defintion. But the output shows as if it is a text. It shows as notVar instead...
  11. g2000

    Request object

    I wanna write a class, A, that outputs the content of Request.ServerVariables. But I got the following error The name 'Request' does not exist in the current context Any clue ?
  12. g2000

    Email with pass-in parameter possible???

    Yeah.. for that page, page2Send.asp, I do have 2 variables var1 = Request.Form("var1") var2 = Request.Form("var2") However.... when I send the page using CDO .CreateMHTMLBody "page2Send.asp" How to pass those 2 variables? This is not a GET.
  13. g2000

    Email with pass-in parameter possible???

    I wanna email a page that is a report. The page itself is a file that accepts POST parameters. If you email a page using something like .CreateMHTMLBody how can I send the parameters?
  14. g2000

    Attach file when emailing

    How to attach file when sending email? I use CDO.Message for email. But how to get the css works or images?
  15. g2000

    Any limit for ExecuteGlobal?

    I use this function, ExecuteGlobal, to include some file. But it doesn't work some but not all. Is there a limit on how many bytes this executeGlobal can read?
  16. g2000

    Limit of POST

    One difference between GET and POST is the way they handle the form. For GET, the form parameters are appended at the end of page whereas it is sent separated for POST. There should a limit for # of characters for GET. How about POST?
  17. g2000

    form field mask

    Try this... <input type="text" value="Start new search" name="txt1" id="txt1" onkeypress="document.getElementById('txt1').value='';" />
  18. g2000

    string in alert box

    else { themessage = themessage + RunOnDay + RunOnDay2 alert(themessage) return false; }
  19. g2000

    HTML form control check?

    Is that possible (using javascript) to check if any input element belongs to certain type such as textbox or select box?
  20. g2000

    Toggle Display of DIV

    Did you try the inline instead of block?

Part and Inventory Search

Back
Top