CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.custom_modules Tags:
Item Type: NewsGroup Date Entered: 5/27/2005 9:56:11 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 3 Views: 19 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
4 Items, 1 Pages 1 |< << Go >> >|
portvista
Asp.Net User
Dumb viewstate question5/27/2005 9:56:11 PM

0/0

Does viewstate stay within the scope of the user control (module)? I'm concerned that having multiple datagrids on the same page may not play nice in DNN.

So, to simplify the question, viewstate.Item("SortDirection") can be in 10 different modules on the same page and they won't overwrite or conflict with each other, correct?


-PortVista-

www.PortVista.com
Ed_DeGagne
Asp.Net User
Re: Dumb viewstate question5/28/2005 12:52:02 PM

0/0

If they are on the same page, they will overwrite each other, viewstate is at the page level.

As far as not playing nicely with DNN, datagrids are resource heavy in any .NET application.

portvista
Asp.Net User
Re: Dumb viewstate question5/28/2005 3:57:16 PM

0/0

I just did a test and found that while the viewstate is one big variable in the page form, they are properly scoped. I was able to have many of the same module and page through different datagrids without affecting the other. Now, I'm not sure what happens when you use one of the DNN core functions like edit/update/delete, probably wipes out the viewstate...

Ya datagrids are heavy.
-PortVista-

www.PortVista.com
dantindall
Asp.Net User
Re: Dumb viewstate question5/28/2005 11:03:21 PM

0/0

I ran into this same issue earlier. My fix was to put a label on the page with the Visible property set to false. I then set the sort order as the text value of the label.  You can then check for the text on subsequent posts backs and sort accordingly.

I agree that the datagrid is way too big...most of my modules use the repeater control.
Dan Tindall
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Object-Oriented Game Development Authors: Julian Gold, Pages: 440, Published: 2004

Web:
Trying to store items in the viewstate... wont work Dumb question: Is ViewState of the control enabled? Did you try to use Page. ViewState instead of using the ViewState property ...
Scott Hanselman's Computer Zen - ASP.NET Interview Questions Postback and Viewstate questions are good since its fundamental ASP.NET concepts , the rest is so-so next to just bad .... That's two things and I'm dumb. ;) ...
MVC pattern and existing controls using ViewState : C# As I can see, when building my web app using MVC it does not use the Viewstate at all. Instead the View is basically built as "dumb" aspx files containing ...
Accessaing Viewstate in javascript - Javascript / DHTML / Ajax Forum Accessaing Viewstate in javascript. Question posted by: affi (Newbie) on ... so, my questions may sound dumb...........but i will really ...
MSDN Visual Studio Team System - Web and Load Testing Working with ... i.e. correct VIEWSTATE between different requests. I assume I need to do the same for EVENTVALIDATION as well. I have one question though. ...
TRULY Understanding ViewState - Infinities Loop The StateBag isn't just a dumb collection of keys and values like a ...... It really helped clarify any viewstate questions I had and your examples were ...
Riehl World View: State Owes Joe The Plumber Money Oct 19, 2008 ... The untrained/unlicensed asshat asks silly questions and is mocked ..... LA Times: In The Tank For Obama · Is David Frum Really This Dumb? ...
State and why sync is dumb ... -and-why-sync-is-dumb?type=powerpoint" title="View State and why sync is dumb .... Slide 3: State of a presentation • Idea • Questions • Open discussion ...
Re: ASP.NET __VIEWSTATE problem: msg#00150 From the Reversing a Dumb Idea dept.: As reported yesterday from ... HttpException: The viewstate is invalid > for this page and might be corrupted. ...
Infinities Loop: ViewState: Misunderstood monster or fluffy ... Well yeah, that's why Session state and ViewState were invented. .... LOL me dumb. Please strike the entirety of my posts from the record. :) ...




Search This Site:










how do i make iframe resize??

editurl to new control besides "edit"

cannot run new modules

myblog access data provider beta 1.0 for dnn 2.1.2

role/security control access

alerts

deploy to root

core procedures and functions

modulecommunicator problem .

patch for advanced announcements - what does it contain?

dnnbb forum module or other c# module

updating a public variable inside a datagrid1_itemcommand sub

cascade style sheet(css) of issue tracker starter kit interfering with dnn skin

navigate from edit control back to the view control when the view control needs parameter in the url ( ver 2.1.2)

different skins for controls of a module?

map quest or similar for dnn 3.xx?

categorized links module

birthday list module

recommendations for e-commerce module?

private assemblies dundas charts

help turning skin object to module

module definitions -- best pratices

statistics module for cms wanted

announcements module with picture?

nested recursive ascx control implementing itemplate applied to an inner datalist

user registration, payment and groups

apollo languageselector skin object now available

dev environment really slow to load dnn

anyone using portalstore 6.5 and dnn 3.x?

flex fields

  Privacy | Contact Us
All Times Are GMT