Web Parts Click Event Handling

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrajeshbabu
    New Member
    • Aug 2007
    • 11

    Web Parts Click Event Handling

    hi ,
    This is Rajesh
    I am new to web parts
    i problem with the web parts

    when ever i click on one web part i must get the web part minimized
    how can i handel the click event on that web part
    pls help me

    thanks in advance
  • radcaesar
    Recognized Expert Contributor
    • Sep 2006
    • 759

    #2
    Try after clear the AllowMinimize (Property) Checkbox.

    Comment

    • mrajeshbabu
      New Member
      • Aug 2007
      • 11

      #3
      Originally posted by radcaesar
      Try after clear the AllowMinimize (Property) Checkbox.
      please give me in detail where to handle the event and all that

      thanks

      Comment

      • radcaesar
        Recognized Expert Contributor
        • Sep 2006
        • 759

        #4
        <asp:webpartman ager id="WebPartMana ger1" runat="server" />
        <asp:webpartzon e
        id="WebPartZone 1"
        runat="server"
        title="Zone 1"
        PartChromeType= "TitleAndBorder ">
        <parttitlesty le font-bold="true" ForeColor="#330 0cc" />
        <partstyle
        borderwidth="1p x"
        borderstyle="So lid"
        bordercolor="#8 1AAF2" />
        <zonetemplate >
        <aspSample:Text DisplayWebPart
        runat="server"
        id="textwebpart "
        title = "Text Content WebPart"
        AllowMinimize=" false" />
        </zonetemplate>
        </asp:webpartzone >

        Comment

        • mrajeshbabu
          New Member
          • Aug 2007
          • 11

          #5
          Originally posted by radcaesar
          <asp:webpartman ager id="WebPartMana ger1" runat="server" />
          <asp:webpartzon e
          id="WebPartZone 1"
          runat="server"
          title="Zone 1"
          PartChromeType= "TitleAndBorder ">
          <parttitlesty le font-bold="true" ForeColor="#330 0cc" />
          <partstyle
          borderwidth="1p x"
          borderstyle="So lid"
          bordercolor="#8 1AAF2" />
          <zonetemplate >
          <aspSample:Text DisplayWebPart
          runat="server"
          id="textwebpart "
          title = "Text Content WebPart"
          AllowMinimize=" false" />
          </zonetemplate>
          </asp:webpartzone >
          sorry

          i want the other web part to be minimized when we click on one web part
          i want to handle the click event of the web part such that i can go with my logic in that

          Comment

          • radcaesar
            Recognized Expert Contributor
            • Sep 2006
            • 759

            #6
            Then enable that property to true for all the web parts and implement it using the WebPart IDs.

            Comment

            • mrajeshbabu
              New Member
              • Aug 2007
              • 11

              #7
              Originally posted by radcaesar
              Then enable that property to true for all the web parts and implement it using the WebPart IDs.
              actually i want toknow where can i implement this click event in one web part so that the other will be minimized

              Comment

              Working...