Showing posts with label machine. Show all posts
Showing posts with label machine. Show all posts

Wednesday, March 28, 2012

control cannot be created because Visual Studio Cannot find the Controls type in the Contr

Hi Friends, I have installed Visual Studion 2005 on my machine. After creating an AJAX FutureRelese Web project. I tried to add Future Release Controls to my web page. I am getting the following error "control cannot be created because Visual Studio Cannot find the Controls type in the Control Assembly" Could you please get back to me with the solution for this. Thanks and Regards, Baburaj P V

Pls make sure you have System.Web.Extensions referenced. If Not Add it from the Reference Dialog, it is insalled in the GAC. If you also have the previous version then you have to modify the web.config.


It would be greatful, if I could know how to modify the Web.Conf. I have installed ASPDOTNETFutureRelease on Dot Net Fwk 2.0

Best Regards,

Babz


Try adding another entry for System.web.extensions for AJAX controls and prefix it in the control creation in web forms

Monday, March 26, 2012

Connect to a web reference

I have a web service running on my local machine and I have added it to a Atlas project in Visual Studio using web reference. There are three files created under App_WebReferences\localhost: xxx.disco, xxx.discomap and xxx.wsdl. How should I reference it in the following Atlas tag:

<atlas:servicereferencepath="??"type="text/javascript"/>

Also in my web service code, it has the following line:

<%@dotnet.itags.org. WebService Language="c#" Codebehind="ServerStatus.asmx.cs" Class="Microsoft.TeamFoundation.Server.ServerStatus" %>

But when I use the methodMicrosoft.TeamFoundation.Server.ServerStatus.GetSupportedContractVersion, I get an error saying "Microsoft" is undefined.

In general the service code is not available. I suppose its class information should be in .wsdl file. But I am not sure where to locate it. Please help. Thanks.

I had the same problem. You are not able to call external webservices by importing a web reference. You need to wrap the external webservice in your own webservice implemented by an asmx file.
For this I created a C# library with Visual Studio and added a web reference in the library. Now I was able to add a reference to the reulting DLL and call the external webservice from MyWebservice.asmx.
You are obligate to use this solution when the webservice is located on a different server than where your website will be hosted, because Javascript can not make HTTP requests to other servers.
Maybe you can bridge to that particular external web service. I am currently reading the followinghttp://atlas.asp.net/docs/atlas/doc/bridge/default.aspx.

Saturday, March 24, 2012

Configuring a Web Server for AJAX

I am new to programming and trying to use AJAX. It works fine on my local machine, however, when I move it to my server, I get all kinds of errors. I am sure what to do to configure my web server.

Hi,

Can you paste the error message so that we can get some hints on the exact issue? Also, check out this post for details on latest AJAX release:

http://weblogs.asp.net/scottgu/archive/2007/01/23/asp-net-ajax-1-0-released.aspx

More information on configuration settings can be found on thehttp://ajax.asp.net website.

Hope this helps,

Vivek


Below is the error message, I believe my web server does not have the correct configuration or I did not move out the right .dlls. Thanks alot!

Server Error in '/ajax' Application.

Configuration Error

Description:An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message:Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 34: <!--<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>-->Line 35: <!--<add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>-->Line 36: <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>Line 37: <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies>Line 38: </compilation>


Source File:D:\Inetpub\wwwroot\AJAXEnabledTest1\web.config Line:36

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.Note: There is some performance penalty associated with assembly bind failure logging.To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210


Below is the error message, I believe my web server does not have the correct configuration or I did not move out the right .dlls. Thanks alot!

Server Error in '/ajax' Application.

Configuration Error

Description:An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message:Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 34: <!--<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>-->Line 35: <!--<add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>-->Line 36: <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>Line 37: <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies>Line 38: </compilation>


Source File:D:\Inetpub\wwwroot\AJAXEnabledTest1\web.config Line:36

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded.

WRN: Assembly binding logging is turned OFF.To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.Note: There is some performance penalty associated with assembly bind failure logging.To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].



Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210


All I needed to do was to install theASP.NET 2.0 AJAX Extensions 1.0 framework, which contains all files needed


Thanks, it woks!

pls help me

hey sir if u find out ur this problem then pls u send me any help related to this

