Click here to Skip to main content
15,920,438 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: user control on webform Pin
Christian Graus28-Oct-09 20:55
protectorChristian Graus28-Oct-09 20:55 
AnswerRe: user control on webform Pin
Nishant Singh29-Oct-09 0:03
Nishant Singh29-Oct-09 0:03 
Questionavoid scroll bar in text box Pin
deepthy.p.m28-Oct-09 18:39
deepthy.p.m28-Oct-09 18:39 
AnswerRe: avoid scroll bar in text box Pin
Abhishek Sur28-Oct-09 22:04
professionalAbhishek Sur28-Oct-09 22:04 
QuestionFlash Object With Master Page Pin
123chaminda28-Oct-09 17:48
123chaminda28-Oct-09 17:48 
AnswerRe: Flash Object With Master Page Pin
Christian Graus28-Oct-09 20:23
protectorChristian Graus28-Oct-09 20:23 
GeneralRe: Flash Object With Master Page Pin
123chaminda28-Oct-09 23:04
123chaminda28-Oct-09 23:04 
QuestionAccessing custom control using javascript on the client page. Pin
Rico MNC28-Oct-09 12:54
professionalRico MNC28-Oct-09 12:54 
I have been tasked with replacing some DOM and javascript with an ASP custom control.

The aspx page is using master pages.

What I need to do is access the custom control with javascript in the aspx page. The control and its C# code behind are working, but I need to access a listbox contained within the control. I seem to be unable to access the control at all.

For example, in the aspx page I have the custom control like this:

<uc1:_Locations ID="_Locations1" runat="server" />;


In another page using an AJAX slider control, I have been able to access it like this:

var sliderUpdater = $find("SliderBehavior");


... then I am able to get and set properties for the slider.

However, trying similar approaches with our custom control all results in returning null from the $find. Note: our control does not currently have any extenders or BehaviorID.

I will post more code details if necessary.


Any ideas, help, or links would be appreciated.

Thank you.
AnswerRe: Accessing custom control using javascript on the client page. Pin
Not Active28-Oct-09 13:06
mentorNot Active28-Oct-09 13:06 
GeneralRe: Accessing custom control using javascript on the client page. Pin
Rico MNC28-Oct-09 13:11
professionalRico MNC28-Oct-09 13:11 
GeneralRe: Accessing custom control using javascript on the client page. Pin
Rico MNC29-Oct-09 5:10
professionalRico MNC29-Oct-09 5:10 
QuestionIsDBNull is not evaluating correctly Pin
CARisk328-Oct-09 11:22
CARisk328-Oct-09 11:22 
AnswerRe: IsDBNull is not evaluating correctly Pin
Christian Graus28-Oct-09 12:43
protectorChristian Graus28-Oct-09 12:43 
GeneralRe: IsDBNull is not evaluating correctly Pin
Oakman29-Oct-09 3:20
Oakman29-Oct-09 3:20 
QuestionLogin fails with ASP.NET membership Pin
Albert8328-Oct-09 10:54
Albert8328-Oct-09 10:54 
AnswerRe: Login fails with ASP.NET membership Pin
Christian Graus28-Oct-09 11:05
protectorChristian Graus28-Oct-09 11:05 
GeneralRe: Login fails with ASP.NET membership Pin
Albert8328-Oct-09 11:27
Albert8328-Oct-09 11:27 
GeneralRe: Login fails with ASP.NET membership Pin
Albert8328-Oct-09 12:01
Albert8328-Oct-09 12:01 
GeneralRe: Login fails with ASP.NET membership Pin
Not Active28-Oct-09 13:02
mentorNot Active28-Oct-09 13:02 
GeneralRe: Login fails with ASP.NET membership Pin
Albert8328-Oct-09 13:14
Albert8328-Oct-09 13:14 
AnswerRe: Login fails with ASP.NET membership Pin
Albert8328-Oct-09 21:08
Albert8328-Oct-09 21:08 
GeneralRe: Login fails with ASP.NET membership Pin
Albert8328-Oct-09 13:15
Albert8328-Oct-09 13:15 
QuestionNew style of Javascript used in extenders. Pin
mittalpa28-Oct-09 9:20
mittalpa28-Oct-09 9:20 
Question...Repeat er... Pin
AndyInUK28-Oct-09 8:09
AndyInUK28-Oct-09 8:09 
AnswerRe: ...Repeat er... Pin
Christian Graus28-Oct-09 11:07
protectorChristian Graus28-Oct-09 11:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.