M
martyn_wynne
Hi,
I have found a odd one, my submit button is not submitting on a
method="get" form after using any form of DataBind?
Has anyone struck this problem before?
here is snipits of the code as an example
<form id="frmUserSearch" method="get" runat="server">
<aspropDownList ID="listBrokers"
Runat="server"
DataSource="<%# dvBrokers%>"
DataTextField="BrokerName"
DataValueField="BrokerID" />
<input type="submit" name="search" value="search">
</form>
private void Page_Load(object sender, System.EventArgs e)
{
Brokers brokers = Methods.GetBrokers(login);
dvBrokers = new DataView(brokers.Broker, "", "BrokerName",
DataViewRowState.CurrentRows);
//listBrokers.DataBind();<- including this is the problem
listBrokers.Items.Insert(0, new ListItem("", ""));
}
I have found a odd one, my submit button is not submitting on a
method="get" form after using any form of DataBind?
Has anyone struck this problem before?
here is snipits of the code as an example
<form id="frmUserSearch" method="get" runat="server">
<aspropDownList ID="listBrokers"
Runat="server"
DataSource="<%# dvBrokers%>"
DataTextField="BrokerName"
DataValueField="BrokerID" />
<input type="submit" name="search" value="search">
</form>
private void Page_Load(object sender, System.EventArgs e)
{
Brokers brokers = Methods.GetBrokers(login);
dvBrokers = new DataView(brokers.Broker, "", "BrokerName",
DataViewRowState.CurrentRows);
//listBrokers.DataBind();<- including this is the problem
listBrokers.Items.Insert(0, new ListItem("", ""));
}