i have also same problem taht my web site works fine on my local machine and it's give error like this on web server

Server Error in '/' Application.

Configuration Error

Description:An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message:Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (D:\WebRoot\Domains\rajasthanjewellery.com\wwwroot\web.config line 54)

Source Error:

Line 52: Line 53: <httpModules>Line 54: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>Line 55: </httpModules>Line 56: </system.web>


Source File:D:\WebRoot\Domains\rajasthanjewellery.com\wwwroot\web.config Line:54


Have you installed ASP.NET AJAX on the server? (That's what worked for the original poster.)

No sir i have not installed asp.net ajax on my server

pls tell me how to install asp.net ajax on server.

i don't know how to install it on server.


wish_dev:

No sir i have not installed asp.net ajax on my server

pls tell me how to install asp.net ajax on server.

i don't know how to install it on server.

Check this out:

http://ajax.asp.net/docs/InstallingASPNETAJAX.aspx

Hope this helps,

Vivek


hey sir,

i install asp.net ajax on my local computer and i have also option in for create new web site with ajax enabled.

and i also install asp control toolkit.

my all website works well on my local computer and after made setup it's works fine on my localhost but when i upload this web site i get some problem like this

Server Error in '/' Application.

Configuration Error

Description:An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message:Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. (D:\WebRoot\Domains\rajasthanjewellery.com\wwwroot\web.config line 54)

Source Error:

Line 52: Line 53: <httpModules>Line 54: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>Line 55: </httpModules>Line 56: </system.web>


Source File:D:\WebRoot\Domains\rajasthanjewellery.com\wwwroot\web.config Line:54


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210


You need to log on to the server and run the installer, just like you did on your local machine.

u mean first i upload (ASPAJAXExtSetup.msi) in my httpdocs folder and then i have to install this msi from httpdocs folder.

is it correct or not.


Sure. It doesn't really matter where you download the file, just run it on the actual server.

hello.

you need to install it in the server. however, it looks like you only have access to a folder used to put your web app files. in that case, you must get in touch with the hosting comapny and ask them if they support ajax extensions.

Configuration of IIS6 and AJAX

I am using VS 2005 and have had no issues getting AJAX applications to work on my XP machine. I walked through much of the documentation and watched several of the videos. I have installed the ASPAJAXExtSetup.msi on my IIS server as prescribed and published my web project and deployed my web project to the IIS server. I'm running windows 2003 STD with updates. Needless to say it does not work. I mean no errors messages at all, and I get full round trips for my page instead of partial page refresh. I've deployed the absolute simplest of examples to. A page with a 2 labels and a button. 1 updatepanel with 1 label inside. Scriptmanager of course. Works fine on XP locally but not on server box. I do see some other posts and I have tried several suggestions. I have downloaded the AJAX extensions recently and I think most of the previous issues I see out there where resovled. The only item different is that I have VS 2005 installed on XP machine and not on Server. I would be hugely surprised though if I had to install VS2005 on all servers in my environment though. Web.config is basic and I will include:

<?xmlversion="1.0"?>

<configuration>

<configSections>

<sectionGroupname="system.web.extensions"type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

<sectionGroupname="scripting"type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

<sectionname="scriptResourceHandler"type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"requirePermission="false"allowDefinition="MachineToApplication"/>

<sectionGroupname="webServices"type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">

<sectionname="jsonSerialization"type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"requirePermission="false"allowDefinition="Everywhere" />

<sectionname="profileService"type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"requirePermission="false"allowDefinition="MachineToApplication" />

<sectionname="authenticationService"type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"requirePermission="false"allowDefinition="MachineToApplication" />

</sectionGroup>

</sectionGroup>

</sectionGroup>

</configSections>

<system.web>

<pages>

<controls>

<addtagPrefix="asp"namespace="System.Web.UI"assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

</controls>

</pages>

<compilationdebug="false">

<assemblies>

<addassembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

</assemblies>

</compilation>

<httpHandlers>

<removeverb="*"path="*.asmx"/>

<addverb="*"path="*.asmx"validate="false"type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<addverb="*"path="*_AppService.axd"validate="false"type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<addverb="GET,HEAD"path="ScriptResource.axd"type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"validate="false"/>

</httpHandlers>

<httpModules>

<addname="ScriptModule"type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

</httpModules>

</system.web>

<system.web.extensions>

<scripting>

<webServices>

</webServices>

</scripting></system.web.extensions>

<system.webServer>

<validationvalidateIntegratedModeConfiguration="false"/>

<modules>

<addname="ScriptModule"preCondition="integratedMode"type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

</modules>

<handlers>

<removename="WebServiceHandlerFactory-Integrated" />

<addname="ScriptHandlerFactory"verb="*"path="*.asmx"preCondition="integratedMode"

type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<addname="ScriptHandlerFactoryAppServices"verb="*"path="*_AppService.axd"preCondition="integratedMode"

type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

<addname="ScriptResource"preCondition="integratedMode"verb="GET,HEAD"path="ScriptResource.axd"type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />

</handlers>

</system.webServer>

</configuration>

Ok, you didn't NEED to install the msi... all you really need to do is include the ajax (System.Web.Extentions.dll) in your bin folder

Now...
1) does the server have 2.0 installed?
2) is the server setup to allow Asp.Net pages? (by default they may be turned off)
3) is the site/folder/application setup to be using 2.0 and not 1.x?


