Hi Berkay,
My requirement is, I need to set my own image to the toolcommand which i created progammatically from the following event handler irrespective of the theme.
Ex:
protected void surface_WidgetPropertiesSetting( object sender, WidgetEventArgs e )
{
ToolCommand setPlaceHolderCommand = new ToolCommand( "SetPlaceHolder" );
setPlaceHolderCommand.CommandName = "SetPlaceHolder";
setPlaceHolderCommand.DisplayOrder = 4;
setPlaceHolderCommand.CommandIcon = ToolCommandIcon.Search;
// Instead of hardcoded icons can i set my own icon here setPlaceHolderCommand.MaskMessage = "Loading...";
setPlaceHolderCommand.Hint = "Filter Data";
if ( e.Instance.Editable == true )
{
e.Instance.ToolCommands.Add( setPlaceHolderCommand );
}
}
Regards,
Manoj
Regards,
Manoj.
Reg. Name: [Interactive Softworks, Inc.]