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 Chriss Miller 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: raphael232
  • Content: Threads
  • Order by date
  1. raphael232

    Payment provider example in php (needed in asp)

    Hi, a recent client has requested to use a payment provider i have not used before. I have checked their documentation but all their examples are in php. Here is the code in their example: $poststring = "<?xml version='1.0' encoding='UTF-8'?>...................."; $fp =...
  2. raphael232

    Problem getting 3 colum fluid layout to work in ie6, ie7 and ff

    Hi, i've always used http://webhost.bridgew.edu/etribou/layouts/skidoo_too/index.html as a template when making my sites. However i've always had the problem that the middle column border widths would get overlapped by the left and right columns. I've spent the last few hours trying to...
  3. raphael232

    Binding to DropDownList problems

    Hi, i'm having problems binding to the DropDownList control. Here's my code: <asp:DropDownList ID="lstCategoryID" SelectedValue='<%# Eval("CategoryID") %>' DataTextField="Text" DataValueField="Value" runat="server"> </asp:DropDownList> and here's my code behind (Page_Load event handler)...
  4. raphael232

    Problem with null dates

    Hi, i'm having trouble dealing with null dates. For example first i pass my date as a string to my business layer. Then before i do my update i do the following to my date: If inputDate <> "" Then inputDate = DateTime.Parse(inputDate) Else inputDate = Nothing I was hoping if the string...
  5. raphael232

    Two Way DataBinding to DropDownList

    Hi i'm playing around with the formview control to call my insert method of my business object. I notice that you put <asp:TextBox ID="txtTitle" Text='<%# Bind("Title") %>' runat="server"></asp:TextBox> to get the Title from a TextBox control but what do i bind to other controls such as...
  6. raphael232

    Regular expression problem

    Hi, how do you return the text between a link using a regular expression i tried: Set objRegExp = New RegExp objRegExp.IgnoreCase = True objRegExp.Global = True objRegExp.Pattern = "<a(.*?)>(.*?)</a>" Set objMatches = objRegExp.Execute(strContent) strText = objMatches(0).value but it also...
  7. raphael232

    Dynamically adding controls to form based on type

    Hi i am trying to create a dynamic web form which displays controls based on information stored in the database. I have a formview control on my page and a repeater within that: <asp:FormView ID="FormView1" runat="server" DataSourceID="ObjectDataSource1" DefaultMode="Insert">...
  8. raphael232

    Update control within formview insertitemtemplate

    Hi, i have the following formview: <asp:FormView ID="FormView1" runat="server" DataSourceID="ObjectDataSource1" DefaultMode="Insert"> <InsertItemTemplate> Title: <asp:TextBox ID="txtTitle" runat="server"></asp:TextBox> Category: <asp:DropDownList ID="lstCategoryID"...
  9. raphael232

    Change property by variable

    Hi, i want to change a property of an object by a variable name ie say i have: 'usual way of doing things document.title = "Document Title" document.description = "Description of document" and i have ' what i need to do Dim column As String = "keywords" document.column = "Keywords of...
  10. raphael232

    Problem Passing Variables via ObjectDataSource

    This is an update on my original post, after a little research i have descovered that pass a variable number of parameters into a method/function you use ParamArray, ie: Public Function UpdateDocument(ByVal title As String, ByVal documentID As Integer, ByVal ParamArray list As Object()) As...
  11. raphael232

    Problem Passing Variable Number of Parmaters Into Functions

    Hi, currently on my site have multiple section areas which are pretty much the same. I'm currently in the process of upgrading from asp to asp.net and feel that i could save time by combining my section areas into a master table. To combat this problem i have come up with the following table...
  12. raphael232

    Combining Tables Into Master Table Design Problem

    Hi, for a long time now i've been creating a different table for each section on my site (eg one for news and one for events etc). However i feel this adds alot of repeated work. I'm currently in the prcoess of combining them into a documents table. Here's what i have come up with so far...
  13. raphael232

    Return Databound Field From Gridview

    Hi, i'm making an attempt at the article at http://aspnet.4guysfromrolla.com/articles/052406-1.aspx. Everything works a treat except that instead of using the datakey (as done in the article) i wish to use a field bounded to the gridview. I have tried doing: For i As Integer = 0 To...
  14. raphael232

    Adding Attributes to DataList Problem

    Hi, can anyone see what is wrong with the following Protected Sub ImagesList_ItemDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DataListItemEventArgs) Handles ImagesList.ItemDataBound If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType =...
  15. raphael232

    Searching Files Within Folder - Page/Search Navigation Problem

    Hi, i'm trying to create a search page (searching files within a folder) that allows paging. So far i have 2 functions set up: Public Function GetFiles(ByVal strFolderPath As String, ByVal strSearchBy As String, ByVal intPage As Integer, ByVal intMaximumRows As Integer) As DataTable Dim...
  16. raphael232

    &amp;nbsp; -&gt; &amp;amp;nbsp; drop down list??

    Hi, i'm trying to create a drop down list of categories that has indenting based on how deep the category is. I have the following code: Dim Items As New ListItemCollection For Each Row In Categories Dim Item As New ListItem Item.Text = " &nbsp; " & Row.fldCategory Item.Value =...
  17. raphael232

    Null Date Problem

    Hi, i'm using the GridView1_RowDataBound event handler to color rows under certain circumstances. I have the following code: If e.Row.RowType = DataControlRowType.DataRow Then Dim ReviewDate As DateTime = DataBinder.Eval(e.Row.DataItem, "ReviewDate") ... End If to get the the ReviewDate...
  18. raphael232

    Adding a please select option to top of dropdownlist

    Hi, i used the objectdatasource to the bind the dropdownlist control to my table adapter successfull, for example: <asp:DropDownList ID="lstCategoryID" runat="server" DataSourceID="ObjectDataSource1" DataTextField="ID" DataValueField="fldCategory"> </asp:DropDownList> <asp:ObjectDataSource...
  19. raphael232

    Show/Hide Layer Within Table Cell

    Hi, I want to show a layer within a td tag when you hover over the td tag and hide it when you move out of the td tag. So far I have the following: <tr> <td hideLayer('Navigation1');" onclick="showLayer('Navigation1');">Test 1 <div onmouseover="showLayer('Navigation1')" id="Navigation1"...
  20. raphael232

    Grid View with Custom Sorting and Paging

    Hi, i am trying to do custom paging and sorting on my site for the grid view control. So far i have the following: <asp:TextBox ID="txtSearch" Text="" runat="server"></asp:TextBox> <asp:Button ID="btnSearch" runat="server" Text="Search" /><br /> <br /> <asp:GridView...

Part and Inventory Search

Back
Top