Web Project design problem.
-
I have a big project in vs.net. I want to cut it into two project.. But how I call the page between the two project..? And use the same Session value between them?
Make 2 separate projects like projectONE & projectTWO do the designing and coding in both projects. now include the dll of projectTWO in \bin folder of projectONE. Also add the all the aspx pages of projectTWO in first project. u can access the Session variables & querystrings across the two forms just like a single project. suppose u declare a session variable in WebForm1.aspx of projectONE. like Session("UserName") = "Jack" u can access this session variable in WebForm2.aspx of projectTWO (which you have added in first project) as : dim name as string = Session("UserName") note : if you want to make any design changes in html of WebForm2.aspx of second project.............then you will have to open projectTWO.....make neccessary changes and again add the dll's and web forms in projectONE. hope it was of help. for further help, you can mail at thakur.kapil@gmail.com
-
Make 2 separate projects like projectONE & projectTWO do the designing and coding in both projects. now include the dll of projectTWO in \bin folder of projectONE. Also add the all the aspx pages of projectTWO in first project. u can access the Session variables & querystrings across the two forms just like a single project. suppose u declare a session variable in WebForm1.aspx of projectONE. like Session("UserName") = "Jack" u can access this session variable in WebForm2.aspx of projectTWO (which you have added in first project) as : dim name as string = Session("UserName") note : if you want to make any design changes in html of WebForm2.aspx of second project.............then you will have to open projectTWO.....make neccessary changes and again add the dll's and web forms in projectONE. hope it was of help. for further help, you can mail at thakur.kapil@gmail.com
-
I have a big project in vs.net. I want to cut it into two project.. But how I call the page between the two project..? And use the same Session value between them?
hello u forget to set the autopostback property of the checkbox control... chkAutoPostBack = true; VMSSanthosh
VMSSanthosh