Showing posts with label kit. Show all posts
Showing posts with label kit. Show all posts

Wednesday, March 28, 2012

Installing ajax extenstions and tool kit on server....

Hi All,

Im going to deploy an application that uses the ajax control tool kit to a server which as yet has not even one such application installed. And i have to create a case to convince that it is safe to install the extensions and toolkit on the server.

My arguments will be that

1) Only 2 assemblies are needed to be installed in GAC for the extensions. System.Web.Extensions and System.Web.Design.Extensions. So our backout strategy is fairly simple, all that needs to be done is unregister these assemblies from the GAC.

2) Ajax control tool kit assembly AjaxControlToolkit.dll will be just copied in the bin folder so this should not be an issue.

I also had a question if the app will work if the 2 System assemblies are simply copied in the bin folder?? I had read a post somewhere that the app has to run with full trust but did not quiet understand why that has to happen. To me if the assemblies are first searched in bin and if not found then searched in GAC, so this should work fine.

I also wanted to get the 2 points above validated because what I do has to go through an approval process and i have to be absolutely sure of what I am doing.

All answers appreciated, especially from someone who is managing servers where plain vanillla asp.net 2.0 apps and ajax apps are running side by side.

Regards,

Mahesh

Sorry about this..but i just confirmed that it is already an approved install..

Installing AJAX toll kit

hi,

we have developed our web page with AJAX and now we are in a stage to deploy our portal to the client. since we have used the ASPAJAXCTP.msi, we need to install in the clients place. is there any method to check whether AJAX tool kit has been installed already if not then install. can we check like this?

hope some one can help me on this.

thanks in advance

You can deploy the AJAX 1.0 in two ways:

1. By copying the AJAX dll files in bin folder of the application -> for this application should run full trust mode

2. You can place all the dll files in GAC

Its recommend deploying ASP.NET AJAX 1.0 in the GAC rather than the \bin directory. The main reason for this is that when we need to-do any updates like security fixes, critical updates, etc

it will be easy.


but when i started development in ajax i have installed these two setup. we dont need to install this in clients place? only the dll will do? is this right? please give your comments.

ASPAJAXCTP.msi , ASPAJAXExtSetup.msi

Yes you are correct.

INSTALLING CONTROL TOOL KIT

Hello Everyone,

I am trying to intall the Control tool kit from CodePlex and I am following instructions as perASP.NET AJAX Control Toolkit:
Installation and getting started
onhttp://ajax.asp.net/.

In the step where I have to open the AjaxControlToolkit.sln I get the errors:

1) The application for project 'C:\..\AjaxControlToolKit\SampleWebsite' is not installed.
Make sure the application for project type () is installed.

2) The application for project 'C:\..\AjaxControlToolKit\AjaxControlToolKit.csproject' is not installed.
Make sure the application for project type () is installed.

3) The application for project 'C:\..\AjaxControlToolKit\TEmplateVSI\TEplateVSI.csproject' is not installed.
Make sure the application for project type () is installed.

4) The application for project 'C:\..\AjaxControlToolKit\ToolKitTests' is not installed.
Make sure the application for project type () is installed.

I followed step by step of the instructions and I do not know what I am doing wrong.

Anyone can help?
Thanks in advance

Pati2005

Hi,

What version of Visual Studio are you using? These messages indicates that your visual studio can't open a project of type WebSite.

Please refer to this for more information: http://msdn2.microsoft.com/en-us/library/ms247038(vs.80).aspx

Application Not Installed Dialog Box

This dialog box appears with the error "The application for project <project> is not installed. Make sure the application for the project type (<projectextension>) is installed."
Workaround

This dialog box appears because a product required to open the specified file was not found. It is common for this error to occur when attempting to open a project file that cannot be opened with the installed version of Visual Studio. For example, attempting to open a Visual C# project file with Visual Basic 2005 Express Edition will open this dialog box.
To workaround this error

Install the correct version of Visual Studio.

Hope this helps.


Hello Raymond,

Thank you very much for the reply.
I am using Visual Web Developer Express 2005.
I will look at the link you mentioned at night when I have more time to see if I can work around.
Rgds
Pati2005

Installing Control Kit Problem

Hello...

I'm hoping someone can help. I'm trying to install the Atlas control kit to Visual Web Developer Express and get the following error whilst loading the solution file.

make sure the application for the project type (.csproj) is installed

I'm using all the latest downloads from this website

Any help would be much appreciated..

Iain

You need to have one of the Visual C# products installed to build the full Toolkit.

thanks for the suggestion. I've installed Visual C# Express but still get the same error.

