473,320 Members | 2,094 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

WebUserControls and SessionState

I am making a WebUserControl that creates a dataset dynamically. There are
multiple steps for each table of the dataset where each step is a different
view of a MultiView control. Do I need to use Session to keep track of the
dataset inside the control?

Jun 27 '08 #1
2 834
On Jun 6, 5:49 pm, "Andy B" <a_bo...@sbcglobal.netwrote:
I am making a WebUserControl that creates a dataset dynamically. There are
multiple steps for each table of the dataset where each step is a different
view of a MultiView control. Do I need to use Session to keep track of the
dataset inside the control?
Hi

"multiple steps for each table of the dataset where each step is a
different
view of a MultiView control"

so you change of current viewindex in post back of something ... if
this is the case
keep the dataset in session ...

or if you don't need any postback keeping huge things on session is
not recommended...

be carefull about the viewstate... don't put any data things on
viewstate , it will turn your page slow...

Best of luck

Munna
www.munna.shatkotha.com
www.munna.shatkotha.com/blog
www.shatkotha.com
Jun 27 '08 #2
What do you mean by dont put any data thing on session? So I shouldnt be
putting a dataset in session?
"Munna" <mu******@gmail.comwrote in message
news:53**********************************@w5g2000p rd.googlegroups.com...
On Jun 6, 5:49 pm, "Andy B" <a_bo...@sbcglobal.netwrote:
>I am making a WebUserControl that creates a dataset dynamically. There
are
multiple steps for each table of the dataset where each step is a
different
view of a MultiView control. Do I need to use Session to keep track of
the
dataset inside the control?

Hi

"multiple steps for each table of the dataset where each step is a
different
view of a MultiView control"

so you change of current viewindex in post back of something ... if
this is the case
keep the dataset in session ...

or if you don't need any postback keeping huge things on session is
not recommended...

be carefull about the viewstate... don't put any data things on
viewstate , it will turn your page slow...

Best of luck

Munna
www.munna.shatkotha.com
www.munna.shatkotha.com/blog
www.shatkotha.com

Jun 27 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Flemming Jensen | last post by:
The idea behind this code is to standardize all my webpages in an application to look the same by inheriting the pages from a userdefined class. But it gives me problems regarding sessionstate... ...
2
by: Arjen | last post by:
Hello, I'm working on multiple webusercontrols which i'm using after each other. Now I have placed one webusercontrol on a webpage. How can I hide this one (after some action) and load an...
2
by: tony | last post by:
hi. is there a way to write several webusercontrols in 1 file ? i want to write 3 diffrent webusercontrol for each table. but i want to see the code in 1 file. is it possible ?
2
by: ivanL | last post by:
In web.config, I can set SessionState mode to "Off" while using Forms authentication, they have 2 diff mechanisms, is this correct?
2
by: Philipp Schumann | last post by:
....BUT for _custom_ HttpHandlers. How can I do that? In my custom IHttpHandler, HttpContext.Current.Session is a null reference, and I can't use the session state. It is enabled in web.config...
7
by: Krishnan | last post by:
Hi, Could anyone please let me know how to read SessionState setting from the Web.Config file into an ASPNET application? TIA Krishnan
2
by: jesusR | last post by:
In VS2003 (framework 1.1 or less) i was shareing my webusercontrols with this procedure: I created a web project (webusercontrol_project) with the web user control, i compiled and everything ok....
1
by: GenCode | last post by:
I am trying to create a page with many of the same webusercontrols that I can have all my dynamically created and I want each of those webusercontrols to respong to one event on the page. How...
2
by: Formentz | last post by:
Hi Guys, I am very new to ASP.NET. Is it possible to create a DLL with WebForms and WebUserControls in it, and then to use that forms and controls in a web application? I come from Windows...
1
by: ysudhakarrao | last post by:
Hi i am having two pages main.aspx and popupwindow.aspx .In main.aspx i am having tabpanel and button.popupwindow.aspx iam having listbox ie collection of webusercontrols.after click of that...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.