Long querystring in LinkButton

orarlyInany

New Member
I am generating a linkbutton dynamically and setting its postbackurl by iterating over a collection the linkbutton shows the correct url when i hover mouse over it but when i click the linkbutton only three of intended five querystring parameters are passed.I,m using Firefoxhere's my code\[code\] foreach(var item in collection){linkbutton b = new linkbutton();linkbutton.postbackurl="somepage.aspx?" + "param1="+ item.val1 + "&param2=" + item.val2 + "&param3=" + item.val3+ "&param4=" + item.val4+ "&param5=" +item.val5; PlaceHolder1.Controls.Add(b);}\[/code\]however when i click the linkbutton browser opens\[code\]somepage.aspx?param1=val1&param2=val2&param5=val5\[/code\]all values are present in the collection itemplus the browser ignores param3,4 in the link itself:< once again HELP!!!
 
Back
Top