Very frustrating as i would like to see what the atlas control do... :(


I think you'll need to open the AtlasControlToolit.csproj in Visual C# Express, build it, then copy the bits over to the SampleWebSite, open that in VWD and launch from there. Simply having C# Express installed isn't quite enough.
I'll confirm because when I'm at home I have to do the same thing when trying to work with a library and website. Smile
I'll confirm because when I'm at home I have to do the same thing when trying to work with a library and website. Smile
Briiliant, i hope your method works...Big Smile

Monday, March 26, 2012

Interfering Spans on Ajax Tab Control Customization

Hello I have a very picky problem when customizing the Ajax Tabs in the control kit.

1<AjaxControl:TabPanel ID="tpNewBooking" runat="server">
2<HeaderTemplate>
3<div class="firsttab">
4<div class="left">
5<div class="right">
6<div class="createtab">Create Booking</div>
7</div>
8</div>
9</div>
10</HeaderTemplate>
11<ContentTemplate>
1213<asp:UpdateProgress ID="UpdateProgress1" runat="server">
14<ProgressTemplate>
15<p style="font: 0.75em tahoma;">
16<img src="GFX/ajax-loader2.gif" style="vertical-align: bottom;" alt="loading..." />
17</p>
18</ProgressTemplate>
19</asp:UpdateProgress>
20<asp:UpdatePanel ID="UpdatePanel2" runat="server">
21<ContentTemplate>
22Content Here
23</ContentTemplate>
24</asp:UpdatePanel>
2526</ContentTemplate>
27</AjaxControl:TabPanel>

As you can see I have added DIVs into the header tags of the TabPanel, this is to customize each tab indidually as I will have a differentFirst Tab andLast Tabbut all other tabs will have the same styling.

Originally I tried using the :firstchild :lastchild CSS properties which caused a lot if problems with cross browser support so I had to figure a way of manipulating the control to assign a different style to the first and last tab. The best way I found was to add DIVs in the header, which in a way works.

What I did was use this CSS below:

1.ajax__tab_header { width:100%; background-image: url(../images/tabsbacktwo.gif); background-position:right; background-repeat:no-repeat; height:29px; }
23.ajax__tab_header span { padding:0; margin:0; }
4.ajax__tab_header span { padding:0; margin:0; }
56.ajax__tab_header span.ajax__tab_active span { padding:0; margin:0; }
7.ajax__tab_header span span span span.ajax__tab_tab { padding:0; margin:0; }
8.ajax__tab_header span.ajax__tab_active span span span.ajax__tab_tab { padding:0; margin:0; }
9101112/* First Tab */13.ajax__tab_header span span span span.ajax__tab_tab .firsttab { background-image:url(../images/tab-normal-center.gif); background-position:bottom; background-repeat:repeat-x; height:29px; }
14.ajax__tab_header span span span span.ajax__tab_tab .firsttab .left { background-image:url(../images/tab-normal-left.gif); background-position:bottom left; background-repeat: no-repeat; padding-left:11px; height:29px; }
15.ajax__tab_header span span span span.ajax__tab_tab .firsttab .right { background-image:url(../images/tab-normal-center.gif); background-position:bottom right; background-repeat: no-repeat; padding-right:11px; height:29px; }
1617.ajax__tab_header span.ajax__tab_active span span span.ajax__tab_tab .firsttab { background-image:url(../images/tab-first-center.gif); background-position:bottom; background-repeat:repeat-x; height:29px; }
18.ajax__tab_header span.ajax__tab_active span span span.ajax__tab_tab .firsttab .left { background-image:url(../images/tab-first-left.gif); background-position:bottom left; background-repeat: no-repeat; padding-left:12px; height:29px; }
19.ajax__tab_header span.ajax__tab_active span span span.ajax__tab_tab .firsttab .right { background-image:url(../images/tab-first-right.gif); background-position:bottom right; background-repeat: no-repeat; padding-right:11px; height:29px; }
2021/* Other Tabs */22.ajax__tab_header span span span span.ajax__tab_tab .othertab { background-image:url(../images/tab-normal-center.gif); background-position:bottom; background-repeat:repeat-x; height:29px; }
23.ajax__tab_header span span span span.ajax__tab_tab .othertab .left { background-image:url(../images/tab-normal-center.gif); background-position:bottom left; background-repeat: no-repeat; padding-left:11px; height:29px; }
24.ajax__tab_header span span span span.ajax__tab_tab .othertab .right { background-image:url(../images/tab-normal-center.gif); background-position:bottom right; background-repeat: no-repeat; padding-right:11px; height:29px; }
2526.ajax__tab_header span.ajax__tab_active span span span.ajax__tab_tab .othertab { background-image:url(../images/tab-second-center.gif); background-position:bottom; background-repeat:repeat-x; height:29px; }
27.ajax__tab_header span.ajax__tab_active span span span.ajax__tab_tab .othertab .left { background-image:url(../images/tab-second-left.gif); background-position:bottom left; background-repeat: no-repeat; padding-left:10px; height:29px; }
28.ajax__tab_header span.ajax__tab_active span span span.ajax__tab_tab .othertab .right { background-image:url(../images/tab-second-right.gif); background-position:bottom right; background-repeat: no-repeat; padding-right:10px; height:29px; }
2930/* Last Tab */31.ajax__tab_header span span span span.ajax__tab_tab .lasttab { background-image:url(../images/tab-normal-center.gif); background-position:bottom; background-repeat:repeat-x; height:29px; }
32.ajax__tab_header span span span span.ajax__tab_tab .lasttab .left { background-image:url(../images/tab-normal-center.gif); background-position:bottom left; background-repeat: no-repeat; padding-left:12px; height:29px; }
33.ajax__tab_header span span span span.ajax__tab_tab .lasttab .right { background-image:url(../images/tab-normal-right.gif); background-position:bottom right; background-repeat: no-repeat; padding-right:11px; height:29px; }
3435.ajax__tab_header span.ajax__tab_active span span span.ajax__tab_tab .lasttab { background-image:url(../images/tab-last-center.gif); background-position:bottom; background-repeat:repeat-x; height:29px; }
36.ajax__tab_header span.ajax__tab_active span span span.ajax__tab_tab .lasttab .left { background-image:url(../images/tab-last-left.gif); background-position:bottom left; background-repeat: no-repeat; padding-left:11px; height:29px; }
37.ajax__tab_header span.ajax__tab_active span span span.ajax__tab_tab .lasttab .right { background-image:url(../images/tab-last-right.gif); background-position:bottom right; background-repeat: no-repeat; padding-right:11px; height:29px; }

Which to an extent worked but only in IE 7. Looking at the same page in Firefox there are gaps between the tabs which I can only assume is being caused by the spans the control is automatically adding to the headers. This is what it looks like in Firefox:

tab problem


So now you know the problem, what options do I have and is there any third party ajax tab controls that I could use that don't add the stupid spans automatically?

Thanks in advance, look forward to hearing from you guys :)

 

