You need to Register for free and Login to post a message in the forum.

Forum

Pass values from one control page to another ?
Last Post 2010-10-08 07:20 AM by Abhishek Trivedi. 2 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
parag paragUser is Offline
Nuke Newbie
Nuke Newbie
Posts:9

--
2005-12-22 01:02 PM  

Hi

I want to pass values from one control  page to another control page without using queystring,or cookies  method.

Take for eg a user name "hash" which i can show it in another page as login name .

I have tried out Context and session methods ...but invain .May be i have got something wrong in my code.

 

Please if anybody can help me sort out the problem. 

 

Lee SykesUser is Offline
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945
Avatar

--
2005-12-22 01:27 PM  
Hello,

If you are wanting to grab items such as Username, you can do that easily within the code. But I think you're wanting to pass parameters that someone is entering in a form through to another page?

I had this same problem when i was capturing several pages of data, if I put it in Viewstate the viewstate would be massive, it was way too much data to put into a URL string, cookies - a possibility  etc.. The workaround I did was to store the data directly in the database from each page, but - I did not have to call up previous data on the later pages, so again this may not suit. - The problem with this is it means you are accessing the database several times to add / recall content, which is not good practice.

Have you found any modules that do the task that you require? - I find it useful to refer to the source code of a module that can do the task and then adapt it to suit my needs.

Otherwise, I would try the asp.net forums for advice on best practice.

You may also find further information here:

 http://www.4guysfromrolla.com/

This is an excellent resource for asp.net programming.

I would be interested to hear the solution you implement, so let us know.
Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

Twitter: www.twitter.com/DNNCreative

Lee Sykes's Facebook Profile
Abhishek TrivediUser is Offline
Nuke Active Member
Nuke Active Member
Posts:30

--
2010-10-08 07:20 AM  
Are you looking to pass value from one module to another module? can you please provide more information on this, i have implemented module communication. Pleaes let me know your problem in bit more detail. Thanks,
You are not authorized to post a reply.

Active Forums 4.3

Latest Forum Posts

RE: How to build Skins for DNN 6.x by Joseph Craig
I'd recommend that you try replacing the hard-coded text with the DotNetNuke Text skin object. That
RE: Module permission does not work! by Joseph Craig
What permissions have you give to that role?
RE: DNN nav issue by Joseph Craig
Are you using a custom skin? How often does this happen?
RE: Friendly URLs Broken by Joseph Craig
I don't entirely understand this, but I'm glad you got things working.
RE: How to build Skins for DNN 6.x by Christopher Adamakis
Dear all, I have one more question regarding greek fonts. If you check my site http://www.expertsoft
RE: Dnn local setup problem by imran shaikh
this is error is resolve now now getting this one Server Error in '/cooperpharma.ma' Applicat
RE: Module permission does not work! by Abraham Tameru
I created a special role for the user to administer the site. The user is not a member of the Admini
Dnn local setup problem by imran shaikh
Hi All i have just installed the new site files on my local computer set the connection strin
RE: Firefox has detected that the server is redirecting the request for this address in a way that will never complete. by imran shaikh
Hi i have the same issue Firefox has detected that the server is redirecting the request for thi
DNN nav issue by imran shaikh
Hi All This is imran i am using DNN 6.0 in which issue is that while i am refreshing the site nav
RE: Problem After Attaching/Detaching Database.mdf by Prakasam Srinivasan
thanks joe! But I have connect with database.mdf file in App_Data. I detach the database from
RE: Ventrian News Article by Collin Stefani
Posted By Joseph Craig on 2012-01-18 10:51 AM I'm not sure that you can with the built-in UI.
RE: Friendly URLs Broken by Vistalogix Corporation
Well, we figured out that the problem is related to .Net framework 3.5. Friendly URLs works fine und
RE: Problem After Attaching/Detaching Database.mdf by Joseph Craig
That behavior of running the installation wizard indicates a problem connecting to the database.
RE: Friendly URLs Broken by Vistalogix Corporation
Nope, just a straight-up DNN install and configured in Host -> Friendly URLs as described in my orig
Problem After Attaching/Detaching Database.mdf by Prakasam Srinivasan
I successfully installed DNN 6 on my local machine using IIS 7.5. Its working good. When I attach to
RE: Module Security permissions by Bhushan Gholap
Thanks for the reply!!! I would definitely contact sales engineer team of DNN.
RE: There's a tutorial for this somewhere by Eric W
The error I got was the Connection Error(s): Index #: 0 Source: .Net SqlClient Data Provider
RE: DNN 6 Modules Not Showing by Joseph Craig
Where can I see this? If you'd like to send me some login credentials so that I can look, use the c
RE: DNN 6 Modules Not Showing by Mike DeBaise
No, modules are set to all viewers/users. Just cant figure this out, it really doesnt make any sense
You are not logged in.
You must log in to access all 
650+ videos, tutorials, podcasts, and more.
RSS Feeds