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...
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...
...Ive missed or anything else please can you let me know?
cheers,
NK
my code is below:
Creating each drop down in a loop:
...
'*** Item Qty
ItemQty = Dt.Rows(i).Item("qty")
'*** Create Qty Dropdown
Dim DDQty As New DropDownList...
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"...
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...
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...
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
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...
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...
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
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 =...
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...
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...
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...
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.