So the ajax objects declared in default.aspx works fine.
and default.aspx calls Template whnever it needs to load some data and template file doesnt know anything about master page as it doesnt have any information.
For that , i included scriptmanagerproxy but it didnt work
what you're not understanding is that you don't need that. the scriptmanagerproxy only objectives are to let you add scripts or web service references specific to one page. what i'm trying to tell is that if your page is not working, it's not because you're
not dropping a scriptmanagerproxy. it's because you're doing something wrong in another place.
--
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu
saqib_dotnet
Member
298 Points
650 Posts
Re: Usercontrol and scriptmanagerproxy - need help
Nov 08, 2007 07:34 PM|LINK
ok ....fair ...give me some time ... probably 30 mins
saqib_dotnet
Member
298 Points
650 Posts
Re: Usercontrol and scriptmanagerproxy - need help
Nov 08, 2007 08:42 PM|LINK
i cant just create the situtation its my project....its just too frustrating..
I can send you some basic code of my curretn proj and may be u can help
Luis Abreu
All-Star
25674 Points
5369 Posts
MVP
Re: Usercontrol and scriptmanagerproxy - need help
Nov 08, 2007 08:50 PM|LINK
hello again.
well, maybe...but if you can't reproduce it with simple code, then i believe that you must be doing something wrong in your project...
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu
saqib_dotnet
Member
298 Points
650 Posts
Re: Usercontrol and scriptmanagerproxy - need help
Nov 08, 2007 09:07 PM|LINK
i mean to say its datagrid work and then there are too much work to do to get to that point.
saqib_dotnet
Member
298 Points
650 Posts
Re: Usercontrol and scriptmanagerproxy - need help
Nov 08, 2007 09:12 PM|LINK
if you just try to understand what i m telling , i guess u would see:
My default.aspx page dynamically loads the Template file and Template file is not included in the master page.
Only default.aspx page is included in the master page with the following line:
<%
@ Page Language="vb" AutoEventWireup="false" MasterPageFile ="~/MainMaster.master" CodeFile="Dispatch2.aspx.vb" %>So the ajax objects declared in default.aspx works fine.
and default.aspx calls Template whnever it needs to load some data and template file doesnt know anything about master page as it doesnt have any information.
For that , i included scriptmanagerproxy but it didnt work
Luis Abreu
All-Star
25674 Points
5369 Posts
MVP
Re: Usercontrol and scriptmanagerproxy - need help
Nov 08, 2007 09:28 PM|LINK
hello
what you're not understanding is that you don't need that. the scriptmanagerproxy only objectives are to let you add scripts or web service references specific to one page. what i'm trying to tell is that if your page is not working, it's not because you're not dropping a scriptmanagerproxy. it's because you're doing something wrong in another place.
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu
saqib_dotnet
Member
298 Points
650 Posts
Re: Usercontrol and scriptmanagerproxy - need help
Nov 08, 2007 09:35 PM|LINK
I tried with that as well; by adding and by removing scriptmanagerproxy ; all possible tricks i applied ....
Let me ask you one thing?
1- How does the ajax object in my child control know where to find ScriptManager ?
saqib_dotnet
Member
298 Points
650 Posts
Re: Usercontrol and scriptmanagerproxy - need help
Nov 09, 2007 03:03 AM|LINK
Hello Luis
I have created the dummy project and I have sent you the details via email.
I created a separate account (email) as gmail wasnt accepting the attachment.
The details of login to email accout are also sent to you.
regards
Luis Abreu
All-Star
25674 Points
5369 Posts
MVP
Re: Usercontrol and scriptmanagerproxy - need help
Nov 09, 2007 08:41 AM|LINK
hello.
please send it to me at my gmail account. just zip the project and change the extension (for isntance, change it from zip to zip2)
Regards,
Luis Abreu
email: labreu_at_gmail.com
EN blog:http://msmvps.com/blogs/luisabreu
saqib_dotnet
Member
298 Points
650 Posts
Re: Usercontrol and scriptmanagerproxy - need help
Nov 09, 2007 03:10 PM|LINK
I sent an email to your gmail account
Thanks