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
  1. Home
  2. Web Development
  3. ASP.NET
  4. A ViewState problem.. Help please!

A ViewState problem.. Help please!

Scheduled Pinned Locked Moved ASP.NET
helpquestion
3 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.
  • B Offline
    B Offline
    benqazou
    wrote on last edited by
    #1

    Hi all, Here is the situation : I have a web user control, including one DropDownList with AutoPostBack enabled (the control has a property, which is the selected value of the DropDownList) I've already added the control to many pages before, it's working just nice. But today, I am trying to add it into another page (exactly the same way as with the previous pages.) The page displays well the first time, but when I change the selected item of the DropDownList, I have that unbearable ViewState problem. Have you got any idea that could help please?? (If you need more details, I will send them later) Thank you!!

    M 1 Reply Last reply
    0
    • B benqazou

      Hi all, Here is the situation : I have a web user control, including one DropDownList with AutoPostBack enabled (the control has a property, which is the selected value of the DropDownList) I've already added the control to many pages before, it's working just nice. But today, I am trying to add it into another page (exactly the same way as with the previous pages.) The page displays well the first time, but when I change the selected item of the DropDownList, I have that unbearable ViewState problem. Have you got any idea that could help please?? (If you need more details, I will send them later) Thank you!!

      M Offline
      M Offline
      munawarhussain
      wrote on last edited by
      #2

      hi.. Please can you tell me details.. because i could not understand what type of problem you are getting in viewState... .............................?? Munawar Hussain Sr.Software Engineer Ayfasoft Lahore Pakistan Cell# +92-42-321-4365657 +92-42-304-4030466

      B 1 Reply Last reply
      0
      • M munawarhussain

        hi.. Please can you tell me details.. because i could not understand what type of problem you are getting in viewState... .............................?? Munawar Hussain Sr.Software Engineer Ayfasoft Lahore Pakistan Cell# +92-42-321-4365657 +92-42-304-4030466

        B Offline
        B Offline
        benqazou
        wrote on last edited by
        #3

        Hi, In fact i resolved the problem, without knowing how or why it occured. I am using a framework (evlove template engine) which looks just like master pages in asp.net 2.0). I just changed the tamplating time to : OnInit. Now It's OK. Thanks شكرا أخي حسين..

        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