1. Yes , server does have the .NET framework version 2.0 installed.

2. Yes, Asp.NET is allowed because simple example I placed out there does work in terms of pure ASPX stuff, but does not work in terms of AJAX functions. Other ASPX site work as well.

3. YES, 2.0

Interesting that I don't need to install full MSI. I will try your suggestion. I am actually wiping the box now and will start again will a clean install. Seems like it still should have worked though eventhough I installed the MSI. The install supposedly installs the Extentions DLLs


I'm working now.

Installing MSI apparently prevented my app from working correctly, but copying the DLL directly into bin directory worked fine.

Configuration Error - Unrecoginzed Type

I built an Atlas site on my local machine then moved it out to the server and this is the error I receive. Any ideas?

Configuration Error

Description:An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message:Unrecognized attribute 'type'.

Source Error:

Line 13: -->
Line 14: <configSections>
Line 15: <sectionGroup name="microsoft.web" type="Microsoft.Web.Configuration.MicrosoftWebSectionGroup">
Line 16: <section name="converters" type="Microsoft.Web.Configuration.ConvertersSection" requirePermission="false"/>
Line 17: <section name="webServices" type="Microsoft.Web.Configuration.WebServicesSection" requirePermission="false"/>

hello.

since you must surelly have the atlas dll in the bin folder, i must ask if you have configured IIS to run asp.net 2.0


Hi Luis:

Would you please see you can help with the following, I have EXACTLY the same problems as Ianem, and do not know what to do next.

Ianem posted:

“I installed atlas on my dev machine and everything works great. When I try
to get it working on the server, I get this error when building the page:
"Request for the permission of type 'System.Web.AspNetHostingPermission,
System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'
failed"on the line where I have the ScriptManager tag. I set everything up
the same as I did on my dev machine, but nothing works. I added the
reference to the atlas dll in /bin. I registered the assembly on the page.
I installed atlas on the server. Does anyone know what I can do? Thanks.”

I had Microsoft.Web.Atlas.dll in the “bin” and evenScriptLibrary folder in the root of the project as MorningZ suggested, and yes it is configured IIS to run asp.net 2.0 but there is no different at all. Still get the same error messages.

Any suggestion and help is greatly appreciated!!!

Thanks.


I am receiving the same error. And, yes, IIS is running ASP.NET 2.0.

Does anyone have an answer for this issue? Thanks in advance!

...Jim...


hello.

this last error is different from the 1st one. in this case, we're speaking about a permissions problem, which normally occurs due to the fact that the bridgemodule is active. if this is the case, deactivate it or change the permission level of your app (through the <trust> element)


OK, Pardon my ignorance!

Note to self: Verify and THEN answer. I didn't have the site set to run ASP.NET 2.0. It's working now. Thanks!

...Jim...

Wednesday, March 21, 2012

Complex page with slider control works locally, but breaks when run from production server

I have my ASP.NET 2.0 AJAX product working fine on my local machine. However, when I upload it to our production server and run it from there, I get the following Javascript error when the page first loads:

