Author: urpalshu | Posted on: 12/7/2010 4:59:08 PM | Views : 383

hello:
I am using query string when I do a Page redirect.
Please could somebody give me an alternate solution for this.
I do not want to use Query string in this case
protected void Page_Load(object sender, EventArgs e) { // set data source & databind to a asp ListView lvUser.DataSource = pTable; lvUser.DataBind(); } protected void lvOnItemDataBound(Object sender, ListViewItemEventArgs e) { HiddenField hdUserId = e.Item.FindControl("hfUserId") as HiddenField; drpRedirect.Attributes.Add("onChange", "Javascript:GetSelection(this.value," + hdUserId.ClientID + ");"); } JavaScript <script type="text/javascript"> function GetSelection(x,uid,uname,ua, atype,utype) { switch (x) { case "Edit": window.location = "forms/Us ...

Go to the complete details ...