Go Back   Velocity Reviews > General Computer Discussion > Software
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
Old 12-04-2008, 10:26 AM   #1
Default Bizzare ViewState issue (ASP.NET)


Hello there,

I've created UserControl which is used as a menu. It is populated dynamically and has two levels.

The weird thing is though that second level controls' click event is fired but it the code executed in it seems to have no effect at all:



public void SubCourseRoundMenuClick(object a, CommandEventArgs e)
{
pnlCourseEvents.Visible = false;
pnlCourseSubEvents.Style["display"] = "block";
}

Both properties changes to their old values when observed in any event fired after SubCourseRoundMenuClick.

All menu items and subitems are populated at the same order on every postback. EnableViewState=false on UserControl (though i've tried other way round as well).

For suspect ViewState is playing tricks on me.

This issue is really driving me bonkers so any advice or guidance would be much appreciated.

Best Regards,

Dave


dmartu
dmartu is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
viewstate MAC failed in asp.net 2.0 while postback the page azraffarveen Software 0 05-12-2009 03:24 PM
FileInfo issue - C# ASP.NET tinhtam Software 1 11-19-2007 02:29 PM
Digital DIGEST - LIVE UPDATE Issue 41 Ablang DVD Video 0 01-05-2004 11:54 PM
Digital DIGEST - LIVE UPDATE Issue 39 Ablang DVD Video 0 11-29-2003 02:17 AM
Digital DIGEST - LIVE UPDATE Issue 38 Ablang DVD Video 0 11-09-2003 01:31 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46