Click here to Skip to main content
11,649,582 members (80,077 online)
   

C#

 
QuestionEnevts in MVC application. Need some Help. Pin
plywoods12-Feb-13 21:09
memberplywoods12-Feb-13 21:09 
QuestionHow to determine whether the given geo code in within geo fence or not? Pin
Vijay Kanda12-Feb-13 20:57
memberVijay Kanda12-Feb-13 20:57 
AnswerRe: How to determine whether the given geo code in within geo fence or not? Pin
Pete O'Hanlon12-Feb-13 23:13
protectorPete O'Hanlon12-Feb-13 23:13 
Questioncalling a method in c++ from c# Pin
bonosa12-Feb-13 17:45
memberbonosa12-Feb-13 17:45 
AnswerRe: calling a method in c++ from c# Pin
N a v a n e e t h12-Feb-13 22:19
memberN a v a n e e t h12-Feb-13 22:19 
GeneralRe: calling a method in c++ from c# Pin
bonosa13-Feb-13 3:55
memberbonosa13-Feb-13 3:55 
GeneralRe: calling a method in c++ from c# Pin
N a v a n e e t h13-Feb-13 18:21
memberN a v a n e e t h13-Feb-13 18:21 
GeneralRe: calling a method in c++ from c# Pin
bonosa14-Feb-13 16:56
memberbonosa14-Feb-13 16:56 
GeneralRe: calling a method in c++ from c# Pin
N a v a n e e t h14-Feb-13 21:41
memberN a v a n e e t h14-Feb-13 21:41 
GeneralRe: calling a method in c++ from c# Pin
bonosa15-Feb-13 17:27
memberbonosa15-Feb-13 17:27 
GeneralRe: calling a method in c++ from c# Pin
N a v a n e e t h16-Feb-13 17:41
memberN a v a n e e t h16-Feb-13 17:41 
GeneralRe: calling a method in c++ from c# Pin
N a v a n e e t h17-Feb-13 5:02
memberN a v a n e e t h17-Feb-13 5:02 
GeneralRe: calling a method in c++ from c# Pin
bonosa13-Feb-13 6:48
memberbonosa13-Feb-13 6:48 
QuestionDynamic Form Creation/Layout Pin
Matt U.12-Feb-13 4:21
memberMatt U.12-Feb-13 4:21 
I've had a personal project in mind lately. Part of it will include user-created fields/field types. Think of it as an inventory control system. Each object will have common properties but I want the user to be allowed to create so many custom fields for each item type. As far as storing the custom fields, I know how I will achieve that aspect of it.

What I would like to know is how I should go about generating a dynamic view for those custom fields. I considered a "table" (DataGridView) at first. But I decided I would like to go with something more user friendly. It doesn't necessarily need to be a user-defined layout. But how can I present it in such a way that it's a Label control and then a TextBox control? My thought on it so far is to possibly use a TableLayoutPanel and add the controls for each custom field as necessary. Would this be an efficient solution or is there a cleaner solution?

If something like a TableLayoutPanel is the right tool for this, that's fine. I don't mind going that route. I just wanted to get some feedback from others before I continue.

I'm using VS2010 and C# 4.0.

Thanks a bunch! Smile | :)
djj55: Nice but may have a permission problem
Pete O'Hanlon: He has my permission to run it.

AnswerRe: Dynamic Form Creation/Layout Pin
Orjan Westin12-Feb-13 6:16
memberOrjan Westin12-Feb-13 6:16 
GeneralRe: Dynamic Form Creation/Layout Pin
Matt U.12-Feb-13 6:51
memberMatt U.12-Feb-13 6:51 
AnswerRe: Dynamic Form Creation/Layout Pin
PIEBALDconsult12-Feb-13 12:36
memberPIEBALDconsult12-Feb-13 12:36 
QuestionException: Cannot open Servicexxx service on computer 'COMPUTER_NAME' Pin
NarVish12-Feb-13 1:18
memberNarVish12-Feb-13 1:18 
AnswerRe: Exception: Cannot open Servicexxx service on computer 'COMPUTER_NAME' Pin
N a v a n e e t h12-Feb-13 1:36
memberN a v a n e e t h12-Feb-13 1:36 
AnswerRe: Exception: Cannot open Servicexxx service on computer 'COMPUTER_NAME' Pin
Dave Kreskowiak12-Feb-13 2:05
mvpDave Kreskowiak12-Feb-13 2:05 
QuestionHow can I allow selected rows in a DataGridView (DGV) to be moved up or down in a button click. Pin
susanna.floora11-Feb-13 22:50
membersusanna.floora11-Feb-13 22:50 
AnswerRe: How can I allow selected rows in a DataGridView (DGV) to be moved up or down in a button click. Pin
Richard MacCutchan12-Feb-13 0:27
mvpRichard MacCutchan12-Feb-13 0:27 
GeneralRe: How can I allow selected rows in a DataGridView (DGV) to be moved up or down in a button click. Pin
susanna.floora12-Feb-13 0:56
membersusanna.floora12-Feb-13 0:56 
Questioncontrol robots with c# !? Pin
source.compiler11-Feb-13 21:47
membersource.compiler11-Feb-13 21:47 
AnswerRe: control robots with c# !? Pin
Pete O'Hanlon11-Feb-13 22:11
protectorPete O'Hanlon11-Feb-13 22:11 
AnswerRe: control robots with c# !? Pin
Jibesh11-Feb-13 22:19
memberJibesh11-Feb-13 22:19 
Questiongame with Object-oriented programming Pin
saber_ershadi11-Feb-13 21:22
membersaber_ershadi11-Feb-13 21:22 
AnswerRe: game with Object-oriented programming Pin
Jibesh11-Feb-13 22:22
memberJibesh11-Feb-13 22:22 
GeneralRe: game with Object-oriented programming Pin
saber_ershadi11-Feb-13 23:55
membersaber_ershadi11-Feb-13 23:55 
GeneralRe: game with Object-oriented programming Pin
lukeer12-Feb-13 19:32
memberlukeer12-Feb-13 19:32 
AnswerRe: game with Object-oriented programming Pin
Richard MacCutchan11-Feb-13 22:22
mvpRichard MacCutchan11-Feb-13 22:22 
AnswerRe: game with Object-oriented programming Pin
ProgramFOX12-Feb-13 2:18
member ProgramFOX12-Feb-13 2:18 
QuestionHow to encryp video file and decrypt ? Pin
saber_ershadi11-Feb-13 6:10
membersaber_ershadi11-Feb-13 6:10 
AnswerRe: How to encryp video file and decrypt ? Pin
Richard MacCutchan11-Feb-13 6:31
mvpRichard MacCutchan11-Feb-13 6:31 
AnswerRe: How to encryp video file and decrypt ? Pin
Dave Kreskowiak11-Feb-13 7:29
mvpDave Kreskowiak11-Feb-13 7:29 
AnswerRe: How to encryp video file and decrypt ? Pin
Albert Holguin11-Feb-13 15:42
memberAlbert Holguin11-Feb-13 15:42 
GeneralRe: How to encryp video file and decrypt ? Pin
saber_ershadi11-Feb-13 21:27
membersaber_ershadi11-Feb-13 21:27 
GeneralRe: How to encryp video file and decrypt ? Pin
Dave Kreskowiak12-Feb-13 2:07
mvpDave Kreskowiak12-Feb-13 2:07 
GeneralRe: How to encryp video file and decrypt ? Pin
Albert Holguin12-Feb-13 5:07
memberAlbert Holguin12-Feb-13 5:07 
AnswerRe: How to encryp video file and decrypt ? Pin
Amir Mohammad Nasrollahi29-Jul-13 22:20
professionalAmir Mohammad Nasrollahi29-Jul-13 22:20 
QuestionHelp Pin
isemshe11-Feb-13 5:38
memberisemshe11-Feb-13 5:38 
AnswerRe: Help Pin
OriginalGriff11-Feb-13 6:01
mvpOriginalGriff11-Feb-13 6:01 
GeneralRe: Help Pin
Amir Mohammad Nasrollahi29-Jul-13 22:21
professionalAmir Mohammad Nasrollahi29-Jul-13 22:21 
AnswerRe: Help Pin
Pete O'Hanlon11-Feb-13 6:14
protectorPete O'Hanlon11-Feb-13 6:14 
GeneralRe: Help Pin
jibesh11-Feb-13 6:30
memberjibesh11-Feb-13 6:30 
GeneralRe: Help Pin
Dave Kreskowiak11-Feb-13 7:27
mvpDave Kreskowiak11-Feb-13 7:27 
GeneralRe: Help Pin
PIEBALDconsult11-Feb-13 15:30
memberPIEBALDconsult11-Feb-13 15:30 
GeneralRe: Help Pin
Dave Kreskowiak11-Feb-13 18:51
mvpDave Kreskowiak11-Feb-13 18:51 
QuestionC# error message SystemCertificates\Disallowed Pin
classy_dog11-Feb-13 5:13
memberclassy_dog11-Feb-13 5:13 
AnswerRe: C# error message SystemCertificates\Disallowed Pin
Abhinav S11-Feb-13 5:16
mvpAbhinav S11-Feb-13 5:16 

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.150804.4 | Last Updated 5 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid