Forum: ASP.NET Jul 19th, 2005 |
| Replies: 9 Views: 5,053 Yep PostBack variable is off limits, use your own variable and check it something like so...
If Page.IsPostBack AND MyVar = True Then
MyVar = False
Else
MyVar = True
End If |
Forum: ASP.NET Jul 19th, 2005 |
| Replies: 9 Views: 5,053 I'm not sure if this is a problem you've been having when you say "... It worked initially but something else further down the line didn't work ..."
Be aware that if you set a variable before... |
Forum: ASP.NET Jul 19th, 2005 |
| Replies: 2 Views: 4,339 You almost have it, use "Key", or "Value" for datasource assignment and a DataReader to populate values from database query...
Dim linkrd = New HashTable()
While reader.Read()
... |
Forum: ASP.NET Jul 19th, 2005 |
| Replies: 9 Views: 5,053 It sounds to me like you could try checking if it's a postback then execute proper code, because Page_Load will execute every time, no matter post back or a regular visit.
If Not Page.IsPostBack... |
Forum: ASP.NET Jun 28th, 2005 |
| Replies: 10 Views: 7,723 When I say that I suggest not using CSS in .NET, it means that use only when you have to, like dynamically resizing panels, etc. Does the above code not produce proper results in Firefox? Not to put... |
Forum: ASP.NET Jun 28th, 2005 |
| Replies: 10 Views: 7,723 I suggest NOT using .NET to style your form elements, but rather and external style sheet.
... using ids or classes to style your form elements. Firefox (I asume this is the Mozzila version your... |