Hi,
I've got my template working fairly well... But now I want to put a little feedback in the output window. How do I do it?
private void SaveFile(string suffix)
{
// Save the output file for this Table/View
string filename = input[\"txtPath\"].ToString();
if (!filename.EndsWith(\"\\\\\") )
filename += \"\\\\\";
filename += \"es\" + SourceName + suffix;
output.save(filename, false);
outputBuffer += output.text;
output.clear();
}context.Log.Write(\"Groovy Log\");dnparsons wrote:I don't know if this relates to what TampaDeveloper is asking, but now my curiousity is piqued. If you run a template from the template browser, a dialog box pops up announcing its completion. Is there any way for a developer to pop up his own dialog box after the run icon is clicked? Perhaps containing a progress bar for long running templates.
TampaDeveloper wrote:But now I want to put a little feedback in the output window.
mike.griffin wrote:context.Log.Write("Groovy Log");
mike.griffin wrote:However, it doesn't seem to print out anything
mgnoonan wrote:see the ASP.NET inlide grid templates for dOOdads and EasyObjects for an example
context.Log.Write(\"Thankyou Justin\")Return to General Template Questions/Comments
Users browsing this forum: No registered users and 2 guests