IE: "Microsoft JScript runtime error: Object doesn't support this property or method"
Firefox: "this.control.get_text is not a function"

It occurs on line 239 of the Slider control's WebResource.axd:

var _elementValue = Number.parse(this.control.get_text());

When running locally, the runs under the VS2005 built in web server athttp://localhost:xxxx/MyGossip/. The production server's address is ishttp://production/MyGossip/.

The page source is as follows (there are a couple of trivial web service methods in the code behind that are not shown):

<%@dotnet.itags.org. Page Language="C#" AutoEventWireup="true" CodeFile="Search.aspx.cs" Inherits="Search" %>

<%@dotnet.itags.org. Register Assembly="RadTabStrip.Net2" Namespace="Telerik.WebControls" TagPrefix="radTS" %>
<%@dotnet.itags.org. Register src="http://pics.10026.com/?src=Stars.ascx" TagName="Stars" TagPrefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<link type="text/css" rel="stylesheet" href="http://links.10026.com/?link=Results.css" />
<link type="text/css" rel="stylesheet" href="http://links.10026.com/?link=Default.css" />
<link type="text/css" rel="stylesheet" href="http://links.10026.com/?link=Rating.css" />
<title>MyGossip - Search tours</title>
</head>
<body>

<form id="Form1" runat="server">

<atlas:ScriptManager ID="s1" EnablePartialRendering="true" runat="server">
<Scripts>
</Scripts>
</atlas:ScriptManager>

<table align="center" style='width:800px;'>
<tr>
<td>
Min rating
</td>
<td colspan="2">
Max cost (0 for none)</td>
<td style='width: 199px'>
<atlas:UpdateProgress ID="UpdateProgress1" runat="server">
<ProgressTemplate>
<span id="DivProgress" style='font-size:90%; position:relative; top:-9px; left:200px; background-color:#666699;color:white; font-weight:bold;padding:3px;'>
Loading...
</span>
</ProgressTemplate>
</atlas:UpdateProgress>

</td>
</tr>
<tr>
<td style='width:300px;'>

<asp:DropDownList ID="DropDownListRating" runat="server" AutoPostBack="True" CssClass="textbox" Visible="false">
<asp:ListItem Value="0">All ratings</asp:ListItem>
<asp:ListItem Value="1">At least *</asp:ListItem>
<asp:ListItem Value="2">At least * *</asp:ListItem>
<asp:ListItem Value="3">At least * * *</asp:ListItem>
<asp:ListItem Value="4">At least * * * *</asp:ListItem>
<asp:ListItem Value="5">At least * * * * *</asp:ListItem>
</asp:DropDownList>


<atlasToolkit:Rating ID="RatingMinRating" runat="server"
CurrentRating="0" Direction="LeftToRight" ReadOnly="false" StarCssClass="ratingStar"
WaitingStarCssClass="savedRatingStar" FilledStarCssClass="savedRatingStar" EmptyStarCssClass="emptyRatingStar">
</atlasToolkit:Rating>


</td>
<td style='width:1px;'>
<asp:TextBox ID="SliderMaxCost" runat="server" style='width:80px;' AutoPostBack='true'></asp:TextBox>
</td>
<td style='width:80px;'>
<asp:TextBox ID="TextBoxMaxCost" runat="server" MaxLength="5" Columns="5" AutoPostBack="true" CssClass="textbox"></asp:TextBox>
<atlasToolkit:SliderExtender ID="SliderExtender1" runat="server">
<atlasToolkit:SliderProperties TargetControlID="SliderMaxCost" BoundControlID="TextBoxMaxCost"
Decimals="0" Minimum="0" Maximum="1000" Length="80" /></atlasToolkit:SliderExtender>
AUD
</td>
<td style='text-align:right;'>
<asp:Button ID="Button1" runat="server" Text="Update" />
</td>
</tr>
<tr>
<td colspan="4">

<atlas:UpdatePanel ID="UpdatePanelResultGrid" runat="server">

<Triggers>
<atlas:ControlEventTrigger ControlID="RatingMinRating" EventName="Changed" />
<atlas:ControlEventTrigger ControlID="Button1" EventName="Click" />
</Triggers>

