472,954 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,954 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 1197

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Gav | last post by:
Hi All, I have created a datalist using the repeatcolumns property to create multiple columns. I have tried to keep everythings width to 100% so that if the window is resized it still looks...
by: Paul | last post by:
I don't understand how to test values inside a datalist control. Example, where you're writing the value <%# DataBinder.Eval(Container.DataItem, "AdminLevel") %> Ideally, I'd like to alter...
by: ani | last post by:
I have few multiple choice questions that are paginated. The button that takes the user to the next page is a hyperlink on a image. I am using standard <a href ><image> tag .My aspx page contains...
by: Bharat | last post by:
Hi Folks, Suppose I have two link button on a page (say lnkBtn1 and lnkBtn2). On the click event of the lnkbtn1 I have to add a dynamically created control. And On the click event of the lnkBtn2 I...
by: tshad | last post by:
I need to get to a status label I have on my footer section of my datalist. There is no event happening that would go to the footer. I am just doing some processing and want to update the label...
by: Patrick.O.Ige | last post by:
I have a CheckBoxList in a DataList and i'm trying to get item Selected after doing a postBack. I have set my CheckBoxlist AutoPostBack="True" Any ideas what 'm doing wrong? It seems not to...
by: Hans Merkl | last post by:
Hi, I am trying to use a user control as EditItemTemplate in a DataList. It loads fine but I can't figure out how to bind to the data of the DataList. Here is what I have got so far: ...
by: Victor | last post by:
Hi. all I have a customize web control. I have three simple properties and customized render class. then I add this control into my datalist like <asp:DataList ID="datalist" runat="server"...
by: Peter | last post by:
I have a DataList and each item in the datalist has an imge, I want to change the datalist item image on the client side when user clicks a button. How would I do that with JavaScript, does anyone...
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.