Ok, so I have a specific question this time.
You can see my code from my .aspx file below. That code LOOKS like it runs fine. That is, it creates a ButtonLink with the appropriate text from Container.Data.
However, if I attempt to access the Text property of my LinkButton, the value is always null. I get a sueable value if I leave out the <%# code %> block and use plain text, but if I have that block in my code, I always get a null value, even if I put a plain string in it, like this: <%# "bob" %>.
That will draw a ButtonLink with "bob" as its text, but I will not be able to read that text from my program when the next page loads. I hope that makes sense.
Basically, what I'm trying to do is dynamically create the text for a ButtonLink, and then when someone clicks on that ButtonLink, I want to be able to get that text from it, but I'm getting null values instead.
You can see my code from my .aspx file below. That code LOOKS like it runs fine. That is, it creates a ButtonLink with the appropriate text from Container.Data.
However, if I attempt to access the Text property of my LinkButton, the value is always null. I get a sueable value if I leave out the <%# code %> block and use plain text, but if I have that block in my code, I always get a null value, even if I put a plain string in it, like this: <%# "bob" %>.
That will draw a ButtonLink with "bob" as its text, but I will not be able to read that text from my program when the next page loads. I hope that makes sense.
Basically, what I'm trying to do is dynamically create the text for a ButtonLink, and then when someone clicks on that ButtonLink, I want to be able to get that text from it, but I'm getting null values instead.
