View Complete Post
I'm trying gridview templateField DropDownList bind with arraylist. When i set bindsource i got this error. "//Error Object reference not set to an instance of an object."
My Sample .aspx
<asp:TemplateField HeaderText="Type"> <FooterTemplate> <asp:DropDownList ID="_grvcboType" runat="server" Width="117px" DataTextField="Display" DataValueField="Value"> </asp:DropDownList> </FooterTemplate> <ItemTemplate> <asp:Label ID="Label7" runat="ser
any idea how to do that ?
Thnx in advance
im facing a problem while styling my ddl, what i did is:
<div class="stlGradient"><asp ropDownList ID="DropDownList1" runat="server" style="background-color:Transparent;border:none;" Width="100%"></asp: dropDownList></div>
the DIV style is having a bg image repeated X.
Does anyone know what is the asp:dropdown's css is? I'm trying to make my ajax's comboBox to look the same as asp dropdown's css but I can't seem to find the default dropdown's css.
I have one drodownlist which show data based om textbox values...
Let us consider i have
Select Name from table1 where Type IN(@typ)
here @typ is textbox values
here for example textbox will have some thing like this L1,L2,L3..
How to filter Name based and shown in drodownlist based on this L1,L2,L3(on textbox)..
Help me in this
Could not find control 'DropDownList2' in ControlParameter 'CurrencyID'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: Could not find control 'DropDownList2' in ControlParameter 'CurrencyID'.
any help would be greatly
In dropdownlist show the PatientID of table.
when we select the id then show the PatientName in the textbox on the behalf of PatientID
MSDN Magazine April 2001
I have a page with 2 Content Controls. Content1 has a SqlDataSource with a Control Parameter
that uses a Dropdown list. The dropdownlist is in Content2. I used viewsource to get
the dropdownlist control name which was
ctl00_ContentPlaceHolder6_ddlPersonFilter. I also got an error if I used ddlPersonFilter.
Thanks for any assistance.
Could not find control 'ctl00_ContentPlaceHolder6_ddlPersonFilter' in ControlParameter ''.
<%@ Page Title="Deal ToDos" Language="VB" MasterPageFile="~/Protected/secureds_deal.master"
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>