dropdown list by draging it on the page from the toolbar but when typing
this. the dropdown id is not selectable and I can not access any of its
attributes.
--
Paul G
Software engineer.assuming this is 1.x, you'll need to go in our codebehind, expand the
desiner region and add
protected DropDownList controlId;
like
protected DropDownList States;
you should see other similar controls there..
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/
"Paul" <Paul@.discussions.microsoft.com> wrote in message
news:BEC317EE-DAEB-4BA7-908A-4036BB9F5CB6@.microsoft.com...
>I added a textbox to a c# page and can access it with code behind but added
>a
> dropdown list by draging it on the page from the toolbar but when typing
> this. the dropdown id is not selectable and I can not access any of its
> attributes.
> --
> Paul G
> Software engineer.
working now, not sure what happened.
--
Paul G
Software engineer.
"Paul" wrote:
> I added a textbox to a c# page and can access it with code behind but added a
> dropdown list by draging it on the page from the toolbar but when typing
> this. the dropdown id is not selectable and I can not access any of its
> attributes.
> --
> Paul G
> Software engineer.
ok thanks for the reply. I thought all of that code was generated
automatically when you put the control on the form.
--
Paul G
Software engineer.
"Karl Seguin [MVP]" wrote:
> assuming this is 1.x, you'll need to go in our codebehind, expand the
> desiner region and add
> protected DropDownList controlId;
> like
> protected DropDownList States;
> you should see other similar controls there..
> Karl
> --
> MY ASP.Net tutorials
> http://www.openmymind.net/
>
> "Paul" <Paul@.discussions.microsoft.com> wrote in message
> news:BEC317EE-DAEB-4BA7-908A-4036BB9F5CB6@.microsoft.com...
> >I added a textbox to a c# page and can access it with code behind but added
> >a
> > dropdown list by draging it on the page from the toolbar but when typing
> > this. the dropdown id is not selectable and I can not access any of its
> > attributes.
> > --
> > Paul G
> > Software engineer.
>
Most of the time ;)
Karl
--
http://www.openmymind.net/
"Paul" <Paul@.discussions.microsoft.com> wrote in message
news:C3219EE8-856F-4861-8CDA-9E35C46F671E@.microsoft.com...
> ok thanks for the reply. I thought all of that code was generated
> automatically when you put the control on the form.
> --
> Paul G
> Software engineer.
>
> "Karl Seguin [MVP]" wrote:
>> assuming this is 1.x, you'll need to go in our codebehind, expand the
>> desiner region and add
>>
>> protected DropDownList controlId;
>>
>> like
>>
>> protected DropDownList States;
>>
>> you should see other similar controls there..
>>
>> Karl
>>
>> --
>> MY ASP.Net tutorials
>> http://www.openmymind.net/
>>
>>
>> "Paul" <Paul@.discussions.microsoft.com> wrote in message
>> news:BEC317EE-DAEB-4BA7-908A-4036BB9F5CB6@.microsoft.com...
>> >I added a textbox to a c# page and can access it with code behind but
>> >added
>> >a
>> > dropdown list by draging it on the page from the toolbar but when
>> > typing
>> > this. the dropdown id is not selectable and I can not access any of its
>> > attributes.
>> > --
>> > Paul G
>> > Software engineer.
>>
>>
>
0 comments:
Post a Comment