Panel in StiReport Designer
Posted: Sun Jan 09, 2011 6:29 am
Hello
I have a problem with Panel in StiReport Designer.
When in “stiReport Designer” I place a “Text” which is named as “Text1”, with the below code I can see the entered text in “Textbox1” which exist in my program(C#),
{
((StiText)stiReport1.Pages["Page1"].Components["Text1"]).Text.Value = TextBox1.Text;
stiReport1.Show();
}
but when in “stiReport Designer” I put a “Panel” first and then transport “Text1” on it I encounter to the below error
“Object reference not set to an instance of an object.”
Pls. help me in this respect and also tell me If I put a “Table” on the “Panel” how I can display the entered text in “Textbox1” in one of the Table’s Cells.
Thanks
I have a problem with Panel in StiReport Designer.
When in “stiReport Designer” I place a “Text” which is named as “Text1”, with the below code I can see the entered text in “Textbox1” which exist in my program(C#),
{
((StiText)stiReport1.Pages["Page1"].Components["Text1"]).Text.Value = TextBox1.Text;
stiReport1.Show();
}
but when in “stiReport Designer” I put a “Panel” first and then transport “Text1” on it I encounter to the below error
“Object reference not set to an instance of an object.”
Pls. help me in this respect and also tell me If I put a “Table” on the “Panel” how I can display the entered text in “Textbox1” in one of the Table’s Cells.
Thanks