This is a migrated thread and some comments may be shown as answers.

Telerik Composit Control

1 Answer 15 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kumar
Top achievements
Rank 1
Kumar asked on 22 Oct 2010, 07:01 AM
Hi,
 I have Devloped Composit control(RADMaskedTExtbox,RadButton).i have written javascript as Follows in Composit Control Test page

var

 

 

Input1 = $find("<%= TextBox1.ClientID %>");

 

Input1.SetValue(15);

It is throughing an error Null object.

Please help me how to resolve this

1 Answer, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 26 Oct 2010, 02:45 PM
Hello Kumar,

Could you please elaborate a bit more on your scenario. How do you add the user control on the page, declaratively or programmatically? Also where do you use the code snippet which finds the TextBox1 - on user control or directly on the page? Additionally it will be helpful if you send us a simple runnable example demonstrating the problem or post your markup and code behind code here. You could open a formal support ticket from your Telerik account and attach a ZIP file there. In that way we can reproduce and pinpoint the problems you're facing on our side, understand the logic of your application and provide a solution.
Looking forward for your reply.

Sincerely yours,
Radoslav
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Kumar
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Share this question
or