Click here to Skip to main content
Sign Up to vote bad
good
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.
<%@ 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 27 Jun '11 - 10:56
Edited 29 Jun '11 - 10:08


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

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Rohan Leuva 220
1 Sergey Alexandrovich Kryukov 208
2 OriginalGriff 208
3 Abhinav S 168
4 Mahesh Bailwal 165
0 Sergey Alexandrovich Kryukov 8,474
1 OriginalGriff 6,714
2 CPallini 3,603
3 Rohan Leuva 2,853
4 Maciej Los 2,234


Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 29 Jun 2011
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid