Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Storing information in page

Storing information in page

Scheduled Pinned Locked Moved ASP.NET
questionjavascripthostingxmljson
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vjvjvjvj
    wrote on last edited by
    #1

    Hi, I need some guidance on how to store the information in a page for the specific requirement. There are following steps involved in the process. 1) Web application A has deafult page hosting two frames a)frame for drop downs (dd.aspx) b) frame for forms (form.aspx) 2) default.aspx calls a webservice on page load. 2) webservice returns some information e.g. company name, departments, employees in each department, each employees details to Web application A. Question 1: which format the webservice should return the information . Dataset or XML or JSON 3) Web application's default.aspx forms related drop down lists in dd.aspx (Frame 1) 4) When user selects company name, related dept, a specific employee from the drop down list and clicks ok 5) Second frame (form.aspx) gets the information and generates a form dynamically using this information. Here it uses some javascripts which are based on the information recieved from selected Dropdowns and used to create the data etnry form. Question 2: Should web service be sending the ready made javascripts? in this case it will be huge information for each object sent . or Should the webapplication has code to generate the javascript based on the selected drop down lists? Question 3: How should the default.aspx or dd.aspx should store the information? Should it be session variable or viewstate? should the data be in dataset format? If the javascripts are to be stored then will it cause performance problem in storing the huge information at page level. regards Vijay

    S 1 Reply Last reply
    0
    • V vjvjvjvj

      Hi, I need some guidance on how to store the information in a page for the specific requirement. There are following steps involved in the process. 1) Web application A has deafult page hosting two frames a)frame for drop downs (dd.aspx) b) frame for forms (form.aspx) 2) default.aspx calls a webservice on page load. 2) webservice returns some information e.g. company name, departments, employees in each department, each employees details to Web application A. Question 1: which format the webservice should return the information . Dataset or XML or JSON 3) Web application's default.aspx forms related drop down lists in dd.aspx (Frame 1) 4) When user selects company name, related dept, a specific employee from the drop down list and clicks ok 5) Second frame (form.aspx) gets the information and generates a form dynamically using this information. Here it uses some javascripts which are based on the information recieved from selected Dropdowns and used to create the data etnry form. Question 2: Should web service be sending the ready made javascripts? in this case it will be huge information for each object sent . or Should the webapplication has code to generate the javascript based on the selected drop down lists? Question 3: How should the default.aspx or dd.aspx should store the information? Should it be session variable or viewstate? should the data be in dataset format? If the javascripts are to be stored then will it cause performance problem in storing the huge information at page level. regards Vijay

      S Offline
      S Offline
      Sandeep Mewara
      wrote on last edited by
      #2

      Why posting the same thing in two forums? It's not considered good. Please follow it at one place: http://www.codeproject.com/Questions/85580/Storing-information-in-web-application.aspx[^] Next time onwards, post to the forum you feel best suited for your question.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups