As jbenson posted, it may be caused by the way the ID's are created.
If you view source on the page what is the id of the button.. does it match the javascript?
I would suggest using this tool.....
http://billfriedrich.tripod.com/index.html?Web
... or something similar if you are not using...
I would create a session for each user and simply record which articles they visit.
Should be fairly simple to then check the DB when articles load and get say 5 other articles that are recorded in the same session as the current one (obviously going for the ones with the highest view count)...
Not 100% sure why you are doing this, but if you want a form to automatically submit on load then add an onload event into the body tag...
<body onLoad="document.form1.submit()">
form1 = the name of your form.
I have a delete button that when pressed, could warm the user of something if that condition evaluates true in the server side."
As you want this to happen when they press the delete button, this is where you need to attach the function. So when they press that call the function which will then...
In that case you might want to consider using a rich text editor input (which will allow html and giev the users buttons so they don't have to knwo the code) for that field.
Here are a few examples:
http://freetextbox.com/
http://www.codeplex.com/rte...
You will have to use javascript to get the value. There are a number of examples online. This thread looks like it has some good info ...
http://forums.asp.net/t/1295430.aspx
There are lots of different ways to pass values between .net and javascript, but the best method depends entirely on...
There are two ways to do it. Either use Javascript to loop through the existing values and compare (throwing up an error/alert when required), or alternatively you could check the database using AJAX.
I found the solution so I figured I should post it here in case anyone wants to do something similar.
I found a great article that shows how to use a repeater or datalist with the PagedDataSource class. So basically you get the paging functionality without using the a dtatgrid...
I have been looking into this further, and basically want advice on the best way to page through records in .NET without using the datagrid.
Basically I want to display alternate the display/layout of each record, but I do need the paging functionality, and I will be displaying multiple records...
My client wants alternating layouts on each records. So on one record the image on is the right and then on the left. They just felt it would make each record stand out more.
It's purely a design thing, and obviously we can work around it or come up with another design, but after spending a...
Hi
I would like to use a datagrid, as I would like to use the paging features and so on, however I am unsure how/if I can set the column values or the layout differently in each row.
Basically I want to flip each record...
...so record 1 would be
Image > Title > Description
.....and record...
Hmm ok, I had always been led to believe that the difference between Server.CreateObject and CreateObject was that Server.CreateObject uses MTS to handle the object.
As I did not need to log the event I am just using CreateObject in order to go straight through.
Anyways, that is a whole other...
Nope that isn't the problem, but thanks for the response.
I am pulling my hair out over this, and cant find any mention of this problems anywhere online.
I am curious why you think it need to be fixed? It isn't an error/problem as far I am am aware. It is an intentional choice taken to avoid...
Hello
Got a bit of a weird problem.
We are using standard fso.GetFileVersion code in order to get the version number of the latest dll used to create some documents.
We normally loop through the files to get the latest version (and this works fine on all the DLL's). However in the example...
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.