I have a report with header and multiple sub sections in details section.
For each subsection we have placed table and assigned corresponding datasource.
In header i have a textbox which contains patient related data.
Eg:textbox1 -->Expression--> [=Fields.NameField]
Now i need to display a caluculate field in table1 column based on the value of the textbox in header section.
eg:
Table1
----------------
textbox2-->Expression-> =FormatName() (UserDefined function)
In code behind file .cs
public static string FormatName()
{
return textbox1.Value+ "Busineess Logic";
}
But i am not able to access textbox1 here in this method as the method is declared as static.
How to achieve this in telerik ???
For each subsection we have placed table and assigned corresponding datasource.
In header i have a textbox which contains patient related data.
Eg:textbox1 -->Expression--> [=Fields.NameField]
Now i need to display a caluculate field in table1 column based on the value of the textbox in header section.
eg:
Table1
----------------
textbox2-->Expression-> =FormatName() (UserDefined function)
In code behind file .cs
public static string FormatName()
{
return textbox1.Value+ "Busineess Logic";
}
But i am not able to access textbox1 here in this method as the method is declared as static.
How to achieve this in telerik ???