Well...
I removed the response.redirect and then did as below :
//my code
public int CurGroupID
{
get
{
if(IsLoggedIn)
{
EnsureChildControls();
if(ViewState["CurGroupID"] != null)
{
return Convert.ToInt32
(ViewState["CurGroupID"]);
}
else
{
return -1;
}
}
else
{
return -1;
}
}
set
{
EnsureChildControls();
ViewState["CurGroupID"] = value;
}
and now it works... I always have the value of the ID as well and can pass
that through the from.
> so what was te answer for ur query...
post back
==============================
S.Ramanujam
Programmer Analyst
Cognizant Technology Solutions (p) Ltd. - CTS
38 & 39 Whites Road,
WCB - Whites Road Circular Building
Royapettah, Chennai - 600014
Ph : +xx xx xxx xxxx Extn 5113 [Off]
: +xx xx xxx xxxx [Res]