<ContentTemplate>

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1"
style='width:100%' CellPadding='4' AllowPaging='True' AllowSorting='True'>
<Columns>
<asp:TemplateField HeaderText="Activity" SortExpression="name">
<ItemTemplate>
<span class="ResultTitle">
<asp:Label ID="Label1" runat="server" Text='<%# Bind("name") %>'></asp:Label>
</span>
<br />
<asp:Label ID="Label3" runat="server" Text='<%# Bind("description") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="duration" HeaderText="Duration" SortExpression="duration" />
<asp:BoundField DataField="departs" HeaderText="Departs" SortExpression="departs" />
<asp:BoundField DataField="price" DataFormatString="{0:0.00} AUD" HeaderText="Cost"
SortExpression="price" />
<asp:TemplateField HeaderText="Rating" SortExpression="rating">

<ItemTemplate>
<uc1:Stars ID="Stars1" runat="server" Rating='<%# Eval("rating") %>' />
</ItemTemplate>
</asp:TemplateField>

<asp:TemplateField>
<ItemTemplate>
<asp:LinkButton ID="LinkButtonShowDetails" runat="server" Text="more"></asp:LinkButton>
<atlasToolkit:ModalPopupExtender ID="ModalPopupExtenderDetails" runat="server">
<atlasToolkit:ModalPopupProperties
TargetControlID="LinkButtonShowDetails"
PopupControlID="PanelPopupDetails"
DynamicControlID="LabelPopupDetailsDynamic"
DynamicContextKey='<%#Eval("name")%>'
DynamicServiceMethod="GetContent"
OkControlID="ButtonPopupDetailsClose"
BackgroundCssClass="ModalBackground" />
</atlasToolkit:ModalPopupExtender>

|

<asp:LinkButton ID="LinkButtonAddToShortlist" runat="server" Text="shortlist"></asp:LinkButton>
<atlasToolkit:ModalPopupExtender ID="ModalPopupExtenderShortlist" runat="server">
<atlasToolkit:ModalPopupProperties
TargetControlID="LinkButtonAddToShortlist"
PopupControlID="PanelPopupShortlist"
DynamicControlID="LabelPopupShortlistDynamic"
DynamicContextKey='<%#Eval("name")%>'
DynamicServiceMethod="AddToShortlist"
OkControlID="ButtonPopupShortlistClose"
BackgroundCssClass="ModalBackground" />
</atlasToolkit:ModalPopupExtender>

</ItemTemplate>
</asp:TemplateField>

</Columns>
</asp:GridView>
</ContentTemplate>

</atlas:UpdatePanel>

</td>
</tr>
</table>

<asp:Panel ID="PanelPopupDetails" runat="server" style='display:none;' CssClass='Popup'>
<h3>
<asp:Button ID="ButtonPopupDetailsClose" runat="server" Text="Close" style='float:right' />
<asp:Label ID="LabelPopupDetailsDynamic" runat="server" />
</h3>

<radTS:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" SelectedIndex="0"
Align="justify"
style='margin-bottom: -1px;'>
<Tabs>
<radTS:Tab runat="server" Text="Tour details"></radTS:Tab>
<radTS:Tab runat="server" Text="Reviews"></radTS:Tab>
<radTS:Tab runat="server" Text="Pricing"></radTS:Tab>
</Tabs>
</radTS:RadTabStrip>
<radTS:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0"
style='BORDER:solid 1px #BBBBBB; width:95%; padding:20px; background-color:#FAFAFA;'>
<radTS:PageView ID="PageView1" runat="server" Width="100%">
<div>
<h3>
<img src="http://pics.10026.com/?src=images/bus.png" style='float:right; margin-left:20px;margin-bottom:10px;' alt='' />
Tour details
</h3>

<ul>
<li class="style4">1 Hour Daintree River Cruise<br />
</li>
<li class="style4">Hand feed kangaroos<br />
</li>
<li class="style4">Lunch at a freshwater creek<br />

</li>
<li class="style4">4WD the "Bloomfield Track"<br />
</li>
<li class="style4">Small & personalised </li>
</ul>
<p class="style14">Your naturalist guide will meet you at your accommodation at around 7am.
The first 1/2 of the journey north is very scenic with beautiful ocean views in contrast with the lush
farmland around Mossman. After morning tea you will learn about the mangrove rainforests, and hopefully
observe local wildlife including the Estuarine Crocodiles on the Daintree River Cruise. </p>

