Click here to Skip to main content


AnswerRe: css PinmvpSandeep Mewara4-Jan-13 3:14 
AnswerFB Connect Javascript Pinmembersasikumar.prs26-Dec-12 23:29 
GeneralRe: FB Connect Javascript Pinmemberkhiladi78631-Dec-12 5:40 
GeneralRe: FB Connect Javascript Pinmemberjkirkerx31-Dec-12 10:36 
AnswerRe: FB Connect Javascript PinmvpSandeep Mewara4-Jan-13 3:17 
QuestionGridview Problem Pinmemberjojoba201122-Dec-12 5:05 
AnswerRe: Gridview Problem PinmvpSandeep Mewara4-Jan-13 3:25 
Questionxna4life Member 13 Points 71 Posts hard code drop down instead of using toolbar and r/s PinmemberxnaLearner21-Dec-12 3:34 
So im trying to creae a dynamic data project using
my project has 2 tables, FruitTable and SellerTable.
I had it set so the primary key in 'fruit table': name. was the foreign key in 'seller table'
I added a new class which contains the code to link to the new fieldTemplate I added(DropDown)
 <pre lang="c#">[MetadataType(typeof(UsingDropDownMetadata))]
    public partial class UsingDropDown
    public class UsingDropDownMetadata
        //DropDown is name of field templates
        //use in field date in tracing table
        public object DropDownFromTextBox { get; set; }
then in the dropDown_Edit.ascx I used the toolbox to get a drop down list and link it to the fruit table.
Now when a user creates a new item, they can select the names of fruit to add.
However I would like to hard code this so I have removed the r/s btn fruit and seller table
In dropdownEdit.ascx iv added it manuall
<asp:DropDownList id="DropDownList1" runat="server"
DataSource="<% databindingexpression %>"
<asp:ListItem value="value" selected="True|False">
then in the dropdownedit.ascx.cs
I want to hard code to pull across the values but am not sure if I am doing this right. please advise
protected void OnSelectedIndexChangedMethod(object sender, EventArgs e)
//text here


Questioni m using google map its giving little bit problem. Pinmemberkapil sharma 4920-Dec-12 23:52 
AnswerRe: i m using google map its giving little bit problem. PinmvpSandeep Mewara4-Jan-13 3:31 
Question"&nbsp" problem in Javascript PinmemberBrianCampbellMCAD20-Dec-12 12:08 
QuestionRe: "&nbsp" problem in Javascript PinmvpRichard MacCutchan20-Dec-12 23:00 
AnswerRe: "&nbsp" problem in Javascript PinmemberBrianCampbellMCAD21-Dec-12 1:42 
GeneralRe: "&nbsp" problem in Javascript PinmvpRichard MacCutchan21-Dec-12 2:06 
AnswerRe: "&nbsp" problem in Javascript Pinmemberjkirkerx31-Dec-12 10:39 
Questionjquery tabslideout plugin and want to detect when div slide in and out PinmemberTridip Bhattacharjee20-Dec-12 3:54 
AnswerRe: jquery tabslideout plugin and want to detect when div slide in and out Pinmembervbmike21-Dec-12 6:25 
GeneralRe: jquery tabslideout plugin and want to detect when div slide in and out PinmemberTridip Bhattacharjee23-Dec-12 6:35 
GeneralRe: jquery tabslideout plugin and want to detect when div slide in and out Pinmembervbmike23-Dec-12 11:31 
QuestionConvert HTML to PDF (Client Side) PinmemberPhanindra26116-Dec-12 20:07 
QuestionRe: Convert HTML to PDF (Client Side) Pinmemberryanb3118-Dec-12 5:05 
AnswerRe: Convert HTML to PDF (Client Side) PinmemberPhanindra26118-Dec-12 17:50 
GeneralRe: Convert HTML to PDF (Client Side) PinmemberJ4amieC18-Dec-12 21:29 
QuestionCan't figure out why the currentSlide goes 0-3-2 Pinmemberjkirkerx16-Dec-12 12:08 
AnswerRe: Can't figure out why the currentSlide goes 0-3-2 Pinmemberjkirkerx17-Dec-12 8:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Advertise | Privacy | Mobile
Web01 | 2.8.140709.1 | Last Updated 10 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid