protected void btnSendCirculation_Click(object sender, EventArgs e)
{
string sThePDFfileName = lblPDFname.Text.ToString();
sendEmails(sThePDFfileName);
}
protected void sendEmails(string sThePDFfileName)
{
//and call it in here
}
//I then call the sendEmails() function in another button action
//but because it's in two actions (buttons) the label is clearing.
I have a form that passes information to a modalpopup (preview for user) and generates a pdf of it and then creates a unique filename of the pdf, I'm trying to catch the filename but cannot.
Really all I'm after is to try and get the filename of the newly created pdf, It posts the unique filename to a label, but I cannot get that either.
has anyone had any problems trying to catch some variables once posted to a modalpopup?
I thought I could pass the value from one function to another:
Go to the complete details ...