<p class="style14">This tour offers a little more. It takes you beyond Cape Tribulation along the 4WD
only 'Bloomfield Track', allows time for a swim in the Coral Sea at Cape Tribulation (seasonal).
There is no set timetable. You can enjoy elevated walks through the Cape Tribulation National Park
with experienced guides who allow ample time for questions and photographs. While you are taking a swim
in a tranquil freshwater stream the BBQ lunch is prepared then served with home made salads, tropical
fruit and Australian wine. You will probably see fish and turtles in the creek, butterflies and exotic
birds in the trees and often Goannas on the forest floor all at the luncheon site. On the way home enjoy
a short afternoon refreshment stop where you can pat a Kangaroo, scratch a cockatoo, have a cold beer or
sip a cup of local tea. Return to Cairns by 6:30pm. </p>
</div>
</radTS:PageView>
<radTS:PageView ID="PageView2" runat="server" Width="100%">
<div>
<h3>Reviews</h3>
<p><strong>Samantha, 22, Canada</strong>
<img src="http://pics.10026.com/?src=Images/Stars/star_on.png" /><img src="http://pics.10026.com/?src=Images/Stars/star_on.png" /><img
src="http://pics.10026.com/?src=Images/Stars/star_on.png" /><img src="http://pics.10026.com/?src=Images/Stars/star_half.png" /><img src="http://pics.10026.com/?src=Images/Stars/star_off.png" />
</p>
<p>
Our tour guide Geoff was amazing and the size of the group was just right. I would definitely recommend this tour
to backpackers.
</p>
<p>Helpful? <input type="button" value="Yes"/ > <input type="button" value="No"/ ></p>

<p><strong>Keith, 24, Ireland</strong>
<img src="http://pics.10026.com/?src=Images/Stars/star_on.png" /><img src="http://pics.10026.com/?src=Images/Stars/star_on.png" /><img
src="http://pics.10026.com/?src=Images/Stars/star_on.png" /><img src="http://pics.10026.com/?src=Images/Stars/star_on.png" /><img src="http://pics.10026.com/?src=Images/Stars/star_off.png" />
</p>
<p>
I only had two days in cairns, so this tour was perfect for me. If you're looking for a way to pack in as much
as you can in one day this would be the tour for you.</p>
<p>Helpful? <input type="button" value="Yes"/ > <input type="button" value="No"/ ></p>

<p><strong>Felicia, 19, UK</strong>
<img src="http://pics.10026.com/?src=Images/Stars/star_on.png" /><img src="http://pics.10026.com/?src=Images/Stars/star_on.png" /><img
src="http://pics.10026.com/?src=Images/Stars/star_on.png" /><img src="http://pics.10026.com/?src=Images/Stars/star_half.png" /><img src="http://pics.10026.com/?src=Images/Stars/star_off.png" />
</p>
<p>
Make sure you know what the weather is going to be like before you book this tour, it rained the whole time we were
there. But our tour guide made me most of it and was really enternaining.
</p>
<p>Helpful? <input type="button" value="Yes"/ > <input type="button" value="No"/ ></p>

</div>
</radTS:PageView>
<radTS:PageView ID="PageView3" runat="server" Width="100%">
<div>
<h3>Pricing</h3>
<p>All prices shown in Australian Dollars, valid from 1 April 2006 until 31 March 2007</p>
<table width="400" border="0" cellpadding="5" cellspacing="0">
<tr>
<th align="left" ><span class="style15"></span></td>
<th align="center"><span class="style1">Adult</span></td>

<th align="center"><span class="style1">Child</span></td>
<th align="center"><span class="style1">Family</span></td>
</tr>
<tr>
<th align="right"><span class="style1">Safari, Pensioner</span></td>
<td align="center"><span class="style1">$ 135</span></td>
<td align="center"><span class="style1">n/a</span></td>

<td align="center"><span class="style1">n/a</span></td>
</tr>
<tr onmouseover="return escape('Daintree/Cape Tribulation/4WD Bloomfield Track')">
<th align="right"><span class="style1">One Day Safari</span></td>
<td align="center"><span class="style1">$ 145</span></td>
<td align="center"><span class="style1">$ 95</span></td>
<td align="center"><span class="style1">$ 440</span></td>

