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 Wanet Telecoms Ltd 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: wallm
  • Content: Threads
  • Order by date
  1. wallm

    asp:image control null

    Just say the DataField 'PhotoPath' was null. How could I set the code so that it display a text string "no image" <asp:image id="EmployeeImage" imageurl='<%# Eval("PhotoPath") %>' alternatetext='<%# Eval("LastName") %>' runat="server"/>
  2. wallm

    validation

    How could I use validation to ensure a price such as 19.99 is added? I've got the requiredfield validator for starters. thanks.
  3. wallm

    datatype for prices

    I have a database field that is currently money datatype. what's the best datatype to use to store product prices? Is it double or money or decimal and any reasons why. At the moment I am using the money datatype but there's 4 decimal places such as 10.0000 thanks.
  4. wallm

    vertical-align bottom

    vertical-align bottom doesn't seem to do much good. The text within the topnavigation div sits right at the top. Is there anyway to move it down to the bottom or middle? #topnavigation { padding:0; margin:0 10px 0 10px; background-image:url("images/navbar.gif")...
  5. wallm

    Expected end of statement

    myString="<a href="www.tek-tips.com">Tek-tips</a>" If TestFunction(myString)= True Then .............. causes an expected end of statement error. How can I use the replace function to stop the " in the link causing the error? I don't want to use ' the single quote. thanks.
  6. wallm

    rotating header image asp.net 2.0

    can anyone help with a script to rotate the top 800x180 pixel image in a website on page load. Should I use the Adrotator or is there a simple piece of script that works? thanks.
  7. wallm

    2 column layout

    If I use the 2 column layout from http://www.glish.com/css/9.asp and there is very little text in the left column the right column shifts down below the left column. Is there any way to stop this from happening? thanks.
  8. wallm

    Gridview

    Can anyone point me in the direction of a tutorial that shows how to select, update, edit and delete rows displayed in a gridview from a database that doesn't rely on using a datasource control and its commands? thanks.
  9. wallm

    Dropdownlist - not set to an instance of an object.

    Hello I have a dropdownlist that populates it's value with a sqldatasource from a field with datatype MONEY. When I get the selectedvalue I'm using the code below but get the error below System.NullReferenceException: Object reference not set to an instance of an object. Dim myShippingCost...
  10. wallm

    Templatefield Gridview

    I converted a boundfield into a templatefield The templatefield now looks like this <asp:TemplateField HeaderText="Quantity"> <EditItemTemplate> <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("Quantity") %>'></asp:TextBox>...
  11. wallm

    createuserwizard

    The validation code below doesnt work, can anyone point me in the right direction. If I remove all the createuserwizards step and just have the code within the table plus a button the validation works the way I expect it. Any ideas why it isn't working? <form id="form1" runat="server">...
  12. wallm

    Next button

    How can I get rid of the Next button for a wizard step?
  13. wallm

    CreateUserWizard

    Is there anyway to skip having to click the 'continue button' step and go straight to the destinationpageurl?
  14. wallm

    MasterPage ContentPage

    I've got a usercontrol that goes within contentpages. The masterpage on Sub Page_Load calls the profile object. When I edit the profile object in the usercontrol the masterpage doesn't reflect the new value. Anyway I can sync this up? thanks.
  15. wallm

    DataList1.Controls(0).FindControl(&quot;PriceLabel&quot;)

    I’ve removed some of the code to make this easier to read. Below I have a datalist that displays multiple label controls that will store the prices of a shopping cart item. When the imagebutton ‘ImageButton2” is clicked the event handler in the code behind file is raised. The problem is that...
  16. wallm

    Authentication

    If I use the login control all the users that are authenticated are sent to default.aspx. How Can I send a user e.g. 'Dave12' to a protected folder 'admin' and a particular page 'admin.aspx' within that folder once he has logged in? I've a bit of an idea to place a web.config file in the...
  17. wallm

    Wizard1.ActiveStepChanged

    The code below is in a codebehind file, there doesn't appear to be any reference to the sub Wizard1_ActiveStepChanged in the web form. Is it called implicitly? Protected Sub Wizard1_ActiveStepChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Wizard1.ActiveStepChanged...
  18. wallm

    Membership - CreateUserWizard

    I'm using the CreateUserWizard and the ASPNETDB.mdf database. If I create a new database table I would like to create a relationship between the aspnet_Membership table and my new Orders table. I'm not sure how to do this. Would I need to get the UserID for the newly created member and place...
  19. wallm

    Profile object and anonymous users

    I get the following error message "This property cannot be set for anonymous users. End Get Line 80: Set Line 81: Me.SetPropertyValue("Name", value) Line 82: End Set Line 83: End Property" In my web.config file I have the profile object enabled as below...
  20. wallm

    Datalist - no records

    I have a querystring that passes to the page and selects records to display in my datalist. Is there a template in the datalist for no records such as the EmptyDataTemplate in the Gridview? thanks.

Part and Inventory Search

Back
Top