Hi Imar
In our company we use ASP.NET. in our projects we used ajax controls. our projects was working while yesterday that we re-installed Windows Server 2003 on development machine. now when i run the project Sys can not be loaded:
[img]
http://rezabaiat88.persiangig.com/im...sUndefined.GIF
[/img]
in IIS I have created a virtual directory named: GS.RDM_NEW that project runs on it.
in main asp.net configuration file 'C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Con fig\Web.Config' , WebResource and ScriptResource are added (by default), but I can't run my project.
HTML Code:
<httpHandlers>
<add path="WebResource.axd" verb="GET" type="System.Web.Handlers.AssemblyResourceLoader" validate="true" />
<add verb="*" path="*_AppService.axd" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="False" />
<add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="False"/>
<add path="*.axd" verb="*" type="System.Web.HttpNotFoundHandler" validate="true" />
</httpHandlers>
I can't continue working until this error disppears.
what configurations i should set?
I created a new WebProject and add an update panel and some other controls. there is no problem with this kind of projects, but when I run the project through IIS (Set Project to be ran over IIS virtual Directory)
Help me Imar!! customers are waiting ...
I'm online here and waiting for F1-man !!!
[edit]
we are using ComponetArt componts too, but I dont think that it makes this problem
[/edit]
=================
Hi again.
as I guessed the problem was with Virtual Directory. In my project settings (Right click on project -> properties), in Web section, I turned on 'Use Visual Studio Development Server' and know Sys it defined and it works but even now 'WebForm_InitCallback(); is undefined' error occurs (but I can avoid this error).
BUT
my problem is not solved. because I should run my project on Virtual Directory because all application settings and tasks are based on this.
==================
Hi again.
in the project property page, Web section, I set Virtual_Path to '/GS.RDM_NEW/' to provide Virtual Path to my app.
BUT my problem is not solved yet. and occurs too.
===============
Hi again
i think 'WebForm_InitCallback(); is undefined' error's source is Telerik Controls.
HTML Code:
<script type="text/javascript">
//<![CDATA[
WebForm_InitCallback();Sys.Application.add_init(function() {
$create(Telerik.Web.UI.RadComboBox, {"_dropDownWidth":350,"_height":0,"_isTemplated":true,"_showMoreResultsBox":true,"_skin":"Office2007","_text":"كد","_uniqueId":"uclUserCompanyList1$RadComboBox_Code","attributes":{},"clientStateFieldID":"uclUserCompanyList1_RadComboBox_Code_ClientState","collapseAnimation":"{\"duration\":450}","enableLoadOnDemand":true,"expandAnimation":"{\"duration\":450}","itemData":[]}, {"selectedIndexChanged":ComboBox_IndexChanged}, null, $get("uclUserCompanyList1_RadComboBox_Code"));
});
Sys.Application.add_init(function() {
$create(Telerik.Web.UI.RadComboBox, {"_dropDownWidth":350,"_height":0,"_isTemplated":true,"_showMoreResultsBox":true,"_skin":"Office2007","_text":"سازمان / سمت","_uniqueId":"uclUserCompanyList1$RadComboBox_Pos","attributes":{},"clientStateFieldID":"uclUserCompanyList1_RadComboBox_Pos_ClientState","collapseAnimation":"{\"duration\":450}","enableLoadOnDemand":true,"expandAnimation":"{\"duration\":450}","itemData":[],"loadingMessage":"در حال بار گذاري اطلاعات.."}, {"selectedIndexChanged":ComboBox_IndexChanged}, null, $get("uclUserCompanyList1_RadComboBox_Pos"));
});
Sys.Application.add_init(function() {
$create(Telerik.Web.UI.RadComboBox, {"_dropDownWidth":350,"_height":0,"_isTemplated":true,"_showMoreResultsBox":true,"_skin":"Office2007","_text":"نام شخص","_uniqueId":"uclUserCompanyList1$RadComboBox_UserName","attributes":{},"clientStateFieldID":"uclUserCompanyList1_RadComboBox_UserName_ClientState","collapseAnimation":"{\"duration\":450}","enableLoadOnDemand":true,"expandAnimation":"{\"duration\":450}","itemData":[],"loadingMessage":"در حال بار گذاري اطلاعات..","offsetX":400}, {"selectedIndexChanged":ComboBox_IndexChanged}, null, $get("uclUserCompanyList1_RadComboBox_UserName"));
});
//]]>
</script>