</tr>
<tr>
<th align="right"><span class="style1">One Day Safari ex Port Douglas</span></td>
<td align="center"><span class="style1">$ 145</span></td>
<td align="center"><span class="style1">$ 95</span></td>
<td align="center"><span class="style1">$ 440</span></td>
</tr>
</table>

</div>
</radTS:PageView>
</radTS:RadMultiPage>

</asp:Panel>


<asp:Panel ID="PanelPopupShortlist" runat="server" style='display:none;' CssClass='Popup'>
<h3>
Trip added!
<asp:Button ID="ButtonPopupShortlistClose" runat="server" Text="Close" style='float:right' />
</h3>
<h4>Your shortlist is as follows:</h4>
<ul>
<asp:Label ID="LabelPopupShortlistDynamic" runat="server" />
</ul>
</asp:Panel>

<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:MyGossipConnectionString %>"
ProviderName="<%$ ConnectionStrings:MyGossipConnectionString.ProviderName %>"
SelectCommand="SELECT [name], [description], [duration], [departs], [price], [no_days], [rating] FROM [Tour] WHERE (([rating] >= @dotnet.itags.org.rating) AND (@dotnet.itags.org.price = 0 OR [price] <= @dotnet.itags.org.price))">
<SelectParameters>
<asp:ControlParameter ControlID="RatingMinRating" DefaultValue="0" Name="rating"
PropertyName="CurrentRating" Type="Decimal" />
<asp:ControlParameter ControlID="TextBoxMaxCost" DefaultValue="0" Name="price"
PropertyName="Text" Type="Decimal" />
</SelectParameters>
</asp:SqlDataSource>

</form>

</body>
</html>

Any help appreciated.

Mike

Hi,

since the code is working on the local environment, it doesn't seem a problem related to the Slider, but instead to the production environment. Please check that all the client files are correctly sent to the browser.


I pointed an HTTP sniffer at requests made to both the local and remote sites, but as far as I can see, the same AXD requests are successfully made both on the local and remote machines. A total of 13 MS Ajax / Atlas control kit files are downloaded from h my test server and the production server:

MS client side library (beginningfunction WebForm_PostBackOptions...)

Hi,

there seems to be a problem with the markup rendered by the extender:

<control id="SliderMaxCost"> <behaviors> <slider:SliderBehavior ... /> </behaviors></control>
This is strange because it should render a textBox element rather than a control (the extender base class takes care of this). Rendering a control means that that the text property is not defined, and it crashes. I'll investigate and follow-up as soon as possible.

Hi,

please check if you' ve got an older version of the Control Toolkit on your production machine. You must have the September release assembly in order to use the Slider extender.


I just file copied the entire project folder structure from the development machine to the production server. The fact that the HTTP sniffer shows the slider behaviour javascript file being downloaded surely indicates that the correct version is installed.

Any other ideas?

Mike


Hi,

it can happen when embedding a new extender in a previous version of the Control Toolkit and then recompiling, for example. However, it seems not your case. I'll continue to investigate.


Thanks for taking the time with this. I simplified the problem and posted it as a new question, which may make your investigations easier:

http://forums.asp.net/thread/1420009.aspx

Cheers,

Mike

compilation error comes, if "ASPAJAXExtSetup.msi" is not installed

hello,

whts the cause when AJAX-enabled application complied such a machine, where "ASPAJAXExtSetup.msi" is not installed....error is "enable to load assembly....cause very much clear due to not installation of "ASPAJAXExtSetup.msi"...

but, it is necessary to install such ...msi or we can add some "dlls" in application as we are doing previously in case of "Atlas".

wht we have to do....suggest me.....

Ajmal

you need

v1.061025 System.Web.Extensions.dll

v1.061025 System.Web.Extensions.Design.dll

i think you also need both of them in GAC


thnx dude....

but, it not need to install above dll's in GAC

Ajmal


hi

For GAC, be honestly i am not sure whether you need msi to do it or not

You can try drage system.web.extensions. dll and system.web.extensions.design.dll to C:\WINDOWS\assembly

then try run your ajax web page