N NuB Dec 20, 2005 #3 I tried that and the grid would still show if Page.isValid = false I had in my page load if (page.isvalid = true) { panelgrid.visible = true; } else if (Page.IsValid = false) { panelgrid.visible = false; } am i missing something or is this wrong?
I tried that and the grid would still show if Page.isValid = false I had in my page load if (page.isvalid = true) { panelgrid.visible = true; } else if (Page.IsValid = false) { panelgrid.visible = false; } am i missing something or is this wrong?
S Scott Allen Dec 20, 2005 #4 I had in my page load if (page.isvalid = true) Click to expand... Aren't you getting any compiler warnings? Page.IsValid = true sets IsValid to true. Page.IsValid == true compares IsValid to true and returns true or false.
I had in my page load if (page.isvalid = true) Click to expand... Aren't you getting any compiler warnings? Page.IsValid = true sets IsValid to true. Page.IsValid == true compares IsValid to true and returns true or false.
N NuB Dec 20, 2005 #5 no, i can compile and run it but my grid will not be set to visible=false if the page fails validation
no, i can compile and run it but my grid will not be set to visible=false if the page fails validation