M
Mike Labosh
I'm a middle tier (dll / MTS / COM+ / Extensions) guy and I'm a bit rusty on
the GUI part of ASP.NET
I have a web form that a user uses to cycle through records in the DB to
review unmatched items and assign / fix them.
I need the WebForm to contain the identity key from the SQL Server table so
the Save button can pass it in a WHERE clause so that the system updates the
correct record, but I don't want the user to SEE this value on the WebForm.
I have tried various combinations of Label / TextBox, Visible=False, and so
forth, and I can't see how to make .NET deliver a <input type=hidden...> to
the browser.
I would REALLY rather not put a Hidden HTML control on the form and have to
do filthy scripting hacks to get the Page_Load to be able to stuff the
primary key of the current record into an HTML control that the server code
can't see.
I also would rather not have to use TextBox Server Controls and then set a
whole bunch of CSS attributes so that border, backcolor and forecolor are
all the same as the background. That's just a dirty kludge to me.
--
Peace & happy computing,
Mike Labosh, MCSD
"When you kill a man, you're a murderer.
Kill many, and you're a conqueror.
Kill them all and you're a god." -- Dave Mustane
the GUI part of ASP.NET
I have a web form that a user uses to cycle through records in the DB to
review unmatched items and assign / fix them.
I need the WebForm to contain the identity key from the SQL Server table so
the Save button can pass it in a WHERE clause so that the system updates the
correct record, but I don't want the user to SEE this value on the WebForm.
I have tried various combinations of Label / TextBox, Visible=False, and so
forth, and I can't see how to make .NET deliver a <input type=hidden...> to
the browser.
I would REALLY rather not put a Hidden HTML control on the form and have to
do filthy scripting hacks to get the Page_Load to be able to stuff the
primary key of the current record into an HTML control that the server code
can't see.
I also would rather not have to use TextBox Server Controls and then set a
whole bunch of CSS attributes so that border, backcolor and forecolor are
all the same as the background. That's just a dirty kludge to me.
--
Peace & happy computing,
Mike Labosh, MCSD
"When you kill a man, you're a murderer.
Kill many, and you're a conqueror.
Kill them all and you're a god." -- Dave Mustane