HI Im getting mixed results when trying to use VB to modify a web forms Textarea
if i save the webpage to my pc and access the webpage offline my code works
and i am able to inject data to the texarea
but if i test this code on the live server based webform it throws up an error "object ref not set to an instance"
the code im using is
webrowser1.documant.getelemantbyid("SET.Description").setattribute("Va
lue",textbox1.text)
using a webbrowser control a textbox and a button
i have a seprate button that will navigate to the webpage
the Textarea html source is
<textarea name="SET.description" tabIndex="100" title="Description *"
class="focusField" id="df_2_0" onfocus="return detailFocus(this);"
onblur="return detailBlur(this);" rows="4" cols="80">
i have tried several other attributes
.value
.innertext
.innerhtml
.outerhtml
.outertext
again they work offline but not on the server copy.
are server copys of textarea readonly as other input elemants on the webform work fine.
if i save the webpage to my pc and access the webpage offline my code works
and i am able to inject data to the texarea
but if i test this code on the live server based webform it throws up an error "object ref not set to an instance"
the code im using is
webrowser1.documant.getelemantbyid("SET.Description").setattribute("Va
lue",textbox1.text)
using a webbrowser control a textbox and a button
i have a seprate button that will navigate to the webpage
the Textarea html source is
<textarea name="SET.description" tabIndex="100" title="Description *"
class="focusField" id="df_2_0" onfocus="return detailFocus(this);"
onblur="return detailBlur(this);" rows="4" cols="80">
i have tried several other attributes
.value
.innertext
.innerhtml
.outerhtml
.outertext
again they work offline but not on the server copy.
are server copys of textarea readonly as other input elemants on the webform work fine.