473,395 Members | 1,532 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Datalist control questions

ani
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
saying
'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
though..

Thanks.

Nov 17 '05 #1
0 1212

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

Similar topics

6
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...
3
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...
0
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...
10
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...
6
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...
4
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...
2
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: ...
6
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"...
4
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.