Okay I managed to get it looking the same on IE7 and FF adjusting the paddings slightly but it completely screws up in IE6 (shown below).

Any ideas anyone?


Hey all .

I need to to have complete control of styles that are applied to each tab

eg

a. for the first tab i need a curve to appear on left side

b.for the second tab i need left side to be vertical and curve on the right side.

the effect would be as below

(tab1 | tab2)


also i want to round off corners of the the tab container.so that it would look like something below


( )

| |

| |

(------)

Pls suggest our comments.

Thanks.


hey am too stuck on something similar below is the query. can u help out someway.

thanks in advance

I need to to have complete control of styles that are applied to each tab

eg

a. for the first tab i need a curve to appear on left side and vertical on right side

b.for the second tab i need left side to be vertical and curve on the right side.

the effect would be as below

(tab1 | tab2)


also i want to round off corners of the the tab container.so that it would look like something below


( )

| |

| |

(------)

Pls suggest our comments.

Thanks.


topgun2129:

Hey all .

I need to to have complete control of styles that are applied to each tab

eg

a. for the first tab i need a curve to appear on left side

b.for the second tab i need left side to be vertical and curve on the right side.

the effect would be as below

(tab1 | tab2)


also i want to round off corners of the the tab container.so that it would look like something below


( )

| |

| |

(------)

Pls suggest our comments.

Thanks.


Although your problem isn't really anything to do with mine, the answer to your problem is in my code above if you take a look.

The CSS is there and the code for putting in the HeaderTemplate of the Ajax Tabs is there too.

By all means use the code for your tabs :)


hey hi, can u post me a working sample code. am currently lost.

topgun2129@.gmail.com

thanks in advance.


hey novi,

thanks for that piece of code am now in complete control of my tabs.

thanks.


topgun2129:

hey novi,

thanks for that piece of code am now in complete control of my tabs.

thanks.

No worries, glad you used your own initiative to extract the code from above. That's a good sign Smile


Hi Novi

Could you email me the working code of Ajax tab control:

petermathro@.yahoo.com

Thanks

Peter

Wednesday, March 21, 2012

Is is required to install AJAX extension in the server to run ajax enabled site

Hi,

I have a .net application using Ajax extensions and tool kit. Now I am trying to deploy it in Win 2003 server.

After installation when I try to open the application I get the following error:

"Could not load file or assembly 'System.Web.Extensions, "

I wanted to know if it is required that I have to manually install the Ajax extension on the server. Or the dll in the bin folder of my project for the Ajax extension is enough.

Thanks

gayathri.

I think it needs to reside in the GAC on the server. I had a similar issue.


Eric


Thanks eseidel,

Could you please say me how u resolved it. I have not done anything on GAC earlier.

Thanks,

Gayathri.


Hi Gayathri,

Install ASP .Net Ajax in the server (this automatically registers the dlls in the GAC). This should take care of the problem.

If this is not possible then you have to manually register the dll in the GAC. For this you can do two things:

1. Drag and drop the dll into c:\Windows\Assembly or

2. Use GACUtil. Check out this link to get a clear idea of using the utility.

http://msdn2.microsoft.com/en-us/library/ex0ss12c(VS.80).aspx

hope this helps.

Thanks,

Raja


Could you possibly tell me which file i'd need to download... preferably the location for the asp.net ajax framework for the dedicated servers?


Hi, My problem was resolved after installling the ASP.net AJax Extension MSI in my server.

You don't have to place it in any specific location. Just download the latest version of the Ajax Extension Framework from the ASP.net AJax site and install the MSI in your server. After the installation, you should be able to see the files in the below path in your server

"C:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\"

-Gayathri