I have added the Tooltip control using the Load on demand as an emaple.
On my usercontrol on UpdatePanel, i have tried to connect ot the db, but without success.
I pass in the a paramter into the usercontrol which i then pass into a string method, which then gets assigned to the literal control on the usercontrol.
my code looks similar to
private string _claimNr;
public string ClaimNr
{
get { return _claimNr; }
set { _claimNr = Convert.ToString(value); }
}
protected void Page_Load(object sender, EventArgs e)
{
litResults.Text = BuildPopUp(ClaimNr);
}
protected string BuildPopUp(string claimNr) {
StringBuilder objSB = new StringBuilder();
// DB stuff to go here
return objSB.Tostring();
}
When itry to connect to the db in the dynamic popup on the browser screen i get a blank popup.
I know my connection isnt an issue, and neither is my sql.
As a test i did
objsb.append("The claim nr is: " + claimNr) and tried to return this and it worked.
Please help am i missing something important.
Many thanks in advance
Zal
On my usercontrol on UpdatePanel, i have tried to connect ot the db, but without success.
I pass in the a paramter into the usercontrol which i then pass into a string method, which then gets assigned to the literal control on the usercontrol.
my code looks similar to
private string _claimNr;
public string ClaimNr
{
get { return _claimNr; }
set { _claimNr = Convert.ToString(value); }
}
protected void Page_Load(object sender, EventArgs e)
{
litResults.Text = BuildPopUp(ClaimNr);
}
protected string BuildPopUp(string claimNr) {
StringBuilder objSB = new StringBuilder();
// DB stuff to go here
return objSB.Tostring();
}
When itry to connect to the db in the dynamic popup on the browser screen i get a blank popup.
I know my connection isnt an issue, and neither is my sql.
As a test i did
objsb.append("The claim nr is: " + claimNr) and tried to return this and it worked.
Please help am i missing something important.
Many thanks in advance
Zal