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
W

whaletail100

@whaletail100
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Redrawing dynamically added controls
    W whaletail100

    I do check to postback and the controls are redrawn with the new values. However, the UI displays them as if no change has occurred. I can even step through my code, see the values being reset, and the UI will not reflect the change. Any other suggestions?

    Web Development help csharp asp-net tutorial question

  • Redrawing dynamically added controls
    W whaletail100

    Here is a snippet of my VB code that adds a dropdown listbox to my form dynamically. How do I set the controls in my VB code to force it to runat server? Dim tmpDDLB As System.Web.UI.WebControls.DropDownList Dim lstitem As ListItem lstitem = New ListItem("A", "0") tmpDDLB.Items.Add(lstitem) lstitem = New ListItem("C", "1") tmpDDLB.Items.Add(lstitem) lstitem = New ListItem("C", "2") tmpDDLB.Items.Add(lstitem) tmpDDLB.SelectedIndex = 0 MyForm.Controls.Add(tmpDDLB)

    Web Development help csharp asp-net tutorial question

  • Redrawing dynamically added controls
    W whaletail100

    I have created an aspx form where most of the controls are added dynamically. If I redraw the form with the same set of control, the dynamic controls do not seem to be redrawn with the new values. For example, I have checkbox that was checked. I select my button to reset it. Stepping through the code, I see the checkbox checked property is set to false. The form comes back up as if nothing has been altered. The checkbox is still checked. Has anyone else run into this problem with ASP.NET? If so, how did you resolve this issue?

    Web Development help csharp asp-net tutorial question
  • Login

  • Don't have an account? Register

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