first question :
you can set these properties by using properties of dashboard surface.
i.e. CreateWidgetsButtonText , ViewDashboardButtonText etc.
second question :
you can add custom tool command to your widget instance.
For Example,
1. please add the code block shown in below to your widgetcontrol that implements IWidgetControl.
Code:
public void InitControl(WidgetInitParameters parameters)
{
surface = parameters.Surface;
instance = parameters.Instance;
ToolCommand cmd = new ToolCommand(instance.Type.InstanceKey);
cmd.JsFunctionName = "trytest";
cmd.CommandIcon = ToolCommandIcon.Up;
cmd.Hint = "test";
instance.ToolCommands.Add(cmd);
}
2. please add a fake "trytest" js function to your page that contains dashboard surface.
finally, you can show hint on your toolcommand and it never postbacks.
Regards.
Berkay ERKOY
Development & Support Team
www.dynamicdashboards.net