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 John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by MojoZig

  1. MojoZig

    Switching from Tables to CSS

    Well, unfortunately, the design isn't a design of mine that I created, I'm 'updating' an already approved design so that I can revamp the whole site to make it look better than what the old webmaster had created without running it through city council again. Each one of the divs has content in...
  2. MojoZig

    Switching from Tables to CSS

    Ok, I know this question isn't new so please forgive me if it's redundant. I've searched and just don't understand what the best practice is for slicing my photoshop file up to make the best CSS Layout. I can create a CSS layout from scratch, but now I'm trying to take an existing table layout...
  3. MojoZig

    Posting a regular form from within an ASPX page ...

    Tarwn, I'll have to test out your suggestions. I did try something similar on the ASP:Button properties but everything I tried always sent over the hidden fields asp.net sends for the viewstate or whatever it is that has the value of _EVENTARUGMENTS and the CF server would just respond with...
  4. MojoZig

    Posting a regular form from within an ASPX page ...

    I figured it out! OK, as we know ASP.NET only likes to have the one form (kinda) and my outdated way doesn't fit very well into the ASP.net mold. Anyway, the way I got it to work is to create a label which forces the Form Server control closed just before my code gets put into the template as...
  5. MojoZig

    Posting a regular form from within an ASPX page ...

    If I could edit that last post I would, seems to want to stretch the page ... sorry about that ... I did notice that if I response.write the information to the page, it gets posted at the top of the page and it will send the necessary data to the payment portal site. When I use the labels and...
  6. MojoZig

    Database Access with Visual Basic.NET (ASP.NET)

    I bought ADO.NET 2.o step by step (Haven't got to read it yet) and Pro ASP.NET 2.0 in VB 2005. I've read a bunch in the Pro ASP.NET book and really like it. What I have seen in the ADO.NET book looks like it will come in handy when I get to it. Microsoft MSDN website has some good tv shows on...
  7. MojoZig

    Posting a regular form from within an ASPX page ...

    I certainly can do that. Here's the rendered page ... My form doesn't have a name in this example, I did try adding name="payform" and/or id="payform" so it would be confused with the asp page form. Oh and I'm working with a master.template on this particular page, but that shouldn't matter...
  8. MojoZig

    Posting a regular form from within an ASPX page ...

    Got a situation where I have to post information offsite to a coldfusion server. I had it working on a bare aspx page using response.write statements of all my old form elements and it worked fine. Using repsonse.writes in my template obviously doesn't work since they are posted at the top of...
  9. MojoZig

    If Datalist returns no data, then ...

    I think I figured it out! Let me know if you know why this couldn't be done this way: Protected Sub SqlDataSource1_Selected(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.SqlDataSourceStatusEventArgs) Handles SqlDataSource1.Selected If e.AffectedRows = 0 Then...
  10. MojoZig

    If Datalist returns no data, then ...

    Thanks for the replies. I really appreciate your time. I have a few questions, please excuse the lack of knowledge on my part. My SqlDataSource is "SqlDataSource1" for the DataSourceID for DataList1. So, knowing that: when you say DataList.Datasource = ... does "..." represent my datasource...
  11. MojoZig

    If Datalist returns no data, then ...

    Got a simple question, if I have this datalist below that gets populated via a sql database. <asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1" BackColor="LightGoldenrodYellow" BorderColor="Tan" BorderWidth="1px" CellPadding="2"...
  12. MojoZig

    Passing Datafield Information ...

    Thanks for the help, I figured it out: The key information was gained from an MSDN TV show that showed how to use a DataList vs using the GridView or Details view. In the DataList, you can drag controls such as the HiddenFields and assign them a database field. I did have one problem though...
  13. MojoZig

    Passing Datafield Information ...

    Your right, I had the "" around it and it was getting passed as you stated. My bad. Why don't you just say, "Remove the quotes and the information will get passed."?? I really appreciate you schooling me on the string. :) AccountNo is a hiddenfield and I noticed I left them out of the code...
  14. MojoZig

    Passing Datafield Information ...

    Thanks for the information but the code you quote above is being used only to see if I can even get the text "TestText" to pass to the hiddenfield value which it doesn't. Has nothing really to do with with the data from the database. I was bypassing the database to see if the dim variable would...
  15. MojoZig

    Passing Datafield Information ...

    Well, I found that I can populate the HiddenField Values via the CodeBehind page when the button1 is clicked: Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Dim AccountID As String = Request.Form("Cust_ID") Dim...

Part and Inventory Search

Back
Top