Search results for query: *

  • Users: N_K
  • Order by date
  1. N

    Master Page - making it dynamic?

    Hi, I have a master page for my site which controls the general layout of the site. On the .master part of the file I have a large area of javascript I use for tracking. I need the master page to be able to detect the url of the current page and change certain variable values in the...
  2. N

    doctype, treeview & CSS issue

    Hi, A colleague of mine is using a treeview to generate a site map for the .Net site we're developing. We've hit a problem. The treeview seems to show a break between a few elements . After raising a query about it it was suggested he change the doctype from this: <!DOCTYPE html PUBLIC...
  3. N

    event Handler on DDList being ignored...

    Hi, I'm creating a shopping basket where for each item a drop down list is created and an event handler is assigned. Suddenly my application has started ignoring my Handler. I have tried assigning to a different handler which just outputs a response.write message for debugging and this...
  4. N

    RadioButtonList - problem with selected value

    ive sorted it with the databinding being in an IF Not ISPostBack block.
  5. N

    RadioButtonList - problem with selected value

    Hi, I have a RadioButtonList but am having issues obtaining the selectedvalue. I have the following: DataTable = FaqCatAdapter.GetFaqCat RBLFaqCat.DataSource = DataTable RBLFaqCat.DataTextField = "Description" RBLFaqCat.DataValueField = "WFaqCatId"...
  6. N

    Passing html into a database field

    Hi, Im writing a control to send answers to FAQs to the database. Some of these answers may have html a links in them. How should I treat these fields so that any characters harmful to the MSSQL database are converted but still parse as html when recalled later and sent to a page? At the...
  7. N

    searching contents of a string?

    Ok Ignore that. Ive found the InStr() function. Oddly I couldnt find it anywhere in the .Net books. silly stuff
  8. N

    searching contents of a string?

    Hi, Sorry if this seems simple but I don't seem to be able to find it anywhere. I want to find out if the word "LoginRegister" exists within the current page URL. Basically this is so that one of my controls can act differently if it is used on a particular page and "LoginRegister" is the name...
  9. N

    Best encryption algorithm for card info?

    Using the microsoft pages on Rijndael ive got an encrypt and decrypt function which all seems great but how do I store the byte array the function creates in the database? Bit confused. cheers, N_K
  10. N

    Best encryption algorithm for card info?

    Hi, I'm sort of new to implementing encryption and I need to encrypt credit card info which is to be stored on a database. Which algorithm given in dotNet is best for this? Any pointers on implementing it? I assume I will have a key in my select method and another key in my insert or update...
  11. N

    Buttons on a DataList

    thank you for that.
  12. N

    Buttons on a DataList

    i can access buttons in a similar way but I just cant seem to be able to create a subroutine for the click event of the button. So far at the start of my code behind I have tried this: Dim DLEditButton As System.Web.UI.WebControls.Button and then later on as part of the ItemDataBound...
  13. N

    Buttons on a DataList

    Hi, On each row of a DataList I have a button which will allow the user to edit that row's details and bring up an extra bit of the page. I cant seem to refer to the button in my codebehind file, VS insists the button has not been declared. How can I sort this out? cheers, NK
  14. N

    accessing template control properties in code behind.

    thanks. How do I refer to fields in the DataList directly in this code. I want to build a query string in the url to feature variables taken from the current record. I want to add the field "AddressBookId" for example to the query string. So far I have: HView.NavigateUrl =...
  15. N

    accessing template control properties in code behind.

    Similarly I'm now attempting to access the Hyperlink url for each record in a similar way however I can't seem to access that. any pointers? my code is below. Protected Sub ContactsDataList_ItemDataBound( _ ByVal sender As Object, _ ByVal e As...
  16. N

    DataList Paging - updating num of pages / jump to page

    Hi, I've made a control which uses a DataList to display some related contacts. Im using paging to control how many records are displayed. All works well with just one small niggle. Two dropdowns exist at the top of my control how many results to show (DDNumResults) and which page to jump to...
  17. N

    accessing template control properties in code behind.

    Ive sorted it now using thst code. Thank you very much for your help.
  18. N

    accessing template control properties in code behind.

    I'm sorry I misread the code. Will have another go. many thanks
  19. N

    accessing template control properties in code behind.

    Thank you. I'm afraid that isnt the right thing I'm trying to do. I want to access the ViewLink on each repetition/row and change the ViewLink.Visible property depending on a boolean I will obtain from the session. (for now the variable View is used and set to false). so rather than...
Back
Top