|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
custom control client values gone with postbackHi,
I'm trying to make my own web custom control. I've made a control with 2 textboxes and 1 dropdownlist. But when I enter values in them and get a postback the values are gone. How can I hold the values typed in by the client?? (for processing on the server but also to display them back) tia could this be an enableviewstate=false issue?
Show quoteHide quote "Pipo" <P***@home.com> schreef in bericht news:Oee8red8FHA.2176@TK2MSFTNGP14.phx.gbl... > Hi, > > I'm trying to make my own web custom control. > I've made a control with 2 textboxes and 1 dropdownlist. > But when I enter values in them and get a postback the values are gone. > How can I hold the values typed in by the client?? > (for processing on the server but also to display them back) > > tia > Nope...all the controls have viewstate enabled!!!
Show quoteHide quote "Edwin Knoppert" <n***@hellobasic.com> schreef in bericht news:438734a9$0$2339$ba620dc5@text.nova.planet.nl... > could this be an enableviewstate=false issue? > > > "Pipo" <P***@home.com> schreef in bericht > news:Oee8red8FHA.2176@TK2MSFTNGP14.phx.gbl... >> Hi, >> >> I'm trying to make my own web custom control. >> I've made a control with 2 textboxes and 1 dropdownlist. >> But when I enter values in them and get a postback the values are gone. >> How can I hold the values typed in by the client?? >> (for processing on the server but also to display them back) >> >> tia >> > > I have a similar problem with a dropdownlist.
it is populated in the page_load, the selected item get's lost. So i obtain the value from the request.form stuff. (I want it this way) Show quoteHide quote "Pipo" <P***@home.com> schreef in bericht news:ODgDbQe8FHA.3660@TK2MSFTNGP09.phx.gbl... > Nope...all the controls have viewstate enabled!!! > > "Edwin Knoppert" <n***@hellobasic.com> schreef in bericht > news:438734a9$0$2339$ba620dc5@text.nova.planet.nl... >> could this be an enableviewstate=false issue? >> >> >> "Pipo" <P***@home.com> schreef in bericht >> news:Oee8red8FHA.2176@TK2MSFTNGP14.phx.gbl... >>> Hi, >>> >>> I'm trying to make my own web custom control. >>> I've made a control with 2 textboxes and 1 dropdownlist. >>> But when I enter values in them and get a postback the values are gone. >>> How can I hold the values typed in by the client?? >>> (for processing on the server but also to display them back) >>> >>> tia >>> >> >> > >
Other interesting topics
Consuming less memory when writing a file?
Web Projects in VS 2005 How to change LabelText in DataList How to receive keyboard input? DataGrid Nightmare Data Access Layer About KB Article 831150 Bind DropDownList to XmlDataSource Mouseover, mouseout, click etc on datagrid. http 1.1/ 403 access forbidden after framework 2.0 installed |
|||||||||||||||||||||||