471,056 Members | 1,646 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,056 software developers and data experts.

Datalist control questions

I have few questions regarding datalist control.

1) How do I retrieve the values that are present in
the datalist control. My aspx page actually reloads to
itself, and the datalist control has multiple records
that are retrieved from the database. These records are
mostly radio button controls and I am concatenating the
values in the form of a string and displaying them in the
datalist control.My web form is paginated and I need to
carry the datalist control items across pages.

2) When I am using onserverclick on HtmlAnchor
control,I cannot submit the page and there is a javascript
error raised (Object expected). I am using onclick
event to handle validation in javascript.

3)On the form tag, if I use 'runat=server' , the
javascript code does not work properly. I am
validating the user to choose atleast one radiobutton
or checkbox for each question in my web page.
4) I am working on a questionaire project. My task
here is to grab the question number, answer choosen
for each question and carry to the next page. In the
next page, again I need to do the same thing and carry
those values along with the previous ones .
How do I best accomplish this. I have just one web
form(the aspx page that is attached) and I need to
accomplish this in the same web form or in the
codebehind file.

4) Whenever I open my aspx page, I get a design error
'The file could not be loaded into the Web Forms
designer. Please correct the following error and then
try loading it again:

The @ Page or @ Control directive contains a src =
attribute, which is not supported in Visual Studio.
Make sure all of the classes in the page are built or
referenced in the project.'

Why do I get this error. My web page works fine


Nov 17 '05 #1
0 1112

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Gav | last post: by
3 posts views Thread by Paul | last post: by
reply views Thread by ani | last post: by
10 posts views Thread by Bharat | last post: by
6 posts views Thread by tshad | last post: by
4 posts views Thread by Patrick.O.Ige | last post: by
4 posts views Thread by Peter | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.