Showing posts with label visual. Show all posts
Showing posts with label visual. Show all posts

Monday, March 26, 2012

problem about Collapsed proterty of CollapsiblePanelExtender

i set Collapsed="true" and i found that the target panel was first Expanded then Collapsed with a visual effect after the page loaded.

i hope the panel keeps Collapsed without any visual effect.

anyone please helps me.Crying

Here's my code to accomplish that. Hope it helps.

<asp:Image ID="Image2" runat="server" AlternateText="(Got Your PartNumber? Quick Order Here)"
ImageUrl="~/images/collapse.jpg" />
Quick Order<br />
<asp:Label ID="lblReplacementPart" runat="server" ForeColor="Red"></asp:Label>

<asp:Panel ID="PanelQuickOrder" runat="server">
<table class="contentText">
<tr>
<td colspan="2" nowrap="nowrap">
Enter Part Number:<br />
<asp:TextBox ID="txtPartNumber" runat="server"></asp:TextBox><br />
<i>format ####-######</i>
</td>
</tr>
<tr>
<td colspan="2">
Qty: <asp:TextBox ID="txtQOQty" runat="server" Width="25" Text="1"></asp:TextBox><br />
</td>
</tr>
<tr>
<td align="right" colspan="2">
<asp:Button ID="btnQO_AddCart" runat="server" Text="Add to Cart" OnClick="btnQO_AddCart_Click" /></td>
</tr>
</table>
</asp:Panel>

<ajax:CollapsiblePanelExtender ID="cpe2" runat="Server" AutoCollapse="False" AutoExpand="False"
CollapseControlID="Image2" Collapsed="True" CollapsedImage="~/images/expand.jpg"
CollapsedSize="2" CollapsedText="Got PartNumber? Use Quick Order" ExpandControlID="Image2"
ExpandDirection="Vertical" ExpandedImage="~/images/collapse.jpg" ExpandedSize="150"
ExpandedText="Got PartNumber? Use Quick Order" ImageControlID="Image2" ScrollContents="false"
SuppressPostBack="true" TargetControlID="PanelQuickOrder">
</ajax:CollapsiblePanelExtender>


Doraeimo,

I am actually having the same issue as you. if you watch the video on the collapsible panel you will notice that he uses a CssClass that sets the height of the content panel to 0px. this is suposed to "hide" the content panel at page load. it works very nicely for him in the video, so maybe it will work for you as well. However; setting the height directly in the panel definition, or in a cssclass does not do the trick for me. you should at least give it a try to see if that works for you !

Sorry to piggyback on your post here. but since it works in the video it may work for you, and maybe some one has some ideas as to why setting the height for me doesnt work.

Saturday, March 24, 2012

Problem after update to RTM from RC

Hi, I have VS 2005 Pro with sp1 installed.

I uninstalled RC version correctly, after that I installed RTM version. I open Visual Studio and reload my solution, but when I try to select a form in browse solution it turns out to be impossible.
So I tried to uninstall RTM and reinstall it but the situation is the same.

Are there someone can help me?

Thanks in advance.

Filippo Macchi.

hi

Can you give me more detail about "select a form in browse solution it turns out to be impossible"

like you can not click ? or solution can not open? is it only for AJAX project?

thanks


The solution is opening correctly. The problem is that when I click the toolbox the system play a sound like as "operation not permitted", so it's impossible to select a form.

This problem occured also when I start Visual Studio without open any exiting project, usually you can click into the toolbox, but now I can't do it. And that sound keeps repeating itself.

Wednesday, March 21, 2012

problem in using AJAX

i am using visual web developer 2005 and SQL Express 2005 with VB as the code behind

i have created a web site using ASP.NET Web Site installed template

now i want to add AJAX to my web site .

i have downloaded the AJAX December CTP and installed and it is working fine with newly created website using the ASP.NET AJAX CTP-Enabled WebSite template

is it possible to convert my existing web site to use AJAX or should i do it from the beginning

please help me

You can convert the website to use Ajax from an Atlas CTP. This guide should help.

http://ajax.asp.net/documentation/Migration_Guide_CTP_to_RTM.aspx

Problem installing Atlas

I am installing Atlas for the first time. I have both Visual Studio 2003 and 2005 installed. When I try to install Atlas I get this error message

Installation stopped because the directory for the ProjectType value did not exist. The project type is invalid for your installation of Visual Studio.

Is this because I have both Visual Studios installed and can it be remedied short of uninstalling 2003.

Thanks for reporting the issue. We will investigate the problem and post an update when we have more info.

In the meanwhile, can you try the following workaround:
- Launch Atlas setup, uncheck "Install Atlas Visual Studio Project Template" and finish the setup.
- Then go to locate ASPNETAtlas.vsi under your program files path (e.g. C:\Program Files\Microsoft ASP.NET\Atlas\v2.0.50727)
- Double click the ASPNETAtlas.vsi file to launch the Visual Studio Content Installer dialog.
- Find the link above the Publish information area, it is called "View files in Windows Explorer..."
- Click on it to open the content of the vsi in Window Explorer
- If you have Visual C# installed, copy ASPNETAtlasWebApplicationCS.zip to the folder C:\Documents and Settings\<your user id>\My Documents\Visual Studio 2005\Templates\ProjectTemplates\Visual Web Developer\CSharp\
- Respectively, if you have Visual Basic installed, copy ASPNETAtlasWebApplicationVB.zip to C:\Documents and Settings\<your user id>\My Documents\Visual Studio 2005\Templates\ProjectTemplates\Visual Web Developer\VisualBasic\
- Open a new VS 2005, do File->New->Web Site, you should see the Atlas Web Site template under "My Templates" when you choose Language Visual C# or Visual Basic


Perfect. I plopped the zip file into the location of the template directory and Visual Studio 2005 saw it and the template appeared in my templates objects. Thanks

Hello there,

i just installed atlas , and still cant make it appear in my toolbox even though i see it in "My Templates" when i choose the language...

so please tell me what to do, im using Visual web developer.

waiting for ur reply thanx


I presume you are referring having Atlas controls on the toolbox. Please check out thispost and see if that helps.


cool that worked thanx

but how can i get the AtlasControlExtender file

Thanx


Will thissetup walkthrough help?
ell ya if i was uisng visual studio 2005 ! im uisng the visual web developer !! it says it doesnt work with it :(