Results 1 to 5 of 5

Thread: problem In VS 2008 and 2005

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Mar 2009
    Location
    Dhaka
    Posts
    18

    problem In VS 2008 and 2005

    i am a Vs 2008 user also 2005. But problem is that in 2005 Layout option exist but in 2008 i cant see any Layout option . in 2005 from tool bar a button or text can be drag any palce if absolutr postion select in Layout . but how this possible in 2005. Another problem is that


    //////////////////////////////////////this code//////////////////
    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

    <%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

    <!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">
    <title>New Task In 2008 Visual Studio</title>
    <link href="StyleSheet.css" type="text/css" rel="stylesheet" />
    </head>
    <body>
    <form id="form1" runat="server">
    <div>

    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>

    </div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
    Create New Customer Click
    <asp:Button ID="Button1" runat="server" Height="18px" Text="Here"
    Width="57px" />
    <br />
    <br />
    <asp:Panel ID="Panel1" runat="server" CssClass ="PopupPanel" Style ="display:none">
    <br />
    <table border="0" cellpadding="3" cellspacing="3" style="width: 711px">
    <tr>
    <td style="width: 113px; height: 18px;">
    Customer Id:</td>
    <td style="height: 18px">

    <asp:TextBox ID="TextBox2" runat="server" Width="242px"></asp:TextBox>&nbsp;
    </td>
    <td colspan="2" style="height: 18px">
    </td>
    </tr>
    <tr>
    <td style="width: 113px">
    Customer Name:</td>
    <td>
    <asp:TextBox ID="TextBox1" runat="server" Width="242px"></asp:TextBox>
    </td>
    <td colspan="2">
    </td>
    </tr>
    <tr>
    <td style="width: 113px">
    </td>
    <td>
    <asp:Button ID="Button2" runat="server" Text="Close" OnClientClick="return false;" Width="83px" />
    &nbsp;</td>
    <td colspan="2">
    </td>
    </tr>
    </table>
    </asp:Panel>
    <cc1:ModalPopupExtender ID="ModalPopupExtender1" runat="server" PopupControlID ="Panel1" CancelControlID = "Button2" TargetControlID ="Button1" >
    </cc1:ModalPopupExtender>
    <cc1:AnimationExtender ID="AnimationExtender1" runat="server" Enabled ="True" TargetControlID ="Button1" >
    <Animations>
    <OnClick>
    <Sequence>
    <EnableAction Enabled="true"></EnableAction>
    <StyleAction AnimationTarget="Panel1" Attribute="display" Value="block"/>
    <Parallel AnimationTarget="Panel1" Duration=".5" Fps="30">
    <Resize Width="700" Height="150" />
    <FadeIn Duration=".5"/>
    </Parallel>
    </Sequence>
    </OnClick>
    </Animations>
    </cc1:AnimationExtender>
    <cc1:AnimationExtender ID="AnimationExtender2" TargetControlID = "Button2" Enabled ="True" runat="server">
    <Animations>
    <OnClick>
    <Sequence AnimationTarget="Panel1">
    <Parallel AnimationTarget="Panel1" Duration=".10" Fps="30">
    <Scale ScaleFactor="0.05" FontUnit="px" />
    <FadeOut />
    </Parallel>
    <StyleAction Attribute="height" Value="0px"/>
    <StyleAction Attribute="width" Value="0px"/>
    <StyleAction Attribute="fontSize" Value="14px"/>

    <EnableAction AnimationTarget="Button1" Enabled="true" />

    </Sequence>
    </OnClick></Animations>
    </cc1:AnimationExtender>
    </ContentTemplate>
    </asp:UpdatePanel>


    </form>
    </body>
    </html>
    ///////////////First i type in 2005 but there i fall problem but in VS2008 work properly . so i cant understand what the problem in VS2005 so it run but cant work properly. Please help me....Also suggest how i can use easy Vs 2005 or 2008 ..

  2. #2
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: problem In VS 2008 and 2005

    Hey,

    I am not sure that I understand the problem that you are having.

    Can you clarify what the problem is exactly? Also, when you are posting can you make sure you surround your code in CODE tags, it makes it much easier to read.

    The one thing that I can think of is that you are using Ajax, which isn't supported natively in 2005, you have to install some add on packs. Have you called everything necessary installed for 2005 on your machine?

    Gary

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Mar 2009
    Location
    Dhaka
    Posts
    18

    Re: problem In VS 2008 and 2005

    Actually i have done all the things for VS 2005 And install all necessary tool
    for ajax

  4. #4
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: problem In VS 2008 and 2005

    In which case, can you clarify exactly what the problem is that you are having, as I am still unclear about what isn't working for you.

    Gary

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Mar 2009
    Location
    Dhaka
    Posts
    18

    Re: problem In VS 2008 and 2005

    According to my code when i click 1st button then a form is created where 2textbox and a button exist.then when 2nd button click from is close . it is a simple work just using
    modalpopup and animationexteder in ajax tool it b done.but problem is that it properly work in vs 2008 but not in vs2005. also i cant found layout option in vs 2008 where in vs2005 it exist

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width