I am working on a .NET 3.5 web application that provides table lines containing ASCIX files through an interface implementation (
Then, this markup is given in .ascx:
asp: table id = "MyTable" runat = "server" & Lt; asp: TableRow id = "foo" run = "server"> lt; ap: tableclass id = "fusel" runat = "server" columnspace = "3" & gt; // cell contents Excluded & lt; / asp: TableCell & gt; & lt; ASP: Tablekell .... Lid & lt; / asp: TableRow & gt; & lt; / ASP: Table & gt; Interface:
Public Interface IMyInterface {Table GetPageDataTable ();} Implementation in the code of SCX:
#region IMyInterface Member Public Table GetPageDataTable () {Return MyTable;} #endregion When I use a method like the table below, as I loop through table rows, the details included in it are correct, the visible end of the line End = wrong.
Private Zero SetVisibilero (IMI Interface Control) {/ SST is the list of 'FU' in the list stored in the session & lt; String & gt; Option = (list & lt; string & gt;) session ["selection list"]; Table tbl = control.GetPageDataTable (); Foreign (Table RR TBL.ro) {//r.ID == 'Foo' R. Visible = Option. Canton (RIID, string compiler, Ordinal Ignore case); }} I have tried to do this directly under the code of control, and even setting the Foo. Visible = true; It still appears in the debug window = false.
Any help with this will be appreciated as it is batting me. I have another control which implements the interface and is working fine for it.
Thank you!
I thought this, and I thought I was part of the answer.
SetVisibleRows need to be on the OnLoadComplete event of the call page. The control load is trying to set the line visibility before loading.
Thanksgiving response, for your feedback.
Comments
Post a Comment