no properties in user control

Posted by Community Admin on 03-Aug-2018 16:41

no properties in user control

All Replies

Posted by Community Admin on 26-Jan-2011 00:00

hi

when adding a new user control ascx to the toolbox using the admin menu ( not the config file). my public properites arenot showing when editing the control.
is there a special procedure i"m missing ?
tried

public

 

 

virtual int NewsLimit get return this.newsLimit; set this.newsLimit = value; private int newsLimit = 8;

and also

 

 

 

private string _ParentFolderPath;
public string ParentFolderPath
get

 

 

 

 

 

 

 

return _ParentFolderPath;

 

 

 

set

 

 

 

 

 

_ParentFolderPath =

 

value;

 

Posted by Community Admin on 28-Jan-2011 00:00

Hi gilad,

Thank you for using our services.

Can you please try marking those properties with the [Browsable(true)] attribute?
Greetings,
Radoslav Georgiev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 02-Feb-2011 00:00

hi
after setting the attribute the property was shown in the edit mode.
i understand it's a problem from my installation? 

Posted by Community Admin on 05-Feb-2011 00:00

Hi gilad,

This is not a problem with your installation. This is how you should mark properties which should be visible in the control editor.

Greetings,
Radoslav Georgiev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed