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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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"...
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...
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...
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...
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...
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...
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"...
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"...
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>
<%...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.