Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
Hi I am somewhat new to ASP.NET and also a Computer Science Student. Currently I am just doing some self learning here.

I have made a Dynamic Data Linq to SQL website, that was made from the C# website templates. Followed the scaffold tutorials, http://www.asp.net/web-forms[^]
I tried to follow the tutorial for the Modifying the Dynamic Data Fields. It showed a demo for getting the date picker widget.

I am trying to do something similar but with the autocompelte widget. I don't know how to create the data and which type of data to create. Or where to put the data, also I am having trouble seeing some progress to see if I am actually getting the widget to work. Also I want to do this to only one of my fields. Any snippets I should try to get the widget to work or any advice I could try to do to get this? Sorry for asking for "give me that code". But I am really clueless. This was already in the Dynamic Data website template. And the tutorials told me to mess with this which I am not sure how to do.
XML
<%@ Control Language="C#" CodeFile="Text_Edit.ascx.cs" Inherits="Text_EditField" %>
<asp:TextBox ID="TextBox1" runat="server" Text='<%# FieldValueEditString %>' CssClass="DDTextBox"></asp:TextBox>

<asp:RequiredFieldValidator runat="server" ID="RequiredFieldValidator1" CssClass="DDControl DDValidator" ControlToValidate="TextBox1" Display="Static" Enabled="false" />
<asp:RegularExpressionValidator runat="server" ID="RegularExpressionValidator1" CssClass="DDControl DDValidator" ControlToValidate="TextBox1" Display="Static" Enabled="false" />
<asp:DynamicValidator runat="server" ID="DynamicValidator1" CssClass="DDControl DDValidator" ControlToValidate="TextBox1" Display="Static" />
Posted
Updated 29-Jun-11 10:08am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900