Click here to Skip to main content
16,004,944 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioncheckbox CheckedChanged event not firing after conversion to .net 3.5 Pin
icewolf_snowfire28-Jan-08 5:31
icewolf_snowfire28-Jan-08 5:31 
GeneralASP.NET Web application Pin
zeeShan anSari28-Jan-08 3:22
zeeShan anSari28-Jan-08 3:22 
AnswerRe: ASP.NET Web application Pin
newc128-Jan-08 5:24
newc128-Jan-08 5:24 
GeneralRe: ASP.NET Web application Pin
zeeShan anSari28-Jan-08 6:49
zeeShan anSari28-Jan-08 6:49 
GeneralImage Preview Pin
NjMikw28-Jan-08 2:37
NjMikw28-Jan-08 2:37 
GeneralRe: Image Preview Pin
newc128-Jan-08 5:33
newc128-Jan-08 5:33 
Questionhow to display a file browser dialog in an ASP.NET user control in design time [modified] Pin
kudorgyozo28-Jan-08 2:17
kudorgyozo28-Jan-08 2:17 
AnswerRe: how to display a file browser dialog in an ASP.NET user control in design time Pin
newc128-Jan-08 23:44
newc128-Jan-08 23:44 
Hi,

You should be able to accomplish this by marking your property with the required Editor attributes. By default all properties appear as straight text editable fields within the designer. By associating your property with an Editor that inherits from UITypeEditor, you should be able to achieve this. For example:

Reference the following namespaces within your class:
using System.ComponentModel;<br />
using System.Windows.Forms.Design;<br />
using System.Design;<br />
using System.Drawing.Design;


Mark your public property with the following:
Editor(typeof(FileNameEditor), typeof(UITypeEditor))

There are a number of pre-built editors that you could utilise so it may be worth having a play and seeing which works best.

Clean code is the key to happiness.

GeneralRe: how to display a file browser dialog in an ASP.NET user control in design time [modified] Pin
kudorgyozo29-Jan-08 2:01
kudorgyozo29-Jan-08 2:01 
Questionanyway for asp.net to send report directly to printer at client side? Pin
ALAQUNAIBI28-Jan-08 1:57
ALAQUNAIBI28-Jan-08 1:57 
AnswerRe: anyway for asp.net to send report directly to printer at client side? Pin
N a v a n e e t h28-Jan-08 2:59
N a v a n e e t h28-Jan-08 2:59 
GeneralRe: anyway for asp.net to send report directly to printer at client side? Pin
thomas_joyee28-Jan-08 16:42
thomas_joyee28-Jan-08 16:42 
GeneralRe: anyway for asp.net to send report directly to printer at client side? Pin
N a v a n e e t h28-Jan-08 19:19
N a v a n e e t h28-Jan-08 19:19 
GeneralRe: anyway for asp.net to send report directly to printer at client side? Pin
thomas_joyee28-Jan-08 19:40
thomas_joyee28-Jan-08 19:40 
Generalsession problem Pin
RajeevKumarSharma28-Jan-08 1:09
RajeevKumarSharma28-Jan-08 1:09 
QuestionRe: session problem Pin
Vasudevan Deepak Kumar28-Jan-08 1:18
Vasudevan Deepak Kumar28-Jan-08 1:18 
GeneralRe: session problem Pin
RajeevKumarSharma28-Jan-08 1:25
RajeevKumarSharma28-Jan-08 1:25 
GeneralRe: session problem Pin
Vasudevan Deepak Kumar28-Jan-08 2:19
Vasudevan Deepak Kumar28-Jan-08 2:19 
GeneralIt is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. Pin
eyeseetee28-Jan-08 0:14
eyeseetee28-Jan-08 0:14 
AnswerRe: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. Pin
Vasudevan Deepak Kumar28-Jan-08 0:24
Vasudevan Deepak Kumar28-Jan-08 0:24 
GeneralRe: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. Pin
eyeseetee28-Jan-08 0:29
eyeseetee28-Jan-08 0:29 
GeneralGet IP address Pin
marky77727-Jan-08 23:56
marky77727-Jan-08 23:56 
GeneralRe: Get IP address Pin
N a v a n e e t h28-Jan-08 0:11
N a v a n e e t h28-Jan-08 0:11 
GeneralRe: Get IP address Pin
bhanu1234528-Jan-08 21:13
bhanu1234528-Jan-08 21:13 
GeneralPeachTree / ASP.NET Pin
payback27-Jan-08 23:48
payback27-Jan-08 23:48 

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.