|
-
Sep 20th, 2011, 02:41 AM
#16
Thread Starter
Fanatic Member
Re: ViewState enabled=false no affect?
 Originally Posted by brin351
I've learnt something new too
The other thing I was thinking was instead of refrencing/using datakeys in grid.databound event refrence the dataSource with
If DataBinder.Eval(e.Row.DataItem, "ID").ToString() = "xxx" then ......
I'll give that a try - thanks again.
I'm going to try using html controls too - I habitually use <asp:Label , textbox, dropdownlist etc and populate them from the DataKeyNames collection - if I use html controls I can control the nomenclature and give them very short names. Although the page is now very fast - I do have fast broadband and the page is still pretty huge to be honest. Looking at .net's naming of controls probably explains about half the size of the html.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|