M
Mike
Hello!
I'm pretty novice in .NET and having a problem to get values from my
textboxes which I have created dynamicly in my aspx.cs-file. (I'm using
Visual Studio 2005).
I create them like this (code-snippet):
f = getFormField(fields, "a_dbfield");
Response.Write("<td>" + f.getLabel() + "</td>");
Response.Write("<td >" + f.getHtmlFormString() + "</td>");
f.getHtmlFormString() gives me a string with generated html, like "<input
type='text' runat='server' id='a_dbfield'>".
I wonder how I can reach the values on the server-side from this dynamicly
created textbox?
The tags are surrounded with a <form id="bla" runat="server"> which is
created in the design mode.
Hope someone could help!
Regards, Mike
I'm pretty novice in .NET and having a problem to get values from my
textboxes which I have created dynamicly in my aspx.cs-file. (I'm using
Visual Studio 2005).
I create them like this (code-snippet):
f = getFormField(fields, "a_dbfield");
Response.Write("<td>" + f.getLabel() + "</td>");
Response.Write("<td >" + f.getHtmlFormString() + "</td>");
f.getHtmlFormString() gives me a string with generated html, like "<input
type='text' runat='server' id='a_dbfield'>".
I wonder how I can reach the values on the server-side from this dynamicly
created textbox?
The tags are surrounded with a <form id="bla" runat="server"> which is
created in the design mode.
Hope someone could help!
Regards, Mike