HI I i need maximize and minimize and close chatt panel i am using this coding hear please check it and tell me what i need to change
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="userchat.aspx.cs" Inherits="userchat" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
.bgcss {
background-color: black;
opacity: 0.5;
}
.min {
top: 96% !important;
}
#Table1
{
height: 295px;
}
.style1
{
height: 133px;
}
$(function () {
$("#btnmax").attr("disabled", "disabled");
$("#btnmin").click(function () {
$("#Pnlchat").addClass("min");
$("#btnmin").attr("disabled", "disabled");
$("#btnmax").removeAttr("disabled");
event.preventDefault();
});
$("#btnmax").click(function () {
$("#Pnlchat").removeClass("min");
$("#btnmax").attr("disabled", "disabled");
$("#btnmin").removeAttr("disabled");
event.preventDefault();
})
})
<%--
--%>
<%-- --%>
Height="14px" onclick="btnmin_Click"/>
ImageUrl="~/Images/maxm.png" Height="14px" onclick="btnshow_Click" />
<%----%>
<%-- | --%>![]() e-krish Chatt room : ID="Lblsignout" runat="server" OnClick="Lblsignout_Click" CommandArgument='<%#Eval("Group_Id") %>'>SignOut              <%-- |
TextMode="MultiLine" Height="360px" Width="470px" > <%-- Chat--%> | |
Message: |
<%-- --%>
<%--
--%> <%--
--%>
Width="18%"
style="margin-left: 1051px; margin-right: 0px; margin-top: 131px;" >
Chatt Group AutoGenerateColumns="False" bgcolor="orange" Height="240px" style="margin-left: 0px" Width="181px" onrowdatabound="Grdgroup_RowDataBound" onselectedindexchanged="Grdgroup_SelectedIndexChanged" >
|
<%--
--%>1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Sonu ChaudharyPosted Jun 6, 2016, 1:47 PM