rafaelcn schrieb:
> namespace myConctrol
> {
> 
>     [ToolboxData("<{0}:webGridView runat=server></{0}:webGridView>")]
      [AjaxPro.AjaxNameSpace("myControl"(]
>     public class webGridView : WebControl
>     {
[...]
>         protected override void OnInit(EventArgs e)
>     {
>         base.OnInit(e);
>         AjaxPro.Utility.RegisterTypeForAjax(typeof(myConctrol));
         AjaxPro.Utility.RegisterTypeForAjax(typeof(myConctrol, Page));
>     }
> }
> 
> in aspx page:
> function test()
> {
>        myControl.GetTime(test_callback)   <========== this line does
> not work !
> }

You should make include the upper AjaxNameSpace Attribute, or the full
Namespace of the Control

        myControl.webGridView.GetTime(test_callback)

-- 

Freundliche Grüße

Albert Weinert

http://der-albert.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ajax.NET Professional" group.

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]

For more options, visit this group at http://groups.google.com/group/ajaxpro

The latest downloads of Ajax.NET Professional can be found at 
http://www.ajaxpro.info/

Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---

Reply via email to