Visslan
August 21st, 2007, 09:16 AM
Hi!
I'm having problem with my HtmlSelect object. I want the page to do a post back when a new item has been selected in the dropdownlist. At the moment my code looks like this:
...
protected HtmlSelect ddlChooseDateForInstallation;
...
public void OnSelected_ddlChooseDateForInstallation( object sender, System.EventArgs e )
{
...
}
...
<div><select ID="ddlChooseDateForInstallation" onclick="OnSelected_ddlChooseDateForInstallation" Runat="server" NAME="ddlChooseDateForInstallation"/></div>
...
Now the program never runs the eventhandler OnSelected_ddlChoosenDateForInstallation? Why? And how can I make it work?
I'm having problem with my HtmlSelect object. I want the page to do a post back when a new item has been selected in the dropdownlist. At the moment my code looks like this:
...
protected HtmlSelect ddlChooseDateForInstallation;
...
public void OnSelected_ddlChooseDateForInstallation( object sender, System.EventArgs e )
{
...
}
...
<div><select ID="ddlChooseDateForInstallation" onclick="OnSelected_ddlChooseDateForInstallation" Runat="server" NAME="ddlChooseDateForInstallation"/></div>
...
Now the program never runs the eventhandler OnSelected_ddlChoosenDateForInstallation? Why? And how can I make it work?