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 strongm 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: MojoZig
  • Order by date
  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...
  16. MojoZig

    Passing Datafield Information ...

    JBenson, (We have a JBenson here at work ... You are not alone!) Anyway, I would like all the values of the boundfields AND the values of the hiddenfields submitted to the link on the submit button: <asp:Button ID="FullButton" runat="server" EnableViewState="False" Text="Click here to make a...
  17. MojoZig

    Passing Datafield Information ...

    Got and Issue ... New VS2005 User ... I have this code which works great except: <div style="text-align:center;"> <hr style="width:75%" /> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="Data Source=ServerName;User ID=UserName"...
  18. MojoZig

    Passing Datafield Information ...

    Got and Issue ... New VS2005 User ... I have this code which works great except: <div style="text-align:center;"> <hr style="width:75%" /> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="Data Source=ServerName;User ID=UserName"...
  19. MojoZig

    URL, UNC path script issues...

    This should be an easy quick question: I have this code below which I acquired from this forum I believe. It works great but I now need to change it from a local folder on the intranet server to a unc path. This is the code that works: <!-- List these three folders. --> <ul> <%...
  20. MojoZig

    ERROR: Login script for Mapped drives ...

    Nevermind, I'm going to just remove the hosts file all together since we do not really need to push it down each time. That's an easy fix! MZ

Part and Inventory Search

Back
Top