Click here to Skip to main content
15,889,767 members
Home / Discussions / C#
   

C#

 
QuestionC# program on windows server 2003 Pin
LeonXjm21-Apr-14 15:05
LeonXjm21-Apr-14 15:05 
AnswerRe: C# program on windows server 2003 Pin
Wes Aday21-Apr-14 15:32
professionalWes Aday21-Apr-14 15:32 
AnswerRe: C# program on windows server 2003 Pin
LeonXjm21-Apr-14 15:36
LeonXjm21-Apr-14 15:36 
GeneralRe: C# program on windows server 2003 Pin
Mycroft Holmes21-Apr-14 22:58
professionalMycroft Holmes21-Apr-14 22:58 
GeneralRe: C# program on windows server 2003 Pin
LeonXjm4-May-14 17:38
LeonXjm4-May-14 17:38 
QuestionGIS coordinates (spherical mercator) to screen coordinates? Pin
SledgeHammer0121-Apr-14 12:42
SledgeHammer0121-Apr-14 12:42 
AnswerRe: GIS coordinates (spherical mercator) to screen coordinates? Pin
Bernhard Hiller21-Apr-14 21:38
Bernhard Hiller21-Apr-14 21:38 
Questioncustom webcontrol designer problems Pin
Nico Haegens21-Apr-14 7:41
professionalNico Haegens21-Apr-14 7:41 
Hi, I've made a custom webcontrol that works similar to gridview but with a few extra functionalities. The control works just fine, but my designer is showing 2 issues:
- I can't drag the control from the toolbar to a page, the action isn't allowed for unknown reason.
- I have editable templates. Changing an existing template contents works perfect. However, creating a new template from designer view isn't working(it's not persisting to my pagecode). If I create it manually by typing in the template in code view, there is no issue.
I am overriding following methods of the designer
- GetEditableDesignerRegionContent
- SetEditableDesignerRegionContent
- GetDesignTimeHtml
- GetDesignTimeHtml(DesignerRegionCollection regions)
- GetEmptyDesignTimeHtml
following properties:
- ActionLists
- TemplateGroups

My control inherits from DataBoundControl.
My designer control inherits from DataBoundControlDesigner.
Each template property has following attributes:
[TemplateContainer(typeof(CustomItemsControlItem))]
[TemplateInstance(TemplateInstance.Single)]
[PersistenceMode(PersistenceMode.InnerProperty)]
[DefaultValue(null)]
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]


Am I missing something? If you need code of a specific block, please ask.
QuestionBy using the web services/WCF of Amazon (and other retailers) my client can upload there products on Amazon (and other sites) in bulk. Pin
Santosh K. Tripathi20-Apr-14 23:08
professionalSantosh K. Tripathi20-Apr-14 23:08 
SuggestionRe: By using the web services/WCF of Amazon (and other retailers) my client can upload there products on Amazon (and other sites) in bulk. Pin
Santosh K. Tripathi27-Apr-14 21:00
professionalSantosh K. Tripathi27-Apr-14 21:00 
QuestionC# Linq To SQL Dynamic Where Clause Pin
Kevin Marois20-Apr-14 11:39
professionalKevin Marois20-Apr-14 11:39 
AnswerRe: C# Linq To SQL Dynamic Where Clause Pin
Richard Deeming22-Apr-14 2:07
mveRichard Deeming22-Apr-14 2:07 
GeneralRe: C# Linq To SQL Dynamic Where Clause Pin
Kevin Marois22-Apr-14 5:41
professionalKevin Marois22-Apr-14 5:41 
GeneralRe: C# Linq To SQL Dynamic Where Clause Pin
Richard Deeming22-Apr-14 6:32
mveRichard Deeming22-Apr-14 6:32 
GeneralRe: C# Linq To SQL Dynamic Where Clause Pin
Kevin Marois22-Apr-14 6:37
professionalKevin Marois22-Apr-14 6:37 
GeneralRe: C# Linq To SQL Dynamic Where Clause Pin
Richard Deeming22-Apr-14 6:42
mveRichard Deeming22-Apr-14 6:42 
GeneralRe: C# Linq To SQL Dynamic Where Clause Pin
Kevin Marois22-Apr-14 6:44
professionalKevin Marois22-Apr-14 6:44 
Questionknapsack Pin
Member 1076234920-Apr-14 9:52
Member 1076234920-Apr-14 9:52 
AnswerRe: knapsack Pin
Pete O'Hanlon20-Apr-14 11:46
mvePete O'Hanlon20-Apr-14 11:46 
AnswerRe: knapsack Pin
OriginalGriff20-Apr-14 20:49
mveOriginalGriff20-Apr-14 20:49 
GeneralRe: knapsack Pin
Pete O'Hanlon20-Apr-14 21:57
mvePete O'Hanlon20-Apr-14 21:57 
GeneralRe: knapsack Pin
OriginalGriff20-Apr-14 22:04
mveOriginalGriff20-Apr-14 22:04 
QuestionRe: knapsack Pin
ZurdoDev21-Apr-14 9:37
professionalZurdoDev21-Apr-14 9:37 
Questionknap sack Pin
Member 1076234920-Apr-14 9:43
Member 1076234920-Apr-14 9:43 
AnswerRe: knap sack Pin
Pete O'Hanlon20-Apr-14 9:50
mvePete O'Hanlon20-Apr-14 9:50 

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

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