1 Replies - 1000 Views - Last Post: 03 July 2012 - 04:57 AM Rate Topic: -----

#1 itsjimmy91  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 77
  • Joined: 19-January 11

FindControl in DataControlField

Posted 02 July 2012 - 10:43 AM

Hey guys,

I'm trying to find a control inside a field that is inside a control. I'm accessing the field that the control is in, but a DataControlField does not have a FindControl() method.. so I'm not sure if I'm able to access the DropDownList that I'm trying to access inside this field.

I tried to cast it as a Control so that I could then use the FindControl(), but the compiler wouldn't let me convert a DataControlField to a Control. Am I missing something?

Thanks..

Is This A Good Question/Topic? 0
  • +

Replies To: FindControl in DataControlField

#2 Nakor  Icon User is offline

  • Professional Lurker
  • member icon

Reputation: 444
  • View blog
  • Posts: 1,492
  • Joined: 28-April 09

Re: FindControl in DataControlField

Posted 03 July 2012 - 04:57 AM

What are the types of controls? Is there a specific event of the parent control that you're using? Can